com.elasticpath.domain.skuconfiguration
Interface SkuOptionValue

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

public interface SkuOptionValue
extends ValueObject

Represents an available option value for a SKU option. Example option values include red, green, small, large, etc.


Field Summary
static java.lang.String LOCALIZED_PROPERTY_DISPLAY_NAME
          The name of localized property -- display name.
 
Method Summary
 java.lang.String getImage()
          Get the path to the image corresponding to this option value.
 LocalizedProperties getLocalizedProperties()
          Returns the LocalizedProperties.
 java.lang.String getOptionValueKey()
          Get the key corresponding to this option value.
 int getOrdering()
          Get the order in which this SKU option value should appear.
 void setImage(java.lang.String image)
          Set the path to the image corresponding to this option value.
 void setOptionValueKey(java.lang.String optionValueKey)
          Set the key corresponding to this option value.
 void setOrdering(int order)
          Set the order in which this SKU option value should appear.
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Field Detail

LOCALIZED_PROPERTY_DISPLAY_NAME

static final java.lang.String LOCALIZED_PROPERTY_DISPLAY_NAME
The name of localized property -- display name.

See Also:
Constant Field Values
Method Detail

getImage

java.lang.String getImage()
Get the path to the image corresponding to this option value.

Returns:
the path to the image

getLocalizedProperties

LocalizedProperties getLocalizedProperties()
Returns the LocalizedProperties.

Returns:
the LocalizedProperties

getOptionValueKey

java.lang.String getOptionValueKey()
Get the key corresponding to this option value.

Returns:
the key for this option value

getOrdering

int getOrdering()
Get the order in which this SKU option value should appear.

Returns:
the order number

setImage

void setImage(java.lang.String image)
Set the path to the image corresponding to this option value.

Parameters:
image - the path to the image corresponding to this option value

setOptionValueKey

void setOptionValueKey(java.lang.String optionValueKey)
Set the key corresponding to this option value.

Parameters:
optionValueKey - the key for this option

setOrdering

void setOrdering(int order)
Set the order in which this SKU option value should appear.

Parameters:
order - the ordering number