Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
IManagedType
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: One of the supported mapping type, which is one of the constants defined inIMappingType when the provider only
supports generic JPAReturns the type of this mapping. |
| public String | Returns: The name of this mappingReturns the name of the persistence property represented by this mapping. |
| public IManagedType | |
| public IType | Returns: The external form representing the type of this mappingReturns the type of this mapping. |
| public ITypeDeclaration | Returns: The external form of the class' type declarationReturns the declaration of the Java class, which gives the information about type parameters, dimensionality, etc.
"Collection<Employee>" is the type declaration. |
| public boolean | Returns: true if the annotation is defined on this type; false
otherwiseThe class of the annotation annotationType)Determines whether the given annotation is present on this type. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean |
| getMappingType | back to summary |
|---|---|
| public int getMappingType() Returns the type of this mapping.
| |
| getName | back to summary |
|---|---|
| public String getName() Returns the name of the persistence property represented by this mapping.
| |
| getParent | back to summary |
|---|---|
| public IManagedType getParent() Returns the parent managed type owning this mapping.
| |
| getType | back to summary |
|---|---|
| public IType getType() Returns the type of this mapping. If this mapping is a relationship mapping, the parameter type of the collection is returned.
"Employee" is the type. To retrieve
| |
| getTypeDeclaration | back to summary |
|---|---|
| public ITypeDeclaration getTypeDeclaration() Returns the declaration of the Java class, which gives the information about type parameters, dimensionality, etc.
"Collection<Employee>" is the type declaration.
| |
| hasAnnotation | back to summary |
|---|---|
| public boolean hasAnnotation(Class<? extends Annotation> annotationType) Determines whether the given annotation is present on this type.
| |
| isCollection | back to summary |
|---|---|
| public boolean isCollection() Determines whether this
| |
| isEmbeddable | back to summary |
|---|---|
| public boolean isEmbeddable() Determines whether this
| |
| isProperty | back to summary |
|---|---|
| public boolean isProperty() Determines whether this
| |
| isRelationship | back to summary |
|---|---|
| public boolean isRelationship() Determines whether this
| |
| isTransient | back to summary |
|---|---|
| public boolean isTransient() Determines whether this
| |