X - The represented entity type.public class EntityTypeImpl<X> extends IdentifiableTypeImpl<X> implements jakarta.persistence.metamodel.EntityType<X>
Purpose: Provides the implementation for the EntityType interface
of the JPA 2.0 Metamodel API (part of the JSR-317 EJB 3.1 Criteria API)
EntityTypeImpl implements the IdentifiableType interface via EntityType
Description: Instances of the type EntityType represent entity types.
EntityType,
Serialized Formdescriptor, metamodel| Modifier | Constructor and Description |
|---|---|
protected |
EntityTypeImpl(MetamodelImpl metamodel,
ClassDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
Class<X> |
getBindableJavaType()
Return the Java type of the represented object.
|
jakarta.persistence.metamodel.Bindable.BindableType |
getBindableType()
Return the bindable type of the represented object.
|
String |
getName()
Return the entity name
|
jakarta.persistence.metamodel.Type.PersistenceType |
getPersistenceType()
Return the persistence type.
|
boolean |
isEntity()
INTERNAL:
Return whether this type is an Entity (true) or MappedSuperclass (false) or Embeddable (false)
|
boolean |
isMappedSuperclass()
INTERNAL:
Return whether this type is an MappedSuperclass (true) or Entity (false) or Embeddable (false)
|
getDeclaredId, getDeclaredVersion, getId, getIdClassAttributes, getIdType, getSupertype, getVersion, hasSingleIdAttribute, hasVersionAttribute, initializeIdAttributes, isIdentifiableType, setSupertypecreate, getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getDescriptor, getList, getList, getMap, getMap, getMembers, getMetamodel, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes, getTypeClassFromAttributeOrMethodLevelAccessor, initialize, isManagedType, toStringHelpergetJavaType, getJavaType, getJavaTypeName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDeclaredId, getDeclaredVersion, getId, getIdClassAttributes, getIdType, getSupertype, getVersion, hasSingleIdAttribute, hasVersionAttributegetAttribute, 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, getSingularAttributesprotected EntityTypeImpl(MetamodelImpl metamodel, ClassDescriptor descriptor)
public jakarta.persistence.metamodel.Bindable.BindableType getBindableType()
getBindableType in interface jakarta.persistence.metamodel.Bindable<X>public Class<X> getBindableJavaType()
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.getBindableJavaType in interface jakarta.persistence.metamodel.Bindable<X>public String getName()
getName in interface jakarta.persistence.metamodel.EntityType<X>public jakarta.persistence.metamodel.Type.PersistenceType getPersistenceType()
getPersistenceType in interface jakarta.persistence.metamodel.Type<X>public boolean isEntity()
public boolean isMappedSuperclass()
isMappedSuperclass in class TypeImpl<X>Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.