Top Fields Constructors Methods
org.hibernate.query.derived

public Class AnonymousTupleSqmAssociationPathSource<O, J>

extends AnonymousTupleSqmPathSource<J>
implements SingularPersistentAttribute<O, J>
Class Inheritance
All Implemented Interfaces
org.hibernate.metamodel.model.domain.SingularPersistentAttribute, org.hibernate.query.sqm.SqmJoinable, org.hibernate.query.sqm.SqmPathSource, org.hibernate.query.sqm.tree.SqmExpressibleAccessor, jakarta.persistence.metamodel.Bindable, org.hibernate.query.sqm.SqmExpressible, org.hibernate.query.BindableType, org.hibernate.metamodel.model.domain.PersistentAttribute, jakarta.persistence.metamodel.Attribute, jakarta.persistence.metamodel.SingularAttribute
Annotations
@Incubating
Imports
java.lang.reflect.Member, org.hibernate.Incubating, org.hibernate.metamodel.AttributeClassification, org.hibernate.metamodel.model.domain.ManagedDomainType, .SimpleDomainType, .SingularPersistentAttribute, org.hibernate.query.hql.spi.SqmCreationState, org.hibernate.query.sqm.SqmPathSource, org.hibernate.query.sqm.tree.SqmJoinType, org.hibernate.query.sqm.tree.domain.SqmPath, .SqmSingularJoin, org.hibernate.query.sqm.tree.from.SqmFrom, .SqmJoin, org.hibernate.type.descriptor.java.JavaType

Author
Christian Beikov

Field Summary

Modifier and TypeField and Description
private final SimpleDomainType<J>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public SqmJoin<O, J>
createSqmJoin(SqmFrom<?, O> lhs, SqmJoinType joinType, String alias, boolean fetched, SqmCreationState creationState)

Implements org.hibernate.query.sqm.SqmJoinable.createSqmJoin.

public AttributeClassification
getAttributeClassification()

Implements org.hibernate.metamodel.model.domain.PersistentAttribute.getAttributeClassification.

The classification of the attribute (is it a basic type, entity, etc)
public JavaType<J>
public ManagedDomainType<O>
getDeclaringType()

Implements org.hibernate.metamodel.model.domain.SingularPersistentAttribute.getDeclaringType.

Return the managed type representing the type in which the attribute was declared.
public Member
getJavaMember()

Implements jakarta.persistence.metamodel.Attribute.getJavaMember.

Return the java.lang.reflect.Member for the represented attribute.
public SimpleDomainType<?>
public String
public SqmPathSource<J>
public Attribute.PersistentAttributeType
getPersistentAttributeType()

Implements jakarta.persistence.metamodel.Attribute.getPersistentAttributeType.

Return the persistent attribute type for the attribute.
public SimpleDomainType<J>
getType()

Implements org.hibernate.metamodel.model.domain.SingularPersistentAttribute.getType.

Return the type that represents the type of the attribute.
public boolean
isAssociation()

Implements jakarta.persistence.metamodel.Attribute.isAssociation.

Is the attribute an association.
public boolean
isCollection()

Implements jakarta.persistence.metamodel.Attribute.isCollection.

Is the attribute collection-valued (represents a Collection, Set, List, or Map).
public boolean
isId()

Implements jakarta.persistence.metamodel.SingularAttribute.isId.

Is the attribute an id attribute.
public boolean
public boolean
isVersion()

Implements jakarta.persistence.metamodel.SingularAttribute.isVersion.

Is the attribute a version attribute.
Inherited from org.hibernate.query.derived.AnonymousTupleSqmPathSource:
createSqmPathfindSubPathSourcegetBindableJavaTypegetBindableTypegetExpressibleJavaTypegetPathNamegetSqmPathType

Field Detail

domainTypeback to summary
private final SimpleDomainType<J> domainType

Constructor Detail

AnonymousTupleSqmAssociationPathSourceback to summary
public AnonymousTupleSqmAssociationPathSource(String localPathName, SqmPath<J> path, SimpleDomainType<J> domainType)

Method Detail

createSqmJoinback to summary
public SqmJoin<O, J> createSqmJoin(SqmFrom<?, O> lhs, SqmJoinType joinType, String alias, boolean fetched, SqmCreationState creationState)

Implements org.hibernate.query.sqm.SqmJoinable.createSqmJoin.

Annotations
@Override
getAttributeClassificationback to summary
public AttributeClassification getAttributeClassification()

