public abstract class AbstractTupleElement<X> extends AbstractNode implements TupleElementImplementor<X>, Serializable
Modifier | Constructor and Description |
---|---|
protected |
AbstractTupleElement(CriteriaBuilderImpl criteriaBuilder,
Class<X> javaType) |
Modifier and Type | Method and Description |
---|---|
protected void |
forceConversion(ValueHandlerFactory.ValueHandler<X> valueHandler) |
String |
getAlias()
Return the alias assigned to the tuple element or null,
if no alias has been assigned.
|
Class<X> |
getJavaType()
Return the Java type of the tuple element.
|
ValueHandlerFactory.ValueHandler<X> |
getValueHandler() |
protected void |
resetJavaType(Class targetType) |
protected void |
setAlias(String alias)
Protected access to define the alias.
|
criteriaBuilder
protected AbstractTupleElement(CriteriaBuilderImpl criteriaBuilder, Class<X> javaType)
public Class<X> getJavaType()
TupleElement
getJavaType
in interface TupleElement<X>
protected void resetJavaType(Class targetType)
protected void forceConversion(ValueHandlerFactory.ValueHandler<X> valueHandler)
public ValueHandlerFactory.ValueHandler<X> getValueHandler()
getValueHandler
in interface TupleElementImplementor<X>
public String getAlias()
TupleElement
getAlias
in interface TupleElement<X>
protected void setAlias(String alias)
alias
- The alias to use.Copyright © 2016 JBoss by Red Hat. All rights reserved.