Package org.hibernate.query.derived
Class AnonymousTupleSqmAssociationPathSource<O,J>
- java.lang.Object
-
- org.hibernate.query.derived.AnonymousTupleSqmPathSource<J>
-
- org.hibernate.query.derived.AnonymousTupleSqmAssociationPathSource<O,J>
-
- All Implemented Interfaces:
Attribute<O,J>,Bindable<J>,SingularAttribute<O,J>,PersistentAttribute<O,J>,SingularPersistentAttribute<O,J>,BindableType<J>,SqmExpressible<J>,SqmJoinable<O,J>,SqmPathSource<J>,SqmExpressibleAccessor<J>
@Incubating public class AnonymousTupleSqmAssociationPathSource<O,J> extends AnonymousTupleSqmPathSource<J> implements SingularPersistentAttribute<O,J>
-
-
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
-
-
Constructor Summary
Constructors Constructor Description AnonymousTupleSqmAssociationPathSource(String localPathName, SqmPath<J> path, SimpleDomainType<J> domainType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqmJoin<O,J>createSqmJoin(SqmFrom<?,O> lhs, SqmJoinType joinType, String alias, boolean fetched, SqmCreationState creationState)AttributeClassificationgetAttributeClassification()The classification of the attribute (is it a basic type, entity, etc)JavaType<J>getAttributeJavaType()ManagedDomainType<O>getDeclaringType()MembergetJavaMember()SimpleDomainType<?>getKeyGraphType()StringgetName()SqmPathSource<J>getPathSource()Attribute.PersistentAttributeTypegetPersistentAttributeType()SimpleDomainType<J>getType()booleanisAssociation()booleanisCollection()booleanisId()booleanisOptional()booleanisVersion()-
Methods inherited from class org.hibernate.query.derived.AnonymousTupleSqmPathSource
createSqmPath, findSubPathSource, getBindableJavaType, getBindableType, getExpressibleJavaType, getPathName, getSqmPathType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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.SingularPersistentAttribute
getJavaType, getSqmPathType, getValueGraphType
-
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
-
Methods inherited from interface org.hibernate.query.sqm.SqmPathSource
createSqmPath, findSubPathSource, findSubPathSource, getExpressible, getIntermediatePathSource, getPathName, getSqmType, getSubPathSource, getSubPathSource, isGeneric
-
-
-
-
Constructor Detail
-
AnonymousTupleSqmAssociationPathSource
public AnonymousTupleSqmAssociationPathSource(String localPathName, SqmPath<J> path, SimpleDomainType<J> domainType)
-
-
Method Detail
-
createSqmJoin
public SqmJoin<O,J> createSqmJoin(SqmFrom<?,O> lhs, SqmJoinType joinType, String alias, boolean fetched, SqmCreationState creationState)
- Specified by:
createSqmJoinin interfaceSqmJoinable<O,J>
-
getType
public SimpleDomainType<J> getType()
- Specified by:
getTypein interfaceSingularAttribute<O,J>- Specified by:
getTypein interfaceSingularPersistentAttribute<O,J>
-
getDeclaringType
public ManagedDomainType<O> getDeclaringType()
- Specified by:
getDeclaringTypein interfaceAttribute<O,J>- Specified by:
getDeclaringTypein interfacePersistentAttribute<O,J>- Specified by:
getDeclaringTypein interfaceSingularPersistentAttribute<O,J>
-
getPathSource
public SqmPathSource<J> getPathSource()
- Specified by:
getPathSourcein interfaceSingularPersistentAttribute<O,J>
-
isId
public boolean isId()
- Specified by:
isIdin interfaceSingularAttribute<O,J>
-
isVersion
public boolean isVersion()
- Specified by:
isVersionin interfaceSingularAttribute<O,J>
-
isOptional
public boolean isOptional()
- Specified by:
isOptionalin interfaceSingularAttribute<O,J>
-
getAttributeJavaType
public JavaType<J> getAttributeJavaType()
- Specified by:
getAttributeJavaTypein interfacePersistentAttribute<O,J>
-
getAttributeClassification
public AttributeClassification getAttributeClassification()
Description copied from interface:PersistentAttributeThe classification of the attribute (is it a basic type, entity, etc)- Specified by:
getAttributeClassificationin interfacePersistentAttribute<O,J>
-
getKeyGraphType
public SimpleDomainType<?> getKeyGraphType()
- Specified by:
getKeyGraphTypein interfacePersistentAttribute<O,J>
-
getName
public String getName()
-
getPersistentAttributeType
public Attribute.PersistentAttributeType getPersistentAttributeType()
- Specified by:
getPersistentAttributeTypein interfaceAttribute<O,J>
-
getJavaMember
public Member getJavaMember()
- Specified by:
getJavaMemberin interfaceAttribute<O,J>
-
isAssociation
public boolean isAssociation()
- Specified by:
isAssociationin interfaceAttribute<O,J>
-
isCollection
public boolean isCollection()
- Specified by:
isCollectionin interfaceAttribute<O,J>
-
-