|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.jpa.jpql.tools.spi.java.JavaManagedType
public abstract class JavaManagedType
The abstract definition of IManagedType defined for wrapping the runtime mapped class object.
| Constructor Summary | |
|---|---|
JavaManagedType(IManagedTypeProvider provider,
JavaType type,
IMappingBuilder<java.lang.reflect.Member> mappingBuilder)
Creates a new JavaManagedType. |
|
| Method Summary | |
|---|---|
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)
|
java.lang.Iterable<IMapping> |
mappings()
Returns the collection of mappings defined in this managed type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.persistence.jpa.jpql.tools.spi.IManagedType |
|---|
accept |
| Constructor Detail |
|---|
public JavaManagedType(IManagedTypeProvider provider,
JavaType type,
IMappingBuilder<java.lang.reflect.Member> mappingBuilder)
JavaManagedType.
provider - The provider of JPA managed typestype - The IType wrapping the Java typemappingBuilder - The builder that is responsible to create the IMapping wrapping
a persistent attribute or property| Method Detail |
|---|
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 retrieve
IMapping 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 java.lang.Iterable<IMapping> mappings()
mappings defined in this managed type.
mappings in interface IManagedType
|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||