Class CollectExpression
- java.lang.Object
- 
- jadex.rules.parser.conditions.javagrammar.Expression
- 
- jadex.rules.parser.conditions.javagrammar.CollectExpression
 
 
- 
 public class CollectExpression extends Expression A collect expression collects values.
- 
- 
Field SummaryFields Modifier and Type Field Description protected ExpressionexpressionThe collect expression.
 - 
Constructor SummaryConstructors Constructor Description CollectExpression(Expression expression)Create a new unary operation.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsVariable(Variable var)Test if a variable is contained in the expression.booleanequals(java.lang.Object o)Test if this expression is equal to some object.ExpressiongetExpression()Get the expression.inthashCode()Get the hash code of this expression.java.lang.StringtoString()Get a string representation of this expression.
 
- 
- 
- 
Field Detail- 
expressionprotected Expression expression The collect expression.
 
- 
 - 
Constructor Detail- 
CollectExpressionpublic CollectExpression(Expression expression) Create a new unary operation.
 
- 
 - 
Method Detail- 
containsVariablepublic boolean containsVariable(Variable var) Test if a variable is contained in the expression.- Specified by:
- containsVariablein class- Expression
- Parameters:
- var- The variable.
- Returns:
- True, when the variable is contained.
 
 - 
getExpressionpublic Expression getExpression() Get the expression.
 - 
toStringpublic java.lang.String toString() Get a string representation of this expression.- Overrides:
- toStringin class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object o) Test if this expression is equal to some object.- Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() Get the hash code of this expression.- Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-