Top Fields Constructors Methods
org.hibernate.metamodel.model.domain.internal

public abstract Class AbstractSqmPathSource<J>

extends Object
implements SqmPathSource<J>
Class Inheritance
All Implemented Interfaces
org.hibernate.query.sqm.SqmPathSource, org.hibernate.query.sqm.tree.SqmExpressibleAccessor, jakarta.persistence.metamodel.Bindable, org.hibernate.query.sqm.SqmExpressible, org.hibernate.query.BindableType
Known Direct Subclasses
org.hibernate.metamodel.model.domain.internal.AnyDiscriminatorSqmPathSource, org.hibernate.metamodel.model.domain.internal.AnyMappingSqmPathSource, org.hibernate.metamodel.model.domain.internal.BasicSqmPathSource, org.hibernate.metamodel.model.domain.internal.DiscriminatorSqmPathSource, org.hibernate.metamodel.model.domain.internal.EmbeddedSqmPathSource, org.hibernate.metamodel.model.domain.internal.EntitySqmPathSource, org.hibernate.metamodel.model.domain.internal.MappedSuperclassSqmPathSource, org.hibernate.metamodel.model.domain.internal.NonAggregatedCompositeSqmPathSource
Imports
org.hibernate.metamodel.model.domain.DomainType, org.hibernate.query.sqm.SqmPathSource, org.hibernate.type.descriptor.java.JavaType

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final DomainType<J>
private final Bindable.BindableType
private final String
protected final SqmPathSource<J>

Constructor Summary

AccessConstructor and Description
public
AbstractSqmPathSource(String localPathName, SqmPathSource<J> pathModel, DomainType<J> domainType, Bindable.BindableType jpaBindableType)

Method Summary

Modifier and TypeMethod and Description
public Class<J>
public Bindable.BindableType
getBindableType()

Implements jakarta.persistence.metamodel.Bindable.getBindableType.

Return the bindable type of the represented object.
public JavaType<J>
getExpressibleJavaType()

Implements org.hibernate.query.sqm.SqmExpressible.getExpressibleJavaType.

The Java type descriptor for this expressible
public String
public DomainType<J>
getSqmPathType()

Implements org.hibernate.query.sqm.SqmPathSource.getSqmPathType.

The type of path this source creates.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

domainTypeback to summary
private final DomainType<J> domainType
jpaBindableTypeback to summary
private final Bindable.BindableType jpaBindableType
localPathNameback to summary
private final String localPathName
pathModelback to summary
protected final SqmPathSource<J> pathModel

Constructor Detail

AbstractSqmPathSourceback to summary
public AbstractSqmPathSource(String localPathName, SqmPathSource<J> pathModel, DomainType<J> domainType, Bindable.BindableType jpaBindableType)

Method Detail

getBindableJavaTypeback to summary
public Class<J> getBindableJavaType()

Implements org.hibernate.query.BindableType.getBindableJavaType, jakarta.persistence.metamodel.Bindable.getBindableJavaType.

Doc from jakarta.persistence.metamodel.Bindable.getBindableJavaType.

Return the Java type of the represented object. If the bindable type of the object is PLURAL_ATTRIBUTE, the Java element type is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_TYPE, the Java type of the represented entity or attribute is returned.

Returns:Class<J>

Java type

Annotations
@Override
getBindableTypeback to summary
public Bindable.BindableType getBindableType()

Implements jakarta.persistence.metamodel.Bindable.getBindableType.

Doc from jakarta.persistence.metamodel.Bindable.getBindableType.

Return the bindable type of the represented object.

Returns:Bindable.BindableType

bindable type

Annotations
@Override
getExpressibleJavaTypeback to summary
public JavaType<J> getExpressibleJavaType()

Implements org.hibernate.query.sqm.SqmExpressible.getExpressibleJavaType.

Doc from org.hibernate.query.sqm.SqmExpressible.getExpressibleJavaType.

The Java type descriptor for this expressible

Annotations
@Override
getPathNameback to summary
public String getPathName()

Implements org.hibernate.query.sqm.SqmPathSource.getPathName.

Doc from org.hibernate.query.sqm.SqmPathSource.getPathName.

The name of this thing.

Annotations
@Override
getSqmPathTypeback to summary
public DomainType<J> getSqmPathType()

Implements org.hibernate.query.sqm.SqmPathSource.getSqmPathType.

Doc from org.hibernate.query.sqm.SqmPathSource.getSqmPathType.

The type of path this source creates.

Annotations
@Override