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:
jakarta.persistence.metamodel.Bindable<X>,jakarta.persistence.metamodel.EntityType<X>,jakarta.persistence.metamodel.IdentifiableType<X>,jakarta.persistence.metamodel.ManagedType<X>,jakarta.persistence.metamodel.Type<X>
- Enclosing class:
- Types
public static class Types.Entity<X>
extends Types.Identifiable<X>
implements jakarta.persistence.metamodel.EntityType<X>
An entity type that is independently identifiable.
- Author:
- Pinaki Poddar
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.openjpa.persistence.meta.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 jakarta.persistence.metamodel.Bindable
jakarta.persistence.metamodel.Bindable.BindableTypeNested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
jakarta.persistence.metamodel.Type.PersistenceType -
Field Summary
FieldsFields inherited from class org.apache.openjpa.persistence.meta.AbstractManagedType
meta, model -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.openjpa.persistence.meta.Types.Identifiable
getIdType, getSupertype, hasIdAttribute, hasSingleIdAttribute, hasVersionAttributeMethods inherited from class org.apache.openjpa.persistence.meta.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.persistence.metamodel.IdentifiableType
getDeclaredId, getDeclaredVersion, getId, getIdClassAttributes, getIdType, getSupertype, getVersion, hasSingleIdAttribute, hasVersionAttributeMethods inherited from interface jakarta.persistence.metamodel.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 jakarta.persistence.metamodel.Type
getJavaType
-
Field Details
-
cls
-
-
Constructor Details
-
Entity
-
-
Method Details
-
getPersistenceType
public jakarta.persistence.metamodel.Type.PersistenceType getPersistenceType()- Specified by:
getPersistenceTypein interfacejakarta.persistence.metamodel.Type<X>
-
getName
- Specified by:
getNamein interfacejakarta.persistence.metamodel.EntityType<X>
-
getBindableType
public jakarta.persistence.metamodel.Bindable.BindableType getBindableType()Return the bindable type of the represented object.- Specified by:
getBindableTypein interfacejakarta.persistence.metamodel.Bindable<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 interfacejakarta.persistence.metamodel.Bindable<X>- Returns:
- Java type
-
getJavaType
- Specified by:
getJavaTypein interfacejakarta.persistence.metamodel.Type<X>
-
toString
-