X
- public abstract static class Types.Identifiable<X> extends AbstractManagedType<X> implements 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>
Type.PersistenceType
Modifier and Type | Field and Description |
---|---|
Class<X> |
cls |
meta, model
Constructor and Description |
---|
Types.Identifiable(ClassMetaData meta,
MetamodelImpl model) |
Modifier and Type | Method and Description |
---|---|
Type<?> |
getIdType()
Return the type that represents the type of the id.
|
Class<X> |
getJavaType() |
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, pick
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDeclaredId, getDeclaredVersion, getId, getIdClassAttributes, getVersion
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, getPersistenceType
public final Class<X> cls
public Types.Identifiable(ClassMetaData meta, MetamodelImpl model)
public boolean hasVersionAttribute()
hasVersionAttribute
in interface IdentifiableType<X>
public IdentifiableType<? super X> getSupertype()
getSupertype
in interface IdentifiableType<X>
public boolean hasIdAttribute()
public boolean hasSingleIdAttribute()
hasSingleIdAttribute
in interface IdentifiableType<X>
public Type<?> getIdType()
getIdType
in interface IdentifiableType<X>
public final Class<X> getJavaType()
getJavaType
in interface Type<X>
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.