public class IdentifiableTypeImpl<X> extends ManagedTypeImpl<X> implements javax.persistence.metamodel.IdentifiableType<X>
attributes, cmd, model
Modifier | Constructor and Description |
---|---|
protected |
IdentifiableTypeImpl(Class<X> cls,
org.datanucleus.metadata.AbstractClassMetaData cmd,
MetamodelImpl model) |
Modifier and Type | Method and Description |
---|---|
<Y> javax.persistence.metamodel.SingularAttribute<X,Y> |
getDeclaredId(Class<Y> cls) |
<Y> javax.persistence.metamodel.SingularAttribute<X,Y> |
getDeclaredVersion(Class<Y> cls) |
<Y> javax.persistence.metamodel.SingularAttribute<? super X,Y> |
getId(Class<Y> cls) |
Set<javax.persistence.metamodel.SingularAttribute<? super X,?>> |
getIdClassAttributes() |
javax.persistence.metamodel.Type<?> |
getIdType() |
javax.persistence.metamodel.IdentifiableType<? super X> |
getSupertype() |
<Y> javax.persistence.metamodel.SingularAttribute<? super X,Y> |
getVersion(Class<Y> cls) |
boolean |
hasSingleIdAttribute() |
boolean |
hasVersionAttribute() |
getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getList, getList, getMap, getMap, getMetadata, getModel, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes
getJavaType, getPersistenceType, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
protected IdentifiableTypeImpl(Class<X> cls, org.datanucleus.metadata.AbstractClassMetaData cmd, MetamodelImpl model)
public <Y> javax.persistence.metamodel.SingularAttribute<X,Y> getDeclaredId(Class<Y> cls)
getDeclaredId
in interface javax.persistence.metamodel.IdentifiableType<X>
public <Y> javax.persistence.metamodel.SingularAttribute<X,Y> getDeclaredVersion(Class<Y> cls)
getDeclaredVersion
in interface javax.persistence.metamodel.IdentifiableType<X>
public <Y> javax.persistence.metamodel.SingularAttribute<? super X,Y> getId(Class<Y> cls)
getId
in interface javax.persistence.metamodel.IdentifiableType<X>
public Set<javax.persistence.metamodel.SingularAttribute<? super X,?>> getIdClassAttributes()
getIdClassAttributes
in interface javax.persistence.metamodel.IdentifiableType<X>
public javax.persistence.metamodel.Type<?> getIdType()
getIdType
in interface javax.persistence.metamodel.IdentifiableType<X>
public javax.persistence.metamodel.IdentifiableType<? super X> getSupertype()
getSupertype
in interface javax.persistence.metamodel.IdentifiableType<X>
public <Y> javax.persistence.metamodel.SingularAttribute<? super X,Y> getVersion(Class<Y> cls)
getVersion
in interface javax.persistence.metamodel.IdentifiableType<X>
public boolean hasSingleIdAttribute()
hasSingleIdAttribute
in interface javax.persistence.metamodel.IdentifiableType<X>
public boolean hasVersionAttribute()
hasVersionAttribute
in interface javax.persistence.metamodel.IdentifiableType<X>
Copyright © 2015. All rights reserved.