|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.persistence.meta.AbstractManagedType<X>
org.apache.openjpa.persistence.meta.Types.Identifiable<X>
X
- public abstract static class Types.Identifiable<X>
Represents an abstract persistent type that has a persistent identity.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.openjpa.persistence.meta.AbstractManagedType |
---|
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> |
Nested classes/interfaces inherited from interface javax.persistence.metamodel.Type |
---|
javax.persistence.metamodel.Type.PersistenceType |
Field Summary | |
---|---|
java.lang.Class<X> |
cls
|
Fields inherited from class org.apache.openjpa.persistence.meta.AbstractManagedType |
---|
meta, model |
Constructor Summary | |
---|---|
Types.Identifiable(ClassMetaData meta,
MetamodelImpl model)
|
Method Summary | |
---|---|
javax.persistence.metamodel.Type<?> |
getIdType()
Return the type that represents the type of the id. |
java.lang.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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.persistence.metamodel.IdentifiableType |
---|
getDeclaredId, getDeclaredVersion, getId, getIdClassAttributes, getVersion |
Methods inherited from interface javax.persistence.metamodel.ManagedType |
---|
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 |
Methods inherited from interface javax.persistence.metamodel.Type |
---|
getJavaType, getPersistenceType |
Field Detail |
---|
public final java.lang.Class<X> cls
Constructor Detail |
---|
public Types.Identifiable(ClassMetaData meta, MetamodelImpl model)
Method Detail |
---|
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 java.lang.Class<X> getJavaType()
getJavaType
in interface javax.persistence.metamodel.Type<X>
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |