X
- The represented entity type.public class EntityTypeImpl<X> extends IdentifiableTypeImpl<X> implements javax.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 FormModifier and Type | Method and Description |
---|---|
java.lang.Class<X> |
getBindableJavaType()
Return the Java type of the represented object.
|
javax.persistence.metamodel.Bindable.BindableType |
getBindableType()
Return the bindable type of the represented object.
|
java.lang.String |
getName()
Return the entity name
|
javax.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
getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getDescriptor, getList, getList, getMap, getMap, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes
getJavaType, getJavaType, getJavaTypeName, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDeclaredId, getDeclaredVersion, getId, getIdClassAttributes, getIdType, getSupertype, getVersion, hasSingleIdAttribute, hasVersionAttribute
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, getSingularAttributes
public javax.persistence.metamodel.Bindable.BindableType getBindableType()
getBindableType
in interface javax.persistence.metamodel.Bindable<X>
public java.lang.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 javax.persistence.metamodel.Bindable<X>
public java.lang.String getName()
getName
in interface javax.persistence.metamodel.EntityType<X>
public javax.persistence.metamodel.Type.PersistenceType getPersistenceType()
getPersistenceType
in interface javax.persistence.metamodel.Type<X>
public boolean isEntity()
public boolean isMappedSuperclass()
isMappedSuperclass
in class TypeImpl<X>
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference