Interface SingularPersistentAttribute<D,J>
- All Superinterfaces:
Attribute<D,
,J> Bindable<J>
,BindableType<J>
,PersistentAttribute<D,
,J> SingularAttribute<D,
,J> SqmExpressible<J>
,SqmExpressibleAccessor<J>
,SqmJoinable<D,
,J> 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<D,J>
Extension of the JPA-defined
SingularAttribute
interface.-
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
Modifier and TypeMethodDescriptionThe type of path this source creates.getType()
default DomainType<?>
For a singular attribute, the value type is defined as the attribute typeMethods 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, getTypeName, 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, findSubPathSource, getExpressible, getIntermediatePathSource, getPathName, getSqmType, getSubPathSource, getSubPathSource, isGeneric
-
Method Details
-
getType
SimpleDomainType<J> getType()- Specified by:
getType
in interfaceSingularAttribute<D,
J>
-
getDeclaringType
ManagedDomainType<D> getDeclaringType()- Specified by:
getDeclaringType
in interfaceAttribute<D,
J> - Specified by:
getDeclaringType
in interfacePersistentAttribute<D,
J>
-
getSqmPathType
DomainType<J> getSqmPathType()Description copied from interface:SqmPathSource
The type of path this source creates.- Specified by:
getSqmPathType
in interfaceSqmPathSource<D>
-
getPathSource
SqmPathSource<J> getPathSource() -
getValueGraphType
For a singular attribute, the value type is defined as the attribute type- Specified by:
getValueGraphType
in interfacePersistentAttribute<D,
J>
-
getJavaType
- Specified by:
getJavaType
in interfaceAttribute<D,
J>
-