X
- The actual entity type described by this metatype.public abstract class ErraiEntityType<X> extends ErraiIdentifiableType<X> implements javax.persistence.metamodel.EntityType<X>
name
and bindableType
properties.javaType
Constructor and Description |
---|
ErraiEntityType(String name,
Class<X> javaType) |
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getName()
Return the entity name.
|
String |
toString() |
addAttribute, deliverPostLoad, deliverPostPersist, deliverPostRemove, deliverPostUpdate, deliverPrePersist, deliverPreRemove, deliverPreUpdate, fromJson, getDeclaredId, getDeclaredVersion, getId, getIdClassAttributes, getIdType, getPersistenceType, getSupertype, getVersion, hasSingleIdAttribute, hasVersionAttribute
getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getJavaType, getList, getList, getMap, getMap, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes, getSubtypes, isSuperclassOf, mergeState, newInstance, parseInlineJson, parsePluralJsonReference, parseSingularJsonReference, toJson
clone, equals, finalize, 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 Class<X> getBindableJavaType()
javax.persistence.metamodel.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 javax.persistence.metamodel.Bindable<X>
public String getName()
javax.persistence.metamodel.EntityType
getName
in interface javax.persistence.metamodel.EntityType<X>
public javax.persistence.metamodel.Bindable.BindableType getBindableType()
javax.persistence.metamodel.Bindable
getBindableType
in interface javax.persistence.metamodel.Bindable<X>
public String toString()
toString
in class ErraiIdentifiableType<X>
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.