public class EntityTypeImpl<X> extends AbstractIdentifiableType<X> implements EntityType<X>, Serializable
EntityType
contract.AbstractIdentifiableType.Builder<X>
Type.PersistenceType
Bindable.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, internalGetVersion
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, isPrimitiveVariant, lock
getJavaType, getTypeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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
getJavaType
public EntityTypeImpl(Class javaType, AbstractIdentifiableType<? super X> superType, PersistentClass persistentClass)
public String getName()
EntityType
getName
in interface EntityType<X>
public Bindable.BindableType getBindableType()
Bindable
getBindableType
in interface Bindable<X>
public Class<X> getBindableJavaType()
Bindable
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 Bindable<X>
public Type.PersistenceType getPersistenceType()
Type
getPersistenceType
in interface Type<X>
Copyright © 2017 JBoss by Red Hat. All rights reserved.