Class ParameterExpressionImpl<T>
java.lang.Object
cz.cvut.kbss.jopa.query.criteria.SelectionImpl<Y>
cz.cvut.kbss.jopa.query.criteria.expressions.AbstractExpression<T>
cz.cvut.kbss.jopa.query.criteria.expressions.ParameterExpressionImpl<T>
- All Implemented Interfaces:
- Expression<T>,- ParameterExpression<T>,- Selection<T>,- Parameter<T>,- TupleElement<T>
public class ParameterExpressionImpl<T>
extends AbstractExpression<T>
implements ParameterExpression<T>
- 
Field SummaryFields inherited from class cz.cvut.kbss.jopa.query.criteria.expressions.AbstractExpressioncb, negatedFields inherited from class cz.cvut.kbss.jopa.query.criteria.SelectionImpltype
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleangetName()Return the parameter name, or null if the parameter is not a named parameter or no name has been assigned.Return the Java type of the parameter.Return the parameter position, or null if the parameter is not a positional parameter.inthashCode()voidsetExpressionToQuery(StringBuilder query, CriteriaParameterFiller parameterFiller) voidsetNameIfUnnamed(String name) Methods inherited from class cz.cvut.kbss.jopa.query.criteria.expressions.AbstractExpressionin, in, isNegated, negateMethods inherited from class cz.cvut.kbss.jopa.query.criteria.SelectionImplgetAlias, getCompoundedSelectionItems, getJavaType, isCompoundedSelectionMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cz.cvut.kbss.jopa.model.query.criteria.Expressionin, inMethods inherited from interface cz.cvut.kbss.jopa.model.query.criteria.SelectiongetCompoundedSelectionItems, isCompoundedSelectionMethods inherited from interface cz.cvut.kbss.jopa.model.query.TupleElementgetAlias, getJavaType
- 
Constructor Details- 
ParameterExpressionImpl
 
- 
- 
Method Details- 
setNameIfUnnamed
- 
getNameDescription copied from interface:ParameterReturn the parameter name, or null if the parameter is not a named parameter or no name has been assigned.
- 
getPositionDescription copied from interface:ParameterReturn the parameter position, or null if the parameter is not a positional parameter.- Specified by:
- getPositionin interface- Parameter<T>
- Returns:
- position of parameter
 
- 
getParameterTypeDescription copied from interface:ParameterReturn the Java type of the parameter. Values bound to the parameter must be assignable to this type. This method is required to be supported for criteria queries only. Applications that use this method for Java Persistence query language queries and native queries will not be portable.- Specified by:
- getParameterTypein interface- Parameter<T>
- Returns:
- the Java type of the parameter
 
- 
setExpressionToQuery- Specified by:
- setExpressionToQueryin class- AbstractExpression<T>
 
- 
equals
- 
hashCodepublic int hashCode()
 
-