Interface DomainType<J>
-
- All Superinterfaces:
BindableType<J>,SqmExpressible<J>
- All Known Subinterfaces:
AdjustableBasicType<J>,AnyMappingDomainType<J>,BasicDomainType<J>,BasicPluralType<C,E>,BasicType<T>,ConvertedBasicType<J>,DiscriminatorType<O>,EmbeddableDomainType<J>,EmbeddedDomainType<J>,EntityDomainType<J>,IdentifiableDomainType<J>,ManagedDomainType<J>,MappedSuperclassDomainType<J>,ReturnableType<T>,SimpleDomainType<J>
- All Known Implementing Classes:
AbstractDomainType,AbstractIdentifiableType,AbstractManagedType,AbstractSingleColumnStandardBasicType,AbstractStandardBasicType,AnonymousTupleType,BasicArrayType,BasicCollectionType,BottomType,ConvertedBasicArrayType,ConvertedBasicCollectionType,CustomType,DiscriminatorType,JavaObjectType,NullType,SerializableToBlobType,SerializableType,SqmCteTable,SqmPolymorphicRootDescriptor,StandardBasicTypeTemplate
public interface DomainType<J> extends SqmExpressible<J>
Describes any type that occurs in the application's domain model.The base for Hibernate's extension of the JPA type system.
Encapsulates a
JavaTypedescribing the more rudimentary aspects of the Java type. The DomainType is a higher-level construct incorporating information such as bean properties, constructors, etc- Implementation Note:
- The actual JPA type system is more akin to
SimpleDomainType. This contract represents a "higher level" than JPA including descriptors for collections (which JPA does not define) as well as Hibernate-specific features (like dynamic models or ANY mappings).
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default DomainType<J>getSqmType()-
Methods inherited from interface org.hibernate.query.BindableType
getBindableJavaType
-
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
getExpressibleJavaType, getRelationalJavaType, getTypeName, isInstance, resolveExpressible
-
-
-
-
Method Detail
-
getSqmType
default DomainType<J> getSqmType()
- Specified by:
getSqmTypein interfaceSqmExpressible<J>
-
-