Interface DomainType<J>
- All Known Subinterfaces:
AdjustableBasicType<J>, AnyMappingDomainType<J>, BasicDomainType<J>, BasicPluralType<C,E>, BasicType<T>, ConvertedBasicType<J>, DiscriminatorType<O>, EmbeddableDomainType<J>, EntityDomainType<J>, IdentifiableDomainType<J>, ManagedDomainType<J>, MappedSuperclassDomainType<J>, ReturnableType<T>, SimpleDomainType<J>, SqmDomainType<T>, SqmEmbeddableDomainType<E>, SqmEntityDomainType<E>, SqmManagedDomainType<J>, SqmMappedSuperclassDomainType<T>, SqmTreatableDomainType<T>, TreatableDomainType<J>, TupleType<J>
- All Known Implementing Classes:
AbstractSingleColumnStandardBasicType, AbstractStandardBasicType, org.hibernate.query.sqm.tuple.internal.AnonymousTupleType, BasicArrayType, BasicCollectionType, BottomType, ConvertedBasicArrayType, ConvertedBasicCollectionType, CustomType, DiscriminatorType, JavaObjectType, NullType, QueryParameterJavaObjectType, SerializableType, SqmCteTable, SqmPolymorphicRootDescriptor, StandardBasicTypeTemplate
public interface DomainType<J>
Describes any type forming part of the application domain model.
This is the base type for Hibernate's extension of the standard metamodel of the JPA type system.
Encapsulates a JavaType describing the more rudimentary aspects
of the Java type. The DomainType is a higher-level construct
incorporating information such as bean properties, constructors, and so on.
- Implementation Note:
- The actual JPA type system is more akin to
SimpleDomainType. This contract represents a "higher level" abstraction, allowing descriptors for collections (which JPA does not define) as well as Hibernate-specific features (like dynamic models and@Any).
-
Method Details
-
getExpressibleJavaType
-
getJavaType
-
getTypeName
The name of the type. Usually, but not always, the name of a Java class.- See Also:
-