Class AbstractDomainType<J>
- java.lang.Object
-
- org.hibernate.metamodel.model.domain.AbstractDomainType<J>
-
- All Implemented Interfaces:
Type<J>,DomainType<J>,SimpleDomainType<J>,BindableType<J>,SqmExpressible<J>
- Direct Known Subclasses:
AbstractManagedType
public abstract class AbstractDomainType<J> extends Object implements SimpleDomainType<J>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceType
-
-
Constructor Summary
Constructors Constructor Description AbstractDomainType(JavaType<J> javaType, JpaMetamodel domainMetamodel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<J>getBindableJavaType()The expected Java typeJavaType<J>getExpressibleJavaType()The descriptor for the Java type (i.e.Class<J>getJavaType()protected JpaMetamodeljpaMetamodel()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getTypeName
-
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
isInstance, resolveExpressible
-
Methods inherited from interface jakarta.persistence.metamodel.Type
getPersistenceType
-
-
-
-
Constructor Detail
-
AbstractDomainType
public AbstractDomainType(JavaType<J> javaType, JpaMetamodel domainMetamodel)
-
-
Method Detail
-
jpaMetamodel
protected JpaMetamodel jpaMetamodel()
-
getExpressibleJavaType
public JavaType<J> getExpressibleJavaType()
Description copied from interface:DomainTypeThe descriptor for the Java type (i.e.Class) represented by this DomainType.- Specified by:
getExpressibleJavaTypein interfaceDomainType<J>- Specified by:
getExpressibleJavaTypein interfaceSqmExpressible<J>- See Also:
DomainType.getTypeName()
-
getJavaType
public Class<J> getJavaType()
- Specified by:
getJavaTypein interfaceType<J>
-
getBindableJavaType
public Class<J> getBindableJavaType()
Description copied from interface:BindableTypeThe expected Java type- Specified by:
getBindableJavaTypein interfaceBindableType<J>- Specified by:
getBindableJavaTypein interfaceSimpleDomainType<J>
-
-