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<X> javaType,
AbstractIdentifiableType<? super X> superType,
String jpaEntityName,
boolean hasIdentifierProperty,
boolean isVersioned) |
Modifier and Type | Method and Description |
---|---|
Class<X> |
getBindableJavaType() |
Bindable.BindableType |
getBindableType() |
String |
getName() |
Type.PersistenceType |
getPersistenceType() |
protected boolean |
requiresSupertypeForNonDeclaredIdentifier()
Indicates if a non-null super type is required to provide the
identifier attribute(s) if this object does not have a declared
identifier.
|
checkDeclaredId, checkDeclaredVersion, checkSimpleId, getBuilder, getDeclaredId, getDeclaredVersion, getDeclaredVersion, getId, getIdClassAttributes, getIdType, getSupertype, getVersion, hasDeclaredVersionAttribute, hasSingleIdAttribute, hasVersionAttribute, requireSupertype
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
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<X> javaType, AbstractIdentifiableType<? super X> superType, String jpaEntityName, boolean hasIdentifierProperty, boolean isVersioned)
public String getName()
getName
in interface EntityType<X>
public Bindable.BindableType getBindableType()
getBindableType
in interface Bindable<X>
public Class<X> getBindableJavaType()
getBindableJavaType
in interface Bindable<X>
public Type.PersistenceType getPersistenceType()
getPersistenceType
in interface Type<X>
protected boolean requiresSupertypeForNonDeclaredIdentifier()
AbstractIdentifiableType
requiresSupertypeForNonDeclaredIdentifier
in class AbstractIdentifiableType<X>
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.