public class EntityTypeImpl<X> extends AbstractIdentifiableType<X> implements EntityType<X>, Serializable
EntityType contract.AbstractIdentifiableType.Builder<X>Type.PersistenceTypeBindable.BindableType| Constructor and Description |
|---|
EntityTypeImpl(Class javaType,
AbstractIdentifiableType<? super X> superType,
PersistentClass persistentClass) |
| Modifier and Type | Method and Description |
|---|---|
Class<X> |
getBindableJavaType()
Return the Java type of the represented object.
|
Bindable.BindableType |
getBindableType()
Return the bindable type of the represented object.
|
String |
getName()
Return the entity name.
|
Type.PersistenceType |
getPersistenceType()
Return the persistence type.
|
getBuilder, getDeclaredId, getDeclaredVersion, getDeclaredVersion, getId, getIdClassAttributes, getIdClassAttributesSafely, getIdType, getSupertype, getVersion, hasDeclaredVersionAttribute, hasIdClass, hasSingleIdAttribute, hasVersionAttribute, internalGetId, internalGetVersiongetAttribute, 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, isPrimitiveVariant, lockgetJavaType, getTypeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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, getSingularAttributesgetJavaTypepublic EntityTypeImpl(Class javaType, AbstractIdentifiableType<? super X> superType, PersistentClass persistentClass)
public String getName()
EntityTypegetName in interface EntityType<X>public Bindable.BindableType getBindableType()
BindablegetBindableType in interface Bindable<X>public Class<X> getBindableJavaType()
BindablePLURAL_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 Bindable<X>public Type.PersistenceType getPersistenceType()
TypegetPersistenceType in interface Type<X>Copyright © 2018 JBoss by Red Hat. All rights reserved.