public abstract class JavaManagedType extends java.lang.Object implements IManagedType
IManagedType defined for wrapping the runtime mapped class
object.| Constructor and Description |
|---|
JavaManagedType(IManagedTypeProvider provider,
JavaType type,
IMappingBuilder<java.lang.reflect.Member> mappingBuilder)
Creates a new
JavaManagedType. |
| Modifier and Type | Method and Description |
|---|---|
protected IMapping |
buildMapping(java.lang.reflect.Member member) |
int |
compareTo(IManagedType managedType) |
protected AccessType |
getAccessType() |
IMapping |
getMappingNamed(java.lang.String name)
Returns the
IMapping with the given name. |
IManagedTypeProvider |
getProvider()
Retrieves the owner of this managed type.
|
JavaType |
getType()
Returns the external representation of the class used by this managed type.
|
protected void |
initializeMappings() |
protected void |
initializeMappings(java.lang.Class<?> type,
AccessType accessType) |
protected boolean |
isPersistentAttribute(java.lang.reflect.Field field) |
protected boolean |
isProperty(java.lang.reflect.Method method) |
IterableIterator<IMapping> |
mappings()
Returns the collection of
mappings defined in this managed type. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptpublic JavaManagedType(IManagedTypeProvider provider, JavaType type, IMappingBuilder<java.lang.reflect.Member> mappingBuilder)
JavaManagedType.protected IMapping buildMapping(java.lang.reflect.Member member)
public int compareTo(IManagedType managedType)
compareTo in interface java.lang.Comparable<IManagedType>protected AccessType getAccessType()
public IMapping getMappingNamed(java.lang.String name)
IMapping with the given name.getMappingNamed in interface IManagedTypename - The name of the mapping to retrieveIMapping or null if it could not be foundpublic IManagedTypeProvider getProvider()
getProvider in interface IManagedTypepublic JavaType getType()
getType in interface IManagedTypeprotected void initializeMappings()
protected void initializeMappings(java.lang.Class<?> type,
AccessType accessType)
protected boolean isPersistentAttribute(java.lang.reflect.Field field)
protected boolean isProperty(java.lang.reflect.Method method)
public final IterableIterator<IMapping> mappings()
mappings defined in this managed type.mappings in interface IManagedType