|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elasticpath.domain.impl.AbstractEpDomainImpl
com.elasticpath.domain.impl.AbstractPersistenceImpl
com.elasticpath.domain.impl.AbstractValueObjectImpl
com.elasticpath.domain.attribute.impl.AttributeUsageImpl
public class AttributeUsageImpl
A default implementation of a specification of AttributeUsage.
| Field Summary | |
|---|---|
static AttributeUsageImpl |
CATEGORY_USAGE
The category usage. |
static AttributeUsageImpl |
CUSTOMERPROFILE_USAGE
The customerprofile usage. |
static AttributeUsageImpl |
PRODUCT_USAGE
The product usage. |
static long |
serialVersionUID
Serial version id. |
static AttributeUsageImpl |
SKU_USAGE
The sku usage. |
| Fields inherited from interface com.elasticpath.domain.attribute.AttributeUsage |
|---|
CATEGORY, CUSTOMERPROFILE, PRODUCT, SKU |
| Constructor Summary | |
|---|---|
AttributeUsageImpl()
Empty default constructor. |
|
| Method Summary | |
|---|---|
static java.util.Map |
getAttributeUsageMap()
Return a map of attribute usages keyed by their value (int id). |
int |
getValue()
Returns the attribute usage value. |
void |
setValue(int value)
Sets the attribute usage value. |
java.lang.String |
toString()
Returns the name of object if defined. |
| 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 AttributeUsageImpl CATEGORY_USAGE
public static final AttributeUsageImpl CUSTOMERPROFILE_USAGE
public static final AttributeUsageImpl PRODUCT_USAGE
public static final long serialVersionUID
public static final AttributeUsageImpl SKU_USAGE
| Constructor Detail |
|---|
public AttributeUsageImpl()
| Method Detail |
|---|
public static java.util.Map getAttributeUsageMap()
public int getValue()
getValue in interface AttributeUsagepublic void setValue(int value)
setValue in interface AttributeUsagevalue - the attribute usage valuepublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||