|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjhomenet.responsive.Expression
public class Expression
| Nested Class Summary | |
|---|---|
static class |
Expression.OPERATORS
|
| Constructor Summary | |
|---|---|
Expression()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
_AND()
Add an logical AND operator to the expression. |
void |
_CLOSE_PARENTHESIS()
Add a closing parenthesis to the expression. |
void |
_NOT()
Add a logical NOT operator to the expression. |
void |
_OPEN_PARENTHESIS()
Add a open parenthesis to the expression. |
void |
_OR()
Add a logical OR operator to the expression. |
void |
addCondition(Condition condition)
Add a condition to the expression. |
boolean |
equals(Expression testExpression)
Overridden equals method. |
java.lang.String |
getDescription()
Get the expression description. |
java.util.LinkedList<ExpressionElement> |
getExpressionelements()
Get the list of expression elements. |
java.lang.String |
getExpressionstring()
Get the expression as a string. |
void |
setDescription(java.lang.String description)
Set the expression description. |
void |
setExpressionstring(java.lang.String eString)
Parse the passed expression string and create an expression. |
java.lang.String |
toString()
Get a string representation of the expression. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Expression()
| Method Detail |
|---|
public void setDescription(java.lang.String description)
description - public java.lang.String getDescription()
public java.util.LinkedList<ExpressionElement> getExpressionelements()
public java.lang.String getExpressionstring()
public void setExpressionstring(java.lang.String eString)
eString - public void addCondition(Condition condition)
condition to the expression.
condition - Condition to add to the expressionpublic void _OPEN_PARENTHESIS()
public void _CLOSE_PARENTHESIS()
public void _OR()
public void _AND()
public void _NOT()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public boolean equals(Expression testExpression)
testExpression -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||