com.elasticpath.domain.attribute
Interface AttributeUsage

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

public interface AttributeUsage
extends ValueObject

Defines where the Attribute is used for.


Field Summary
static int CATEGORY
          Category attribute usage id.
static int CUSTOMERPROFILE
          Customer Profile attribute usage id.
static int PRODUCT
          Product attribute usage id.
static int SKU
          Sku attribute usage id.
 
Method Summary
 int getValue()
          Returns the attribute usage value.
 void setValue(int value)
          Sets the attribute usage value.
 
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

CATEGORY

static final int CATEGORY
Category attribute usage id.

See Also:
Constant Field Values

CUSTOMERPROFILE

static final int CUSTOMERPROFILE
Customer Profile attribute usage id.

See Also:
Constant Field Values

PRODUCT

static final int PRODUCT
Product attribute usage id.

See Also:
Constant Field Values

SKU

static final int SKU
Sku attribute usage id.

See Also:
Constant Field Values
Method Detail

getValue

int getValue()
Returns the attribute usage value.

Returns:
the attribute usage value

setValue

void setValue(int value)
Sets the attribute usage value.

Parameters:
value - the attribute usage value