Interface IdentifiableDomainType<J>
- All Superinterfaces:
DomainType<J>, IdentifiableType<J>, ManagedDomainType<J>, ManagedType<J>, Type<J>
- All Known Subinterfaces:
EntityDomainType<J>, MappedSuperclassDomainType<J>, SqmEntityDomainType<E>, SqmMappedSuperclassDomainType<T>
- All Known Implementing Classes:
SqmPolymorphicRootDescriptor
Extension to the JPA
IdentifiableType contract.-
Nested Class Summary
Nested classes/interfaces inherited from interface Type
Type.PersistenceType -
Method Summary
Modifier and TypeMethodDescription@Nullable SingularPersistentAttribute<? super J, ?> @Nullable List<? extends PersistentAttribute<? super J, ?>> @Nullable SingularPersistentAttribute<? super J, ?> <Y> SingularPersistentAttribute<J, Y> getDeclaredId(Class<Y> type) <Y> SingularPersistentAttribute<J, Y> getDeclaredVersion(Class<Y> type) <Y> SingularPersistentAttribute<? super J, Y> Set<SingularAttribute<? super J, ?>> @Nullable PathSource<?> @Nullable IdentifiableDomainType<? super J> <Y> SingularPersistentAttribute<? super J, Y> getVersion(Class<Y> type) booleanvoidvisitIdClassAttributes(Consumer<SingularPersistentAttribute<? super J, ?>> action) Methods inherited from interface DomainType
getExpressibleJavaTypeMethods inherited from interface IdentifiableType
hasSingleIdAttribute, hasVersionAttributeMethods inherited from interface ManagedDomainType
addSubType, findAttribute, findAttributeInSuperTypes, findConcreteGenericAttribute, findDeclaredAttribute, findDeclaredConcreteGenericAttribute, findDeclaredPluralAttribute, findDeclaredSingularAttribute, findPluralAttribute, findSingularAttribute, findSubTypesAttribute, getAttribute, getDeclaredAttribute, getJavaType, getMetamodel, getRepresentationMode, getSubTypes, getSuperType, getTypeName, visitAttributes, visitDeclaredAttributesMethods inherited from interface 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, getSingularAttributesMethods inherited from interface Type
getJavaType, getPersistenceType
-
Method Details
-
getIdentifierDescriptor
@Nullable PathSource<?> getIdentifierDescriptor() -
getId
- Specified by:
getIdin interfaceIdentifiableType<J>
-
getDeclaredId
- Specified by:
getDeclaredIdin interfaceIdentifiableType<J>
-
getVersion
- Specified by:
getVersionin interfaceIdentifiableType<J>
-
getDeclaredVersion
- Specified by:
getDeclaredVersionin interfaceIdentifiableType<J>
-
getIdClassAttributes
Set<SingularAttribute<? super J, ?>> getIdClassAttributes()- Specified by:
getIdClassAttributesin interfaceIdentifiableType<J>
-
getIdType
SimpleDomainType<?> getIdType()- Specified by:
getIdTypein interfaceIdentifiableType<J>
-
getSupertype
@Nullable IdentifiableDomainType<? super J> getSupertype()- Specified by:
getSupertypein interfaceIdentifiableType<J>
-
hasIdClass
boolean hasIdClass() -
findIdAttribute
@Nullable SingularPersistentAttribute<? super J, ?> findIdAttribute() -
visitIdClassAttributes
-
findVersionAttribute
@Nullable SingularPersistentAttribute<? super J, ?> findVersionAttribute() -
findNaturalIdAttributes
@Nullable List<? extends PersistentAttribute<? super J, ?>> findNaturalIdAttributes()
-