Interface SingularPersistentAttribute<D,J>
-
- All Superinterfaces:
Attribute<D,J>,Bindable<J>,BindableType<J>,PersistentAttribute<D,J>,SingularAttribute<D,J>,SqmExpressible<J>,SqmExpressibleAccessor<J>,SqmJoinable,SqmPathSource<J>
- All Known Implementing Classes:
AnonymousTupleSqmAssociationPathSource,SingularAttributeImpl,SingularAttributeImpl.Identifier,SingularAttributeImpl.Version
public interface SingularPersistentAttribute<D,J> extends SingularAttribute<D,J>, PersistentAttribute<D,J>, SqmPathSource<J>, SqmJoinable
Hibernate extension to the JPASingularAttributedescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Attribute
Attribute.PersistentAttributeType
-
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ManagedDomainType<D>getDeclaringType()default Class<J>getJavaType()SqmPathSource<J>getPathSource()DomainType<J>getSqmPathType()The type of SqmPaths this source creates.SimpleDomainType<J>getType()default DomainType<?>getValueGraphType()For a singular attribute, the value type is defined as the attribute type-
Methods inherited from interface jakarta.persistence.metamodel.Attribute
getJavaMember, getName, getPersistentAttributeType, isAssociation, isCollection
-
Methods inherited from interface jakarta.persistence.metamodel.Bindable
getBindableJavaType, getBindableType
-
Methods inherited from interface org.hibernate.query.BindableType
getBindableJavaType
-
Methods inherited from interface org.hibernate.metamodel.model.domain.PersistentAttribute
getAttributeClassification, getAttributeJavaType, getKeyGraphType
-
Methods inherited from interface jakarta.persistence.metamodel.SingularAttribute
isId, isOptional, isVersion
-
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
getExpressibleJavaType, getRelationalJavaType, isInstance, resolveExpressible
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaType
-
Methods inherited from interface org.hibernate.query.sqm.SqmJoinable
createNavigablePath, createSqmJoin, getName
-
Methods inherited from interface org.hibernate.query.sqm.SqmPathSource
createSqmPath, findSubPathSource, getExpressible, getIntermediatePathSource, getPathName, getSqmType, getSubPathSource, isGeneric
-
-
-
-
Method Detail
-
getType
SimpleDomainType<J> getType()
- Specified by:
getTypein interfaceSingularAttribute<D,J>
-
getDeclaringType
ManagedDomainType<D> getDeclaringType()
- Specified by:
getDeclaringTypein interfaceAttribute<D,J>- Specified by:
getDeclaringTypein interfacePersistentAttribute<D,J>
-
getSqmPathType
DomainType<J> getSqmPathType()
Description copied from interface:SqmPathSourceThe type of SqmPaths this source creates. Corollary to JPA'sBindable.getBindableJavaType()- Specified by:
getSqmPathTypein interfaceSqmPathSource<D>
-
getPathSource
SqmPathSource<J> getPathSource()
-
getValueGraphType
default DomainType<?> getValueGraphType()
For a singular attribute, the value type is defined as the attribute type- Specified by:
getValueGraphTypein interfacePersistentAttribute<D,J>
-
-