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 |
---|---|
int |
compareTo(IManagedType managedType) |
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.
|
IterableIterator<IMapping> |
mappings()
Returns the collection of
mappings defined in this managed type. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept
public JavaManagedType(IManagedTypeProvider provider, JavaType type, IMappingBuilder<java.lang.reflect.Member> mappingBuilder)
JavaManagedType
.public int compareTo(IManagedType managedType)
compareTo
in interface java.lang.Comparable<IManagedType>
public IMapping getMappingNamed(java.lang.String name)
IMapping
with the given name.getMappingNamed
in interface IManagedType
name
- The name of the mapping to retrieveIMapping
or null
if it could not be foundpublic IManagedTypeProvider getProvider()
getProvider
in interface IManagedType
public JavaType getType()
getType
in interface IManagedType
public final IterableIterator<IMapping> mappings()
mappings
defined in this managed type.mappings
in interface IManagedType
EclipseLink 2.4.2, "build v20130514-5956486" API Reference