Class Types.Entity<X>
java.lang.Object
org.apache.openjpa.persistence.meta.AbstractManagedType<X>
org.apache.openjpa.persistence.meta.Types.Identifiable<X>
org.apache.openjpa.persistence.meta.Types.Entity<X>
- Type Parameters:
X- the represented Java type.
- All Implemented Interfaces:
Bindable<X>, EntityType<X>, IdentifiableType<X>, ManagedType<X>, Type<X>
- Enclosing class:
Types
An entity type that is independently identifiable.
- Since:
- 2.0.0
- Author:
- Pinaki Poddar
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractManagedType
AbstractManagedType.AttributeNameFilter<X>, AbstractManagedType.AttributeTypeFilter<X,Y>, AbstractManagedType.DeclaredAttributeFilter<X>, AbstractManagedType.ElementTypeFilter<X, E>, AbstractManagedType.EntryTypeFilter<X, K, V>, AbstractManagedType.Filter<T>, AbstractManagedType.IdAttributeFilter<X>, AbstractManagedType.PluralCategoryFilter<X>, AbstractManagedType.SingularAttributeFilter<X>, AbstractManagedType.VersionAttributeFilter<X> Nested classes/interfaces inherited from interface Bindable
Bindable.BindableTypeNested classes/interfaces inherited from interface Type
Type.PersistenceType -
Field Summary
FieldsFields inherited from class AbstractManagedType
meta, model -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Types.Identifiable
getIdType, getSupertype, hasIdAttribute, hasSingleIdAttribute, hasVersionAttributeMethods inherited from class AbstractManagedType
filter, getAttribute, getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredId, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getDeclaredVersion, getId, getIdClassAttributes, getList, getList, getMap, getMap, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes, getVersion, pickMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IdentifiableType
getDeclaredId, getDeclaredVersion, getId, getIdClassAttributes, getIdType, getSupertype, getVersion, hasSingleIdAttribute, hasVersionAttributeMethods inherited from interface ManagedType
getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getList, getList, getMap, getMap, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributesMethods inherited from interface Type
getJavaType
-
Field Details
-
cls
-
-
Constructor Details
-
Entity
-
-
Method Details
-
getPersistenceType
- Specified by:
getPersistenceTypein interfaceType<X>
-
getName
- Specified by:
getNamein interfaceEntityType<X>
-
getBindableType
Return the bindable type of the represented object.- Specified by:
getBindableTypein interfaceBindable<X>- Returns:
- bindable type
-
getBindableJavaType
Return the Java type of the represented object. If the bindable type of the object is PLURAL_ATTRIBUTE, the Java element type is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_TYPE, the Java type of the represented entity or attribute is returned.- Specified by:
getBindableJavaTypein interfaceBindable<X>- Returns:
- Java type
-
getJavaType
- Specified by:
getJavaTypein interfaceType<X>
-
toString
-