|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.domain.impl.AbstractEpDomainImpl com.elasticpath.domain.impl.AbstractPersistenceImpl com.elasticpath.domain.skuconfiguration.impl.SkuOptionValueImpl
public class SkuOptionValueImpl
Represents an available option value for a SKU option. Example option values include red, green, small, large, etc.
Field Summary | |
---|---|
static long |
serialVersionUID
Serial version id. |
Fields inherited from interface com.elasticpath.domain.skuconfiguration.SkuOptionValue |
---|
LOCALIZED_PROPERTY_DISPLAY_NAME |
Constructor Summary | |
---|---|
SkuOptionValueImpl()
|
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 option value key corresponding to this option value. |
int |
getOrdering()
Get the ordering 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 |
setLocalizedProperties(LocalizedProperties localizedProperties)
Sets the LocalizedProperties . |
void |
setOptionValueKey(java.lang.String optionValueKey)
Set the option value key corresponding to this option value. |
void |
setOrdering(int ordering)
Set the ordering in which this SKU option value should appear. |
java.lang.String |
toString()
Gets a string representation of the SkuOptionValue . |
Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl |
---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl |
---|
getElasticPath, setElasticPath |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public SkuOptionValueImpl()
Method Detail |
---|
public java.lang.String getImage()
getImage
in interface SkuOptionValue
public LocalizedProperties getLocalizedProperties()
LocalizedProperties
.
getLocalizedProperties
in interface SkuOptionValue
LocalizedProperties
public java.lang.String getOptionValueKey()
getOptionValueKey
in interface SkuOptionValue
public int getOrdering()
getOrdering
in interface SkuOptionValue
public void setImage(java.lang.String image)
setImage
in interface SkuOptionValue
image
- the path to the image corresponding to this option valuepublic void setLocalizedProperties(LocalizedProperties localizedProperties)
LocalizedProperties
.
localizedProperties
- the LocalizedProperties
public void setOptionValueKey(java.lang.String optionValueKey)
setOptionValueKey
in interface SkuOptionValue
optionValueKey
- the option value key for this optionpublic void setOrdering(int ordering)
setOrdering
in interface SkuOptionValue
ordering
- the ordering numberpublic java.lang.String toString()
SkuOptionValue
.
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |