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.PersistentAttributeTypeNested 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, isCollectionMethods inherited from interface jakarta.persistence.metamodel.Bindable
getBindableJavaType, getBindableTypeMethods inherited from interface org.hibernate.metamodel.model.domain.PathSource
findSubPathSource, findSubPathSource, getPathName, getPathTypeMethods inherited from interface org.hibernate.metamodel.model.domain.PersistentAttribute
getAttributeClassification, getAttributeJavaType, getKeyGraphTypeMethods inherited from interface jakarta.persistence.metamodel.SingularAttribute
isId, isOptional, isVersion
-
Method Details
-
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>
-
getValueGraphType
For a singular attribute, the value type is defined as the attribute type- Specified by:
getValueGraphTypein interfacePersistentAttribute<D,J>
-
getJavaType
- Specified by:
getJavaTypein interfaceAttribute<D,J>
-