Class ParameterExpression
java.lang.Object
com.blazebit.persistence.parser.expression.AbstractExpression
com.blazebit.persistence.parser.expression.ParameterExpression
- All Implemented Interfaces:
Expression
- Since:
- 1.0.0
- Author:
- Christian Beikov, Moritz Becker
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.blazebit.persistence.parser.expression.Expression
Expression.ResultVisitor<T>, Expression.Visitor -
Constructor Summary
ConstructorsConstructorDescriptionParameterExpression(String name) ParameterExpression(String name, Object value) ParameterExpression(String name, Object value, boolean collectionValued) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(Expression.ResultVisitor<T> visitor) voidaccept(Expression.Visitor visitor) The expression tree is traversed in pre-order.copy(ExpressionCopyContext copyContext) booleangetName()getValue()inthashCode()booleanvoidsetCollectionValued(boolean collectionValued) voidtoString()Returns the trimmed original string representation of the expression.
-
Constructor Details
-
ParameterExpression
-
ParameterExpression
-
ParameterExpression
-
-
Method Details
-
copy
- Specified by:
copyin interfaceExpression- Specified by:
copyin classAbstractExpression- Returns:
-
accept
Description copied from interface:ExpressionThe expression tree is traversed in pre-order. -
accept
-
getName
-
setName
-
getValue
-
isCollectionValued
public boolean isCollectionValued() -
setCollectionValued
public void setCollectionValued(boolean collectionValued) -
toString
Description copied from interface:ExpressionReturns the trimmed original string representation of the expression.- Specified by:
toStringin interfaceExpression- Overrides:
toStringin classAbstractExpression- Returns:
- The string representation of the expression
-
equals
-
hashCode
public int hashCode()
-