Package org.hibernate.query.sqm.tree.jpa
Class AbstractJpaTupleElement<T>
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement<T>
- All Implemented Interfaces:
TupleElement<T>,Serializable,JpaCriteriaNode,JpaTupleElement<T>,SqmNode,SqmVisitableNode
- Direct Known Subclasses:
AbstractJpaSelection
public abstract class AbstractJpaTupleElement<T>
extends AbstractSqmNode
implements SqmVisitableNode, JpaTupleElement<T>
Base support for
JpaTupleElement impls- Author:
- Steve Ebersole
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractJpaTupleElement(@Nullable SqmExpressible<? super T> expressibleType, NodeBuilder criteriaBuilder) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcopyTo(AbstractJpaTupleElement<T> target, SqmCopyContext context) @Nullable StringgetAlias()Return the alias assigned to the tuple element or null, if no alias has been assigned.@Nullable SqmExpressible<T>protected voidProtected access to set the alias.protected final voidsetExpressibleType(@Nullable SqmExpressible<?> expressibleType) Methods inherited from class org.hibernate.query.sqm.tree.AbstractSqmNode
nodeBuilderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeName, isEnumMethods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, copy, nodeBuilderMethods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
accept, appendHqlString, toHqlString
-
Constructor Details
-
AbstractJpaTupleElement
protected AbstractJpaTupleElement(@Nullable SqmExpressible<? super T> expressibleType, NodeBuilder criteriaBuilder)
-
-
Method Details
-
copyTo
-
getAlias
Description copied from interface:TupleElementReturn the alias assigned to the tuple element or null, if no alias has been assigned.- Specified by:
getAliasin interfaceTupleElement<T>- Returns:
- alias
-
setAlias
Protected access to set the alias. -
getNodeType
-
setExpressibleType
-