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-definedSingularAttribute
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
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 path 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, 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 Detail
-
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
default DomainType<?> getValueGraphType()
For a singular attribute, the value type is defined as the attribute type- Specified by:
getValueGraphType
in interfacePersistentAttribute<D,J>
-
-