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.- Author:
- Steve Ebersole
-
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 TypeMethodDescriptionReturn the managed type representing the type in which the attribute was declared.Return the Java type of the represented attribute.The type of path this source creates.getType()Return the type that represents the type of the attribute.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, isCollectionMethods inherited from interface jakarta.persistence.metamodel.Bindable
getBindableJavaType, getBindableTypeMethods inherited from interface org.hibernate.query.BindableType
getBindableJavaTypeMethods inherited from interface org.hibernate.metamodel.model.domain.PersistentAttribute
getAttributeClassification, getAttributeJavaType, getKeyGraphTypeMethods inherited from interface jakarta.persistence.metamodel.SingularAttribute
isId, isOptional, isVersionMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getExpressibleJavaType, getRelationalJavaType, getTypeName, isInstance, resolveExpressibleMethods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaTypeMethods inherited from interface org.hibernate.query.sqm.SqmJoinable
createNavigablePath, createSqmJoin, getNameMethods inherited from interface org.hibernate.query.sqm.SqmPathSource
createSqmPath, findSubPathSource, findSubPathSource, getExpressible, getIntermediatePathSource, getPathName, getSqmType, getSubPathSource, getSubPathSource, isGeneric
-
Method Details
-
getType
SimpleDomainType<J> getType()Description copied from interface:SingularAttributeReturn the type that represents the type of the attribute.- Specified by:
getTypein interfaceSingularAttribute<D,J> - Returns:
- type of attribute
-
getDeclaringType
ManagedDomainType<D> getDeclaringType()Description copied from interface:AttributeReturn the managed type representing the type in which the attribute was declared.- Specified by:
getDeclaringTypein interfaceAttribute<D,J> - Specified by:
getDeclaringTypein interfacePersistentAttribute<D,J> - Returns:
- declaring type
-
getSqmPathType
DomainType<J> getSqmPathType()Description copied from interface:SqmPathSourceThe type of path this source creates.- Specified by:
getSqmPathTypein interfaceSqmPathSource<D>
-
getPathSource
SqmPathSource<J> getPathSource() -
getValueGraphType
For a singular attribute, the value type is defined as the attribute type- Specified by:
getValueGraphTypein interfacePersistentAttribute<D,J>
-
getJavaType
Description copied from interface:AttributeReturn the Java type of the represented attribute.- Specified by:
getJavaTypein interfaceAttribute<D,J> - Returns:
- Java type
-