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)
AttributeClassification
getAttributeClassification()
The classification of the attribute (is it a basic type, entity, etc)JavaType<J>
getAttributeJavaType()
ManagedDomainType<O>
getDeclaringType()
Member
getJavaMember()
SimpleDomainType<?>
getKeyGraphType()
String
getName()
SqmPathSource<J>
getPathSource()
Attribute.PersistentAttributeType
getPersistentAttributeType()
SimpleDomainType<J>
getType()
boolean
isAssociation()
boolean
isCollection()
boolean
isId()
boolean
isOptional()
boolean
isVersion()
-
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:
createSqmJoin
in interfaceSqmJoinable<O,J>
-
getType
public SimpleDomainType<J> getType()
- Specified by:
getType
in interfaceSingularAttribute<O,J>
- Specified by:
getType
in interfaceSingularPersistentAttribute<O,J>
-
getDeclaringType
public ManagedDomainType<O> getDeclaringType()
- Specified by:
getDeclaringType
in interfaceAttribute<O,J>
- Specified by:
getDeclaringType
in interfacePersistentAttribute<O,J>
- Specified by:
getDeclaringType
in interfaceSingularPersistentAttribute<O,J>
-
getPathSource
public SqmPathSource<J> getPathSource()
- Specified by:
getPathSource
in interfaceSingularPersistentAttribute<O,J>
-
isId
public boolean isId()
- Specified by:
isId
in interfaceSingularAttribute<O,J>
-
isVersion
public boolean isVersion()
- Specified by:
isVersion
in interfaceSingularAttribute<O,J>
-
isOptional
public boolean isOptional()
- Specified by:
isOptional
in interfaceSingularAttribute<O,J>
-
getAttributeJavaType
public JavaType<J> getAttributeJavaType()
- Specified by:
getAttributeJavaType
in interfacePersistentAttribute<O,J>
-
getAttributeClassification
public AttributeClassification getAttributeClassification()
Description copied from interface:PersistentAttribute
The classification of the attribute (is it a basic type, entity, etc)- Specified by:
getAttributeClassification
in interfacePersistentAttribute<O,J>
-
getKeyGraphType
public SimpleDomainType<?> getKeyGraphType()
- Specified by:
getKeyGraphType
in interfacePersistentAttribute<O,J>
-
getName
public String getName()
-
getPersistentAttributeType
public Attribute.PersistentAttributeType getPersistentAttributeType()
- Specified by:
getPersistentAttributeType
in interfaceAttribute<O,J>
-
getJavaMember
public Member getJavaMember()
- Specified by:
getJavaMember
in interfaceAttribute<O,J>
-
isAssociation
public boolean isAssociation()
- Specified by:
isAssociation
in interfaceAttribute<O,J>
-
isCollection
public boolean isCollection()
- Specified by:
isCollection
in interfaceAttribute<O,J>
-
-