Interface ManagedDomainType<J>
- All Superinterfaces:
BindableType<J>,DomainType<J>,ManagedType<J>,SqmExpressible<J>,Type<J>
- All Known Subinterfaces:
EmbeddableDomainType<J>,EmbeddedDomainType<J>,EntityDomainType<J>,IdentifiableDomainType<J>,MappedSuperclassDomainType<J>,TreatableDomainType<J>
- All Known Implementing Classes:
AbstractIdentifiableType,AbstractManagedType,EmbeddableTypeImpl,EntityTypeImpl,MappedSuperclassTypeImpl,SqmPolymorphicRootDescriptor
Extensions to the JPA-defined
ManagedType contract.- Author:
- Steve Ebersole
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceType -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubType(ManagedDomainType<? extends J> subType) PersistentAttribute<? super J,?> findAttribute(String name) PersistentAttribute<? super J,?> PersistentAttribute<? super J,?> findDeclaredAttribute(String name) PluralPersistentAttribute<? super J,?, ?> findPluralAttribute(String name) SingularPersistentAttribute<? super J,?> findSingularAttribute(String name) PersistentAttribute<?,?> findSubTypesAttribute(String name) PersistentAttribute<? super J,?> getAttribute(String name) Return the attribute of the managed type that corresponds to the specified name.getDeclaredAttribute(String name) Return the attribute declared by the managed type that corresponds to the specified name.Collection<? extends ManagedDomainType<? extends J>>ManagedDomainType<? super J>The descriptor of the supertype of this type.Get the type name.voidvisitAttributes(Consumer<? super PersistentAttribute<? super J, ?>> action) voidvisitDeclaredAttributes(Consumer<? super PersistentAttribute<J, ?>> action) Methods inherited from interface org.hibernate.query.BindableType
getBindableJavaTypeMethods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getSqmType, getTupleLengthMethods 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, getSingularAttributesMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getExpressibleJavaType, getRelationalJavaType, isInstance, resolveExpressibleMethods inherited from interface jakarta.persistence.metamodel.Type
getJavaType, getPersistenceType
-
Method Details
-
getTypeName
String getTypeName()Get the type name.- Specified by:
getTypeNamein interfaceSqmExpressible<J>- Returns:
- The type name.
- See Also:
-
getRepresentationMode
RepresentationMode getRepresentationMode() -
getSuperType
ManagedDomainType<? super J> getSuperType()The descriptor of the supertype of this type. -
getSubTypes
Collection<? extends ManagedDomainType<? extends J>> getSubTypes() -
addSubType
-
visitAttributes
-
visitDeclaredAttributes
-
getAttribute
Description copied from interface:ManagedTypeReturn the attribute of the managed type that corresponds to the specified name.- Specified by:
getAttributein interfaceManagedType<J>- Parameters:
name- the name of the represented attribute- Returns:
- attribute with given name
-
getDeclaredAttribute
Description copied from interface:ManagedTypeReturn the attribute declared by the managed type that corresponds to the specified name.- Specified by:
getDeclaredAttributein interfaceManagedType<J>- Parameters:
name- the name of the represented attribute- Returns:
- attribute with given name
-
findAttribute
-
findSubTypesAttribute
-
findAttributeInSuperTypes
-
findSingularAttribute
-
findPluralAttribute
-
findConcreteGenericAttribute
-
findDeclaredAttribute
-
findDeclaredSingularAttribute
-
findDeclaredPluralAttribute
-
findDeclaredConcreteGenericAttribute
-