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.-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceType
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSubType
(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) getDeclaredAttribute
(String name) Collection<? extends ManagedDomainType<? extends J>>
ManagedDomainType<? super J>
The descriptor of the supertype of this type.Get the type name.void
visitAttributes
(Consumer<? super PersistentAttribute<? super J, ?>> action) void
visitDeclaredAttributes
(Consumer<? super PersistentAttribute<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.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 Details
-
getTypeName
String getTypeName()Get the type name.- Specified by:
getTypeName
in interfaceSqmExpressible<J>
- Returns:
- The type name.
- See Also:
- API Note:
- This usually returns the name of the Java class. However, for
dynamic models, this returns
the symbolic name since the Java type is
Map
.
-
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
- Specified by:
getAttribute
in interfaceManagedType<J>
-
getDeclaredAttribute
- Specified by:
getDeclaredAttribute
in interfaceManagedType<J>
-
findAttribute
-
findSubTypesAttribute
-
findAttributeInSuperTypes
-
findSingularAttribute
-
findPluralAttribute
-
findConcreteGenericAttribute
-
findDeclaredAttribute
-
findDeclaredSingularAttribute
-
findDeclaredPluralAttribute
-
findDeclaredConcreteGenericAttribute
-