com.konakart.json.app
Class J_CustomerTag

java.lang.Object
  extended by com.konakart.json.app.J_CustomerTag
All Implemented Interfaces:
java.io.Serializable

public class J_CustomerTag
extends java.lang.Object
implements java.io.Serializable

A customer tag is used to save customer related information used mainly for marketing purposes.

See Also:
Serialized Form

Constructor Summary
J_CustomerTag()
           
 
Method Summary
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 java.lang.String getCustom4()
           
 java.lang.String getCustom5()
           
 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, 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.
 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 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, this attribute specifies the maximum number of integers allowed.
 void setName(java.lang.String _name)
          The tag name, normally in caps.
 void setType(int _type)
          The type of tag.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J_CustomerTag

public J_CustomerTag()
Method Detail

getId

public int getId()
Returns:
the id

setId

public void setId(int _id)
Parameters:
_id - the id to set

getName

public java.lang.String getName()
The tag name, normally in caps. i.e. AGE, PRODUCTS_VIEWED, SEARCH_STRING

Returns:
the name

setName

public void setName(java.lang.String _name)
The tag name, normally in caps. i.e. AGE, PRODUCTS_VIEWED, SEARCH_STRING

Parameters:
_name - the name to set

getDescription

public java.lang.String getDescription()
Description used in expression builder. i.e. Age of customer, Product recently viewed etc.

Returns:
the description

setDescription

public void setDescription(java.lang.String _description)
Description used in expression builder. i.e. Age of customer, Product recently viewed etc.

Parameters:
_description - the description to set

getValue

public java.lang.String getValue()
The value of the tag for a customer.

Returns:
the value

setValue

public void setValue(java.lang.String _value)
The value of the tag for a customer.

Parameters:
_value - the value to set

getValidation

public java.lang.String getValidation()
A regular expression validation string used when a new tag is inserted.

Returns:
the validation

setValidation

public void setValidation(java.lang.String _validation)
A regular expression validation string used when a new tag is inserted.

Parameters:
_validation - the validation to set

getType

public int getType()
The type of tag. Valid values are:

Returns:
the type

setType

public void setType(int _type)
The type of tag. Valid values are:
  • STRING_TYPE=0: The tag value is a String
  • INT_TYPE=1: The tag value is an integer
  • MULTI_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

Parameters:
_type - the type to set

getMaxInts

public int getMaxInts()
When the tag value is of type MULTI_INT_TYPE, this attribute specifies the maximum number of integers allowed.

Returns:
the maxInts

setMaxInts

public void setMaxInts(int _maxInts)
When the tag value is of type MULTI_INT_TYPE, this attribute specifies the maximum number of integers allowed.

Parameters:
_maxInts - the maxInts to set

getDateAdded

public java.util.Calendar getDateAdded()
The last time the value of the tag (for a customer) was modified

Returns:
the dateAdded

setDateAdded

public void setDateAdded(java.util.Calendar _dateAdded)
The last time the value of the tag (for a customer) was modified

Parameters:
_dateAdded - the dateAdded to set

getCustom1

public java.lang.String getCustom1()
Returns:
the custom1

setCustom1

public void setCustom1(java.lang.String _custom1)
Parameters:
_custom1 - the custom1 to set

getCustom2

public java.lang.String getCustom2()
Returns:
the custom2

setCustom2

public void setCustom2(java.lang.String _custom2)
Parameters:
_custom2 - the custom2 to set

getCustom3

public java.lang.String getCustom3()
Returns:
the custom3

setCustom3

public void setCustom3(java.lang.String _custom3)
Parameters:
_custom3 - the custom3 to set

getCustom4

public java.lang.String getCustom4()
Returns:
the custom4

setCustom4

public void setCustom4(java.lang.String _custom4)
Parameters:
_custom4 - the custom4 to set

getCustom5

public java.lang.String getCustom5()
Returns:
the custom5

setCustom5

public void setCustom5(java.lang.String _custom5)
Parameters:
_custom5 - the custom5 to set


Copyright © 2011 DS Data Systems UK Ltd.