Interface IdentifiableDomainType<J>
-
- All Superinterfaces:
BindableType<J>
,DomainType<J>
,IdentifiableType<J>
,ManagedDomainType<J>
,ManagedType<J>
,SqmExpressible<J>
,Type<J>
- All Known Subinterfaces:
EntityDomainType<J>
,MappedSuperclassDomainType<J>
- All Known Implementing Classes:
AbstractIdentifiableType
,EntityTypeImpl
,MappedSuperclassTypeImpl
,SqmPolymorphicRootDescriptor
public interface IdentifiableDomainType<J> extends ManagedDomainType<J>, IdentifiableType<J>
Extension to the JPAIdentifiableType
contract.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SingularPersistentAttribute<? super 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<SingularAttribute<? super J,?>>
getIdClassAttributes()
SqmPathSource<?>
getIdentifierDescriptor()
SimpleDomainType<?>
getIdType()
IdentifiableDomainType<? super J>
getSupertype()
<Y> SingularPersistentAttribute<? super J,Y>
getVersion(Class<Y> type)
boolean
hasIdClass()
void
visitIdClassAttributes(Consumer<SingularPersistentAttribute<? super J,?>> action)
-
Methods inherited from interface org.hibernate.query.BindableType
getBindableJavaType
-
Methods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getSqmType, getTupleLength
-
Methods inherited from interface jakarta.persistence.metamodel.IdentifiableType
hasSingleIdAttribute, hasVersionAttribute
-
Methods inherited from interface org.hibernate.metamodel.model.domain.ManagedDomainType
addSubType, findAttribute, findAttributeInSuperTypes, findConcreteGenericAttribute, findDeclaredAttribute, findDeclaredConcreteGenericAttribute, findDeclaredPluralAttribute, findDeclaredSingularAttribute, findPluralAttribute, findSingularAttribute, findSubTypesAttribute, getAttribute, getDeclaredAttribute, getRepresentationMode, getSubTypes, getSuperType, getTypeName, 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
getExpressibleJavaType, getRelationalJavaType, isInstance, resolveExpressible
-
Methods inherited from interface jakarta.persistence.metamodel.Type
getJavaType, getPersistenceType
-
-
-
-
Method Detail
-
getIdentifierDescriptor
SqmPathSource<?> getIdentifierDescriptor()
-
getId
<Y> SingularPersistentAttribute<? super J,Y> getId(Class<Y> type)
- Specified by:
getId
in interfaceIdentifiableType<J>
-
getDeclaredId
<Y> SingularPersistentAttribute<J,Y> getDeclaredId(Class<Y> type)
- Specified by:
getDeclaredId
in interfaceIdentifiableType<J>
-
getVersion
<Y> SingularPersistentAttribute<? super J,Y> getVersion(Class<Y> type)
- Specified by:
getVersion
in interfaceIdentifiableType<J>
-
getDeclaredVersion
<Y> SingularPersistentAttribute<J,Y> getDeclaredVersion(Class<Y> type)
- Specified by:
getDeclaredVersion
in interfaceIdentifiableType<J>
-
getIdClassAttributes
Set<SingularAttribute<? super J,?>> getIdClassAttributes()
- Specified by:
getIdClassAttributes
in interfaceIdentifiableType<J>
-
getIdType
SimpleDomainType<?> getIdType()
- Specified by:
getIdType
in interfaceIdentifiableType<J>
-
getSupertype
IdentifiableDomainType<? super J> getSupertype()
- Specified by:
getSupertype
in interfaceIdentifiableType<J>
-
hasIdClass
boolean hasIdClass()
-
findIdAttribute
SingularPersistentAttribute<? super J,?> findIdAttribute()
-
visitIdClassAttributes
void visitIdClassAttributes(Consumer<SingularPersistentAttribute<? super J,?>> action)
-
findVersionAttribute
SingularPersistentAttribute<? super J,?> findVersionAttribute()
-
findNaturalIdAttributes
List<? extends PersistentAttribute<? super J,?>> findNaturalIdAttributes()
-
-