com.elasticpath.domain.attribute
Interface AttributeValueWithType

All Superinterfaces:
AttributeValue, EpDomain, Persistence, java.io.Serializable, ValueObject
All Known Implementing Classes:
AttributeValueImpl

public interface AttributeValueWithType
extends AttributeValue

AttributeValueWithType is an association domain model which contains an Attribute with a value. Unlike AttributeValue, it also provide ways to access a typed value.


Method Summary
 java.lang.Boolean getBooleanValue()
          Get the boolean value.
 java.util.Date getDateValue()
          Get the date value.
 java.math.BigDecimal getDecimalValue()
          Get the decimal value.
 java.lang.Integer getIntegerValue()
          Get the integer value.
 java.lang.String getLongTextValue()
          Get the long text value.
 java.util.List getShortTextMultiValues()
          Get the multi-values for short text.
 java.lang.String getShortTextValue()
          Get the short text value.
 void setBooleanValue(java.lang.Boolean booleanValue)
          Set the boolean value.
 void setDateValue(java.util.Date dateValue)
          Set the date value.
 void setDecimalValue(java.math.BigDecimal decimalValue)
          Set the decimal value.
 void setIntegerValue(java.lang.Integer integerValue)
          Set the integer value.
 void setLongTextValue(java.lang.String longTextValue)
          Set the long text value.
 void setShortTextMultiValues(java.util.List shortTextMultiValues)
          Set the multi-values for short text.
 void setShortTextValue(java.lang.String shortTextValue)
          Set the short text value.
 
Methods inherited from interface com.elasticpath.domain.attribute.AttributeValue
getAttribute, getAttributeType, getLocalizedAttributeKey, getStringValue, getValue, setAttribute, setAttributeType, setStringValue, setValue
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Method Detail

getBooleanValue

java.lang.Boolean getBooleanValue()
Get the boolean value.

Returns:
the boolean value

getDateValue

java.util.Date getDateValue()
Get the date value.

Returns:
the date value

getDecimalValue

java.math.BigDecimal getDecimalValue()
Get the decimal value.

Returns:
the decimal value

getIntegerValue

java.lang.Integer getIntegerValue()
Get the integer value.

Returns:
the integer value

getLongTextValue

java.lang.String getLongTextValue()
Get the long text value.

Returns:
the long text value

getShortTextMultiValues

java.util.List getShortTextMultiValues()
Get the multi-values for short text.

Returns:
the shortTextMultiValues

getShortTextValue

java.lang.String getShortTextValue()
Get the short text value.

Returns:
the short text value

setBooleanValue

void setBooleanValue(java.lang.Boolean booleanValue)
Set the boolean value.

Parameters:
booleanValue - the boolean value

setDateValue

void setDateValue(java.util.Date dateValue)
Set the date value.

Parameters:
dateValue - the date value

setDecimalValue

void setDecimalValue(java.math.BigDecimal decimalValue)
Set the decimal value.

Parameters:
decimalValue - the decimal value

setIntegerValue

void setIntegerValue(java.lang.Integer integerValue)
Set the integer value.

Parameters:
integerValue - the integer value

setLongTextValue

void setLongTextValue(java.lang.String longTextValue)
Set the long text value.

Parameters:
longTextValue - the long text value

setShortTextMultiValues

void setShortTextMultiValues(java.util.List shortTextMultiValues)
Set the multi-values for short text.

Parameters:
shortTextMultiValues - the shortTextMultiValues to set

setShortTextValue

void setShortTextValue(java.lang.String shortTextValue)
Set the short text value.

Parameters:
shortTextValue - the short text value