Implements org.hibernate.metamodel.model.domain.PersistentAttribute.getAttributeClassification.

Doc from org.hibernate.metamodel.model.domain.PersistentAttribute.getAttributeClassification.

The classification of the attribute (is it a basic type, entity, etc)

Annotations
@Override
getAttributeJavaTypeback to summary
public JavaType<J> getAttributeJavaType()

Implements org.hibernate.metamodel.model.domain.PersistentAttribute.getAttributeJavaType.

Annotations
@Override
getDeclaringTypeback to summary
public ManagedDomainType<O> getDeclaringType()

Implements org.hibernate.metamodel.model.domain.SingularPersistentAttribute.getDeclaringType.

Doc from jakarta.persistence.metamodel.Attribute.getDeclaringType.

Return the managed type representing the type in which the attribute was declared.

Returns:ManagedDomainType<O>

declaring type

Annotations
@Override
getJavaMemberback to summary
public Member getJavaMember()

Implements jakarta.persistence.metamodel.Attribute.getJavaMember.

Doc from jakarta.persistence.metamodel.Attribute.getJavaMember.

Return the java.lang.reflect.Member for the represented attribute.

Returns:Member

corresponding java.lang.reflect.Member

Annotations
@Override
getKeyGraphTypeback to summary
public SimpleDomainType<?> getKeyGraphType()

Implements org.hibernate.metamodel.model.domain.PersistentAttribute.getKeyGraphType.

Annotations
@Override
getNameback to summary
public String getName()

Implements jakarta.persistence.metamodel.Attribute.getName, org.hibernate.query.sqm.SqmJoinable.getName.

Doc from jakarta.persistence.metamodel.Attribute.getName.

Return the name of the attribute.

Returns:String

name

Annotations
@Override
getPathSourceback to summary
public SqmPathSource<J> getPathSource()

Implements org.hibernate.metamodel.model.domain.SingularPersistentAttribute.getPathSource.

Annotations
@Override
getPersistentAttributeTypeback to summary
public Attribute.PersistentAttributeType getPersistentAttributeType()

Implements jakarta.persistence.metamodel.Attribute.getPersistentAttributeType.

Doc from jakarta.persistence.metamodel.Attribute.getPersistentAttributeType.

Return the persistent attribute type for the attribute.

Returns:Attribute.PersistentAttributeType

persistent attribute type

Annotations
@Override
getTypeback to summary
public SimpleDomainType<J> getType()

Implements org.hibernate.metamodel.model.domain.SingularPersistentAttribute.getType.

Doc from jakarta.persistence.metamodel.SingularAttribute.getType.

Return the type that represents the type of the attribute.

Returns:SimpleDomainType<J>

type of attribute

Annotations
@Override
isAssociationback to summary
public boolean isAssociation()

Implements jakarta.persistence.metamodel.Attribute.isAssociation.

Doc from jakarta.persistence.metamodel.Attribute.isAssociation.

Is the attribute an association.

Returns:boolean

boolean indicating whether the attribute corresponds to an association

Annotations
@Override
isCollectionback to summary
public boolean isCollection()

Implements jakarta.persistence.metamodel.Attribute.isCollection.

Doc from jakarta.persistence.metamodel.Attribute.isCollection.

Is the attribute collection-valued (represents a Collection, Set, List, or Map).

Returns:boolean

boolean indicating whether the attribute is collection-valued

Annotations
@Override
isIdback to summary
public boolean isId()

Implements jakarta.persistence.metamodel.SingularAttribute.isId.

Doc from jakarta.persistence.metamodel.SingularAttribute.isId.

Is the attribute an id attribute. This method will return true if the attribute is an attribute that corresponds to a simple id, an embedded id, or an attribute of an id class.

Returns:boolean

boolean indicating whether the attribute is an id

Annotations
@Override
isOptionalback to summary
public boolean isOptional()

Implements jakarta.persistence.metamodel.SingularAttribute.isOptional.

Doc from jakarta.persistence.metamodel.SingularAttribute.isOptional.

Can the attribute be null.

Returns:boolean

boolean indicating whether the attribute can be null

Annotations
@Override
isVersionback to summary
public boolean isVersion()

Implements jakarta.persistence.metamodel.SingularAttribute.isVersion.

Doc from jakarta.persistence.metamodel.SingularAttribute.isVersion.

Is the attribute a version attribute.

Returns:boolean

boolean indicating whether the attribute is a version attribute

Annotations
@Override