Interface IdentifiableDomainType<J>
-
- All Superinterfaces:
BindableType<J>,DomainType<J>,jakarta.persistence.metamodel.IdentifiableType<J>,ManagedDomainType<J>,jakarta.persistence.metamodel.ManagedType<J>,SqmExpressible<J>,jakarta.persistence.metamodel.Type<J>
- All Known Subinterfaces:
EntityDomainType<J>,MappedSuperclassDomainType<J>
- All Known Implementing Classes:
AbstractIdentifiableType,EntityTypeImpl,MappedSuperclassTypeImpl,SqmPolymorphicRootDescriptor
public interface IdentifiableDomainType<J> extends ManagedDomainType<J>, jakarta.persistence.metamodel.IdentifiableType<J>
Extension to the JPAIdentifiableTypecontract
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SingularPersistentAttribute<J,?>findIdAttribute()List<? extends PersistentAttribute<? super J,?>>findNaturalIdAttributes()SingularPersistentAttribute<? super J,?>findVersionAttribute()<Y> SingularPersistentAttribute<J,Y>getDeclaredId(Class<Y> type)<Y> SingularPersistentAttribute<J,Y>getDeclaredVersion(Class<Y> type)<Y> SingularPersistentAttribute<? super J,Y>getId(Class<Y> type)Set<jakarta.persistence.metamodel.SingularAttribute<? super J,?>>getIdClassAttributes()SqmPathSource<?>getIdentifierDescriptor()SimpleDomainType<?>getIdType()IdentifiableDomainType<? super J>getSupertype()<Y> SingularPersistentAttribute<? super J,Y>getVersion(Class<Y> type)booleanhasIdClass()voidvisitIdClassAttributes(Consumer<SingularPersistentAttribute<? super J,?>> action)-
Methods inherited from interface org.hibernate.query.BindableType
getBindableJavaType
-
Methods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getExpressibleJavaType
-
Methods inherited from interface jakarta.persistence.metamodel.IdentifiableType
hasSingleIdAttribute, hasVersionAttribute
-
Methods inherited from interface org.hibernate.metamodel.model.domain.ManagedDomainType
addSubType, findAttribute, findAttributeInSuperTypes, findDeclaredAttribute, findDeclaredPluralAttribute, findDeclaredSingularAttribute, findPluralAttribute, findSingularAttribute, findSubType, findSubType, findSubTypesAttribute, getAttribute, getDeclaredAttribute, getRepresentationMode, getSuperType, getTypeName, makeSubGraph, makeSubGraph, visitAttributes, visitDeclaredAttributes
-
Methods inherited from interface jakarta.persistence.metamodel.ManagedType
getAttributes, getCollection, getCollection, 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 org.hibernate.query.sqm.SqmExpressible
isInstance, resolveExpressible
-
-
-
-
Method Detail
-
getIdentifierDescriptor
SqmPathSource<?> getIdentifierDescriptor()
-
getId
<Y> SingularPersistentAttribute<? super J,Y> getId(Class<Y> type)
- Specified by:
getIdin interfacejakarta.persistence.metamodel.IdentifiableType<J>
-
getDeclaredId
<Y> SingularPersistentAttribute<J,Y> getDeclaredId(Class<Y> type)
- Specified by:
getDeclaredIdin interfacejakarta.persistence.metamodel.IdentifiableType<J>
-
getVersion
<Y> SingularPersistentAttribute<? super J,Y> getVersion(Class<Y> type)
- Specified by:
getVersionin interfacejakarta.persistence.metamodel.IdentifiableType<J>
-
getDeclaredVersion
<Y> SingularPersistentAttribute<J,Y> getDeclaredVersion(Class<Y> type)
- Specified by:
getDeclaredVersionin interfacejakarta.persistence.metamodel.IdentifiableType<J>
-
getIdClassAttributes
Set<jakarta.persistence.metamodel.SingularAttribute<? super J,?>> getIdClassAttributes()
- Specified by:
getIdClassAttributesin interfacejakarta.persistence.metamodel.IdentifiableType<J>
-
getIdType
SimpleDomainType<?> getIdType()
- Specified by:
getIdTypein interfacejakarta.persistence.metamodel.IdentifiableType<J>
-
getSupertype
IdentifiableDomainType<? super J> getSupertype()
- Specified by:
getSupertypein interfacejakarta.persistence.metamodel.IdentifiableType<J>
-
hasIdClass
boolean hasIdClass()
-
findIdAttribute
SingularPersistentAttribute<J,?> findIdAttribute()
-
visitIdClassAttributes
void visitIdClassAttributes(Consumer<SingularPersistentAttribute<? super J,?>> action)
-
findVersionAttribute
SingularPersistentAttribute<? super J,?> findVersionAttribute()
-
findNaturalIdAttributes
List<? extends PersistentAttribute<? super J,?>> findNaturalIdAttributes()
-
-