X - public abstract static class Types.Identifiable<X> extends AbstractManagedType<X> implements javax.persistence.metamodel.IdentifiableType<X>
AbstractManagedType.AttributeNameFilter<X>, AbstractManagedType.AttributeTypeFilter<X,Y>, AbstractManagedType.DeclaredAttributeFilter<X>, AbstractManagedType.ElementTypeFilter<X,E>, AbstractManagedType.EntryTypeFilter<X,K,V>, AbstractManagedType.Filter<T>, AbstractManagedType.IdAttributeFilter<X>, AbstractManagedType.PluralCategoryFilter<X>, AbstractManagedType.SingularAttributeFilter<X>, AbstractManagedType.VersionAttributeFilter<X>| Modifier and Type | Field and Description |
|---|---|
Class<X> |
cls |
meta, model| Constructor and Description |
|---|
Identifiable(ClassMetaData meta,
MetamodelImpl model) |
| Modifier and Type | Method and Description |
|---|---|
javax.persistence.metamodel.Type<?> |
getIdType()
Return the type that represents the type of the id.
|
Class<X> |
getJavaType() |
javax.persistence.metamodel.IdentifiableType<? super X> |
getSupertype()
Return the identifiable type that corresponds to the most
specific mapped superclass or entity extended by the entity
or mapped superclass.
|
boolean |
hasIdAttribute() |
boolean |
hasSingleIdAttribute()
Whether or not the identifiable type uses an attribute to represents its persistent identity.
|
boolean |
hasVersionAttribute()
Whether or not the identifiable type has a version attribute.
|
String |
toString() |
filter, getAttribute, getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredId, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getDeclaredVersion, getId, getIdClassAttributes, getList, getList, getMap, getMap, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes, getVersion, pickclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDeclaredId, getDeclaredVersion, getId, getIdClassAttributes, getVersiongetAttribute, 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, getSingularAttributespublic final Class<X> cls
public Identifiable(ClassMetaData meta, MetamodelImpl model)
public boolean hasVersionAttribute()
hasVersionAttribute in interface javax.persistence.metamodel.IdentifiableType<X>public javax.persistence.metamodel.IdentifiableType<? super X> getSupertype()
getSupertype in interface javax.persistence.metamodel.IdentifiableType<X>public boolean hasIdAttribute()
public boolean hasSingleIdAttribute()
hasSingleIdAttribute in interface javax.persistence.metamodel.IdentifiableType<X>public javax.persistence.metamodel.Type<?> getIdType()
getIdType in interface javax.persistence.metamodel.IdentifiableType<X>public final Class<X> getJavaType()
getJavaType in interface javax.persistence.metamodel.Type<X>Copyright © 2006–2022 Apache Software Foundation. All rights reserved.