public interface ExpressionVariableIf
Modifier and Type | Method and Description |
---|---|
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.
|
int getId()
void setId(int id)
id
- the id to setint getCustomerTagId()
void setCustomerTagId(int customerTagId)
customerTagId
- the customerTagId to setint getExpressionId()
void setExpressionId(int expressionId)
expressionId
- the expressionId to setint 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.MULTI_INT_PLUS_TIME_TYPE
: The tag value contains one or more integer and
timestamp pairs separated by a delimiter. The maxInts
attributes determines how
many integers are allowed. The integer and timestamp are separated by a space character. The
timestamp is the number of milliseconds since 1st January 1970 (Epoch time)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.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.MULTI_INT_PLUS_TIME_TYPE
: The tag value contains one or more integer and
timestamp pairs separated by a delimiter. The maxInts
attributes determines how
many integers are allowed. The integer and timestamp are separated by a space character. The
timestamp is the number of milliseconds since 1st January 1970 (Epoch time)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 setint getOperator()
void setOperator(int operator)
operator
- the operator to setjava.lang.String getValue()
void setValue(java.lang.String value)
value
- the value to setjava.lang.String getCustomerValue()
value
attribute when
evaluating the expression variable.void setCustomerValue(java.lang.String customerValue)
value
attribute when
evaluating the expression variable.customerValue
- the customerValue to setint getOrder()
void setOrder(int order)
order
- the order to setint getAndOr()
void setAndOr(int andOr)
andOr
- the andOr to setint getGroupOrder()
void setGroupOrder(int groupOrder)
groupOrder
- the groupOrder to setint getGroupAndOr()
void setGroupAndOr(int groupAndOr)
groupAndOr
- the groupAndOr to setCopyright © 2018 DS Data Systems UK Ltd.