public interface CustomerTagIf
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
int |
getCustomerId() |
java.util.Calendar |
getDateAdded()
The last time the value of the tag (for a customer) was modified
|
java.lang.String |
getDescription()
Description used in expression builder.
|
int |
getId() |
int |
getMaxInts()
When the tag value is of type
MULTI_INT_TYPE or
MULTI_INT_PLUS_TIME_TYPE , this attribute specifies the maximum number of
integers allowed. |
java.lang.String |
getName()
The tag name, normally in caps.
|
int |
getType()
The type of tag.
|
java.lang.String |
getValidation()
A regular expression validation string used when a new tag is inserted.
|
java.lang.String |
getValue()
The value of the tag for a customer.
|
int |
getWeighting() |
boolean |
isSetByApi()
When true the tag value can be set using the application (KKengIf) APIs
|
boolean |
isUsedInExpressions()
When true, the tag is added to the drop list of available tags in the Admin App expression
builder
|
boolean |
isValueExists() |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustom4(java.lang.String custom4) |
void |
setCustom5(java.lang.String custom5) |
void |
setCustomerId(int customerId) |
void |
setDateAdded(java.util.Calendar dateAdded)
The last time the value of the tag (for a customer) was modified
|
void |
setDescription(java.lang.String description)
Description used in expression builder.
|
void |
setId(int id) |
void |
setMaxInts(int maxInts)
When the tag value is of type
MULTI_INT_TYPE or
MULTI_INT_PLUS_TIME_TYPE , this attribute specifies the maximum number of
integers allowed. |
void |
setName(java.lang.String name)
The tag name, normally in caps.
|
void |
setSetByApi(boolean setByApi)
When true the tag value can be set using the application (KKengIf) APIs
|
void |
setType(int type)
The type of tag.
|
void |
setUsedInExpressions(boolean usedInExpressions)
When true, the tag is added to the drop list of available tags in the Admin App expression
builder
|
void |
setValidation(java.lang.String validation)
A regular expression validation string used when a new tag is inserted.
|
void |
setValue(java.lang.String value)
The value of the tag for a customer.
|
void |
setValueExists(boolean valueExists) |
void |
setWeighting(int weighting) |
int getId()
void setId(int id)
id
- the id to setjava.lang.String getName()
void setName(java.lang.String name)
name
- the name to setjava.lang.String getDescription()
void setDescription(java.lang.String description)
description
- the description to setjava.lang.String getValue()
void setValue(java.lang.String value)
value
- the value to setjava.lang.String getValidation()
void setValidation(java.lang.String validation)
validation
- the validation to setint getType()
STRING_TYPE
=0: The tag value is a StringINT_TYPE
=1: The tag value is an integerMULTI_INT_TYPE
=2: The tag value contains one or more integers separated by a
delimiter. The maxInts
attributes determines how many integers are allowed.DECIMAL_TYPE
=3: The tag value is a decimal.DATE_TYPE
=4: The tag value is a date.BOOLEAN_TYPE
=5: The tag value is a boolean and so must contain the string
true
or false
AGE_TYPE
=6: 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.MULTI_INT_PLUS_TIME_TYPE
=7: 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)void setType(int type)
STRING_TYPE
=0: The tag value is a StringINT_TYPE
=1: The tag value is an integerMULTI_INT_TYPE
=2: The tag value contains one or more integers separated by a
delimiter. The maxInts
attributes determines how many integers are allowed.DECIMAL_TYPE
=3: The tag value is a decimal.DATE_TYPE
=4: The tag value is a date.BOOLEAN_TYPE
=5: The tag value is a boolean and so must contain the string
true
or false
AGE_TYPE
=6: 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.MULTI_INT_PLUS_TIME_TYPE
=7: 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)type
- the type to setint getMaxInts()
MULTI_INT_TYPE
or
MULTI_INT_PLUS_TIME_TYPE
, this attribute specifies the maximum number of
integers allowed.void setMaxInts(int maxInts)
MULTI_INT_TYPE
or
MULTI_INT_PLUS_TIME_TYPE
, this attribute specifies the maximum number of
integers allowed.maxInts
- the maxInts to setjava.util.Calendar getDateAdded()
void setDateAdded(java.util.Calendar dateAdded)
dateAdded
- the dateAdded to setjava.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setjava.lang.String getCustom2()
void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setjava.lang.String getCustom3()
void setCustom3(java.lang.String custom3)
custom3
- the custom3 to setjava.lang.String getCustom4()
void setCustom4(java.lang.String custom4)
custom4
- the custom4 to setjava.lang.String getCustom5()
void setCustom5(java.lang.String custom5)
custom5
- the custom5 to setboolean isSetByApi()
void setSetByApi(boolean setByApi)
setByApi
- the setByApi to setint getCustomerId()
void setCustomerId(int customerId)
customerId
- the customerId to setboolean isValueExists()
void setValueExists(boolean valueExists)
valueExists
- the valueExists to setint getWeighting()
void setWeighting(int weighting)
weighting
- the weighting to setboolean isUsedInExpressions()
void setUsedInExpressions(boolean usedInExpressions)
usedInExpressions
- the usedInExpressions to setCopyright © 2018 DS Data Systems UK Ltd.