public class EntityTypeImpl<X> extends AbstractIdentifiableType<X> implements javax.persistence.metamodel.EntityType<X>, java.io.Serializable
EntityType
contract.AbstractIdentifiableType.Builder<X>
Constructor and Description |
---|
EntityTypeImpl(java.lang.Class<X> javaType,
AbstractIdentifiableType<? super X> superType,
java.lang.String jpaEntityName,
boolean hasIdentifierProperty,
boolean isVersioned) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<X> |
getBindableJavaType() |
javax.persistence.metamodel.Bindable.BindableType |
getBindableType() |
java.lang.String |
getName() |
javax.persistence.metamodel.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
public EntityTypeImpl(java.lang.Class<X> javaType, AbstractIdentifiableType<? super X> superType, java.lang.String jpaEntityName, boolean hasIdentifierProperty, boolean isVersioned)
public java.lang.String getName()
getName
in interface javax.persistence.metamodel.EntityType<X>
public javax.persistence.metamodel.Bindable.BindableType getBindableType()
getBindableType
in interface javax.persistence.metamodel.Bindable<X>
public java.lang.Class<X> getBindableJavaType()
getBindableJavaType
in interface javax.persistence.metamodel.Bindable<X>
public javax.persistence.metamodel.Type.PersistenceType getPersistenceType()
getPersistenceType
in interface javax.persistence.metamodel.Type<X>
protected boolean requiresSupertypeForNonDeclaredIdentifier()
AbstractIdentifiableType
requiresSupertypeForNonDeclaredIdentifier
in class AbstractIdentifiableType<X>
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.