|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.ExpressionNode
jet.api.ExpressionGroupInfo
public class ExpressionGroupInfo
| Field Summary | |
|---|---|
static int |
AND
|
static int |
OR
|
| Constructor Summary | |
|---|---|
ExpressionGroupInfo()
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
addExpression(ExpressionNode expressionInfo)
Adds a Expression into the Expression Group. |
ExpressionNode |
deleteExpression(int index)
Removes a Expression from the Expression Group. |
int |
getExpressionLogicType()
Gets the logic type of this Expression Group between others. |
java.util.List<ExpressionNode> |
getExpressions()
Gets all sub Expression Groups and Expressions of this Expression Group. |
void |
setExpressionLogicType(int expressionLogicType)
Sets the logic type of this Expression Group between others. |
void |
setExpressions(java.util.List<ExpressionNode> expressions)
Sets a set of all sub Expression Groups and Expressions. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int AND
public static final int OR
| Constructor Detail |
|---|
public ExpressionGroupInfo()
| Method Detail |
|---|
public ExpressionNode deleteExpression(int index)
public boolean addExpression(ExpressionNode expressionInfo)
expressionInfo - A sub Expression Group or Expression.
true if the Expression node was inserted successfully, otherwise return false.public java.util.List<ExpressionNode> getExpressions()
public void setExpressions(java.util.List<ExpressionNode> expressions)
expressions - a list of all sub Expression Groups and Expressionspublic int getExpressionLogicType()
AND or OR .
public void setExpressionLogicType(int expressionLogicType)
throws java.lang.IllegalArgumentException
expressionLogicType - the logic type of this Expression Group between others.
I.e, it is AND or OR .
java.lang.IllegalArgumentExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||