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 JPAIdentifiableTypedescriptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceIdentifiableTypeDescriptor.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(Set<SingularPersistentAttribute<? super J,?>> attributes)
-
visitIdClassAttributes
void visitIdClassAttributes(Consumer<SingularPersistentAttribute<? super J,?>> attributeConsumer)
-
getInFlightAccess
IdentifiableTypeDescriptor.InFlightAccess<J> getInFlightAccess()
Description copied from interface:ManagedTypeDescriptorIn-flight access to the managed type. Used to add attributes, etc. Valid only during boot.- Specified by:
getInFlightAccessin interfaceManagedTypeDescriptor<J>
-
getIdType
SimpleTypeDescriptor<?> getIdType()
- Specified by:
getIdTypein interfaceIdentifiableType<J>
-
getDeclaredId
<Y> SingularPersistentAttribute<J,Y> getDeclaredId(Class<Y> type)
- Specified by:
getDeclaredIdin interfaceIdentifiableType<J>
-
getId
<Y> SingularPersistentAttribute<? super J,Y> getId(Class<Y> type)
- Specified by:
getIdin interfaceIdentifiableType<J>
-
locateVersionAttribute
SingularPersistentAttribute<? super J,?> locateVersionAttribute()
-
getVersion
<Y> SingularPersistentAttribute<? super J,Y> getVersion(Class<Y> type)
- Specified by:
getVersionin interfaceIdentifiableType<J>
-
getDeclaredVersion
<Y> SingularPersistentAttribute<J,Y> getDeclaredVersion(Class<Y> type)
- Specified by:
getDeclaredVersionin interfaceIdentifiableType<J>
-
getSuperType
IdentifiableTypeDescriptor<? super J> getSuperType()
Description copied from interface:ManagedTypeDescriptorGet this ManagedType's super type descriptor. ATM only supported for theIdentifiableTypeDescriptorbranch of the ManagedType tree- Specified by:
getSuperTypein interfaceManagedTypeDescriptor<J>
-
getSupertype
default IdentifiableTypeDescriptor<? super J> getSupertype()
- Specified by:
getSupertypein interfaceIdentifiableType<J>
-
-