Interface IdentifiableTypeDescriptor<J>
-
- All Superinterfaces:
DomainType<J>
,DomainTypeDescriptor<J>
,IdentifiableDomainType<J>
,IdentifiableType<J>
,ManagedDomainType<J>
,ManagedType<J>
,ManagedTypeDescriptor<J>
,SimpleDomainType<J>
,SimpleTypeDescriptor<J>
,Type<J>
- All Known Subinterfaces:
EntityTypeDescriptor<J>
,MappedSuperclassTypeDescriptor<J>
public interface IdentifiableTypeDescriptor<J> extends IdentifiableDomainType<J>, ManagedTypeDescriptor<J>
Hibernate extension to the JPAIdentifiableType
descriptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IdentifiableTypeDescriptor.InFlightAccess<X>
-
Nested classes/interfaces inherited from interface javax.persistence.metamodel.Type
Type.PersistenceType
-
-
Method Summary
-
Methods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getTypeName
-
Methods inherited from interface javax.persistence.metamodel.IdentifiableType
getIdClassAttributes, hasSingleIdAttribute, hasVersionAttribute
-
Methods inherited from interface javax.persistence.metamodel.ManagedType
getAttributes, getDeclaredAttributes, getDeclaredPluralAttributes, getDeclaredSingularAttributes, getPluralAttributes, getSingularAttributes
-
Methods inherited from interface org.hibernate.metamodel.model.domain.spi.ManagedTypeDescriptor
findAttribute, findDeclaredAttribute, findSubType, findSubType, getAttribute, getCollection, getCollection, getDeclaredAttribute, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDefaultGraph, getList, getList, getMap, getMap, getName, getPluralAttribute, getSet, getSet, getSingularAttribute, getSingularAttribute, makeSubGraph, makeSubGraph
-
Methods inherited from interface javax.persistence.metamodel.Type
getJavaType, getPersistenceType
-
-
-
-
Method Detail
-
hasIdClass
boolean hasIdClass()
-
locateIdAttribute
SingularPersistentAttribute<? super J,?> locateIdAttribute()
-
collectIdClassAttributes
void collectIdClassAttributes(java.util.Set<SingularPersistentAttribute<? super J,?>> attributes)
-
visitIdClassAttributes
void visitIdClassAttributes(java.util.function.Consumer<SingularPersistentAttribute<? super J,?>> attributeConsumer)
-
getInFlightAccess
IdentifiableTypeDescriptor.InFlightAccess<J> getInFlightAccess()
Description copied from interface:ManagedTypeDescriptor
In-flight access to the managed type. Used to add attributes, etc. Valid only during boot.- Specified by:
getInFlightAccess
in interfaceManagedTypeDescriptor<J>
-
getIdType
SimpleTypeDescriptor<?> getIdType()
- Specified by:
getIdType
in interfaceIdentifiableType<J>
-
getDeclaredId
<Y> SingularPersistentAttribute<J,Y> getDeclaredId(java.lang.Class<Y> type)
- Specified by:
getDeclaredId
in interfaceIdentifiableType<J>
-
getId
<Y> SingularPersistentAttribute<? super J,Y> getId(java.lang.Class<Y> type)
- Specified by:
getId
in interfaceIdentifiableType<J>
-
locateVersionAttribute
SingularPersistentAttribute<? super J,?> locateVersionAttribute()
-
getVersion
<Y> SingularPersistentAttribute<? super J,Y> getVersion(java.lang.Class<Y> type)
- Specified by:
getVersion
in interfaceIdentifiableType<J>
-
getDeclaredVersion
<Y> SingularPersistentAttribute<J,Y> getDeclaredVersion(java.lang.Class<Y> type)
- Specified by:
getDeclaredVersion
in interfaceIdentifiableType<J>
-
getSuperType
IdentifiableTypeDescriptor<? super J> getSuperType()
Description copied from interface:ManagedTypeDescriptor
Get this ManagedType's super type descriptor. ATM only supported for theIdentifiableTypeDescriptor
branch of the ManagedType tree- Specified by:
getSuperType
in interfaceManagedTypeDescriptor<J>
-
getSupertype
default IdentifiableTypeDescriptor<? super J> getSupertype()
- Specified by:
getSupertype
in interfaceIdentifiableType<J>
-
-