com.genesyslab.ail
Interface InteractionAttributeValue

All Superinterfaces:
IdObject

public interface InteractionAttributeValue
extends IdObject

Defines a value for a specific InteractionAttributeMetaData.

See Also:
InteractionManager

Nested Class Summary
static class InteractionAttributeValue.Type
          Constants that describe the diferent types of InteractionAttribute.
 
Nested classes/interfaces inherited from interface com.genesyslab.ail.IdObject
IdObject.ObjectType
 
Method Summary
 java.lang.String getAttributeId()
          Returns the attribute identifier (InteractionAttributeMetaData) of this InteractionAttributeValue as a String.
 java.lang.String getAttributeName()
          Returns the attribute name InteractionAttributeMetaData of this InteractionAttributeValue as a String.
 java.util.Date getDateValue()
          Returns the date value of this InteractionAttributeValue as a Date according to the type.
 java.lang.String getDescription()
          Returns the description of this InteractionAttributeValue as a String.
 java.lang.Integer getIntValue()
          Returns the integer value of this InteractionAttributeValue as a Integer according to the type.
 java.lang.String getStrValue()
          Returns the string value of this InteractionAttributeValue as a String according to the type.
 InteractionAttributeValue.Type getType()
          Returns the type of this InteractionAttributeValue as a Type.
 boolean isDefault()
          Returns whether or not this value is a default value for the associated interaction attribute metadata.
 void setDateValue(java.util.Date value)
          Sets the date value of this InteractionAttributeValue as a Date according to the type.
 void setIntValue(java.lang.Integer value)
          Sets the integer value of this InteractionAttributeValue as a Integer according to the type.
 void setStrValue(java.lang.String value)
          Sets the string value of this InteractionAttributeValue as a String according to the type.
 
Methods inherited from interface com.genesyslab.ail.IdObject
getId, getObjectType
 

Method Detail

getType

InteractionAttributeValue.Type getType()
Returns the type of this InteractionAttributeValue as a Type.

Returns:
type as Type.

getStrValue

java.lang.String getStrValue()
Returns the string value of this InteractionAttributeValue as a String according to the type.

Returns:
the value as String.

setStrValue

void setStrValue(java.lang.String value)
Sets the string value of this InteractionAttributeValue as a String according to the type.

Parameters:
value - string value.

getIntValue

java.lang.Integer getIntValue()
Returns the integer value of this InteractionAttributeValue as a Integer according to the type.

Returns:
value as Integer.

setIntValue

void setIntValue(java.lang.Integer value)
Sets the integer value of this InteractionAttributeValue as a Integer according to the type.

Parameters:
value - Integer value.

getDateValue

java.util.Date getDateValue()
Returns the date value of this InteractionAttributeValue as a Date according to the type.

Returns:
a date as Date.

setDateValue

void setDateValue(java.util.Date value)
Sets the date value of this InteractionAttributeValue as a Date according to the type.

Parameters:
value - date value as a Date.

getDescription

java.lang.String getDescription()
Returns the description of this InteractionAttributeValue as a String.

Returns:
a description as String.

isDefault

boolean isDefault()
Returns whether or not this value is a default value for the associated interaction attribute metadata.

The default status of a value is defined in the Configuration Layer. true does not mean that this value is a primary one. Do not use this method for other purposes.

Returns:
status as boolean, true if this value is a default one.

getAttributeName

java.lang.String getAttributeName()
Returns the attribute name InteractionAttributeMetaData of this InteractionAttributeValue as a String.

Returns:
the name of the attribute as a String.

getAttributeId

java.lang.String getAttributeId()
Returns the attribute identifier (InteractionAttributeMetaData) of this InteractionAttributeValue as a String.

Returns:
the ID of the attribute as String.