Interface SingularPersistentAttribute<D,J>
- All Superinterfaces:
Attribute<D,
,J> Bindable<J>
,PathSource<J>
,PersistentAttribute<D,
,J> SingularAttribute<D,
J>
- All Known Subinterfaces:
SqmSingularPersistentAttribute<D,
J>
- All Known Implementing Classes:
AnonymousTupleSqmAssociationPathSource
,AnonymousTupleSqmAssociationPathSourceNew
,SingularAttributeImpl
,SingularAttributeImpl.Identifier
,SingularAttributeImpl.Version
public interface SingularPersistentAttribute<D,J>
extends SingularAttribute<D,J>, PersistentAttribute<D,J>, PathSource<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 TypeMethodDescriptiongetType()
default DomainType<J>
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.metamodel.model.domain.PathSource
findSubPathSource, findSubPathSource, getPathName, getPathType
Methods inherited from interface org.hibernate.metamodel.model.domain.PersistentAttribute
getAttributeClassification, getAttributeJavaType, getKeyGraphType
Methods inherited from interface jakarta.persistence.metamodel.SingularAttribute
isId, isOptional, isVersion
-
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>
-
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>
-