|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakart.wsapp.ExpressionVariable
public class ExpressionVariable
Describes an expression variable object
Constructor Summary | |
---|---|
ExpressionVariable()
|
Method Summary | |
---|---|
int |
getAndOr()
Defines whether this variable has to be ANDed or ORed with the one that precedes it. |
int |
getCustomerTagId()
Id of the customer tag for this variable |
java.lang.String |
getCustomerValue()
The customer value for the tag which is compared to the value attribute when
evaluating the expression variable. |
int |
getExpressionId()
Id of the expression that this variable belongs to |
int |
getGroupAndOr()
Defines whether this group has to be ANDed or ORed with the one that precedes it. |
int |
getGroupOrder()
The order of the group that this expression variable belongs to. |
int |
getId()
|
int |
getOperator()
Valid operators are: ExpressionVariable.EQUAL ExpressionVariable.NOT_EQUAL ExpressionVariable.GREATER_EQUAL ExpressionVariable.GREATER_THAN ExpressionVariable.LESS_EQUAL ExpressionVariable.LESS_THAN ExpressionVariable.MATCH - Used to match regular expression Note that not all operators are valid for all tag types. |
int |
getOrder()
The order of this expression variable. |
int |
getType()
The type of variable. |
java.lang.String |
getValue()
The value of the expression variable. |
void |
setAndOr(int _andOr)
Defines whether this variable has to be ANDed or ORed with the one that precedes it. |
void |
setCustomerTagId(int _customerTagId)
Id of the customer tag for this variable |
void |
setCustomerValue(java.lang.String _customerValue)
The customer value for the tag which is compared to the value attribute when
evaluating the expression variable. |
void |
setExpressionId(int _expressionId)
Id of the expression that this variable belongs to |
void |
setGroupAndOr(int _groupAndOr)
Defines whether this group has to be ANDed or ORed with the one that precedes it. |
void |
setGroupOrder(int _groupOrder)
The order of the group that this expression variable belongs to. |
void |
setId(int _id)
|
void |
setOperator(int _operator)
Valid operators are: ExpressionVariable.EQUAL ExpressionVariable.NOT_EQUAL ExpressionVariable.GREATER_EQUAL ExpressionVariable.GREATER_THAN ExpressionVariable.LESS_EQUAL ExpressionVariable.LESS_THAN ExpressionVariable.MATCH - Used to match regular expression Note that not all operators are valid for all tag types. |
void |
setOrder(int _order)
The order of this expression variable. |
void |
setType(int _type)
The type of variable. |
void |
setValue(java.lang.String _value)
The value of the expression variable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpressionVariable()
Method Detail |
---|
public int getId()
public void setId(int _id)
_id
- the id to setpublic int getCustomerTagId()
public void setCustomerTagId(int _customerTagId)
_customerTagId
- the customerTagId to setpublic int getExpressionId()
public void setExpressionId(int _expressionId)
_expressionId
- the expressionId to setpublic int getType()
CustomerTag.STRING_TYPE
: The value is a StringCustomerTag.INT_TYPE
: The value is an integerCustomerTag.MULTI_INT_TYPE
: The value contains one or more integers
separated by a delimiter. The maxInts
attributes determines how many integers
are allowed.CustomerTag.DECIMAL_TYPE
: The value is a decimal.CustomerTag.DATE_TYPE
: The value is a date.CustomerTag.BOOLEAN_TYPE
: The value is a boolean and so must contain the
string true
or false
CustomerTag.AGE_TYPE
: The tag value is a date. When creating expressions you
can define the value to be greater or less than a length of time (in seconds) rather than
comparing it to a specific date.
public void setType(int _type)
CustomerTag.STRING_TYPE
: The value is a StringCustomerTag.INT_TYPE
: The value is an integerCustomerTag.MULTI_INT_TYPE
: The value contains one or more integers
separated by a delimiter. The maxInts
attributes determines how many integers
are allowed.CustomerTag.DECIMAL_TYPE
: The value is a decimal.CustomerTag.DATE_TYPE
: The value is a date.CustomerTag.BOOLEAN_TYPE
: The value is a boolean and so must contain the
string true
or false
CustomerTag.AGE_TYPE
: The tag value is a date. When creating expressions you
can define the value to be greater or less than a length of time (in seconds) rather than
comparing it to a specific date.
_type
- the type to setpublic int getOperator()
public void setOperator(int _operator)
_operator
- the operator to setpublic java.lang.String getValue()
public void setValue(java.lang.String _value)
_value
- the value to setpublic java.lang.String getCustomerValue()
value
attribute when
evaluating the expression variable.
public void setCustomerValue(java.lang.String _customerValue)
value
attribute when
evaluating the expression variable.
_customerValue
- the customerValue to setpublic int getOrder()
public void setOrder(int _order)
_order
- the order to setpublic int getAndOr()
public void setAndOr(int _andOr)
_andOr
- the andOr to setpublic int getGroupOrder()
public void setGroupOrder(int _groupOrder)
_groupOrder
- the groupOrder to setpublic int getGroupAndOr()
public void setGroupAndOr(int _groupAndOr)
_groupAndOr
- the groupAndOr to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |