com.elasticpath.domain.impl
Class AbstractEpConstantImpl

java.lang.Object
  extended by com.elasticpath.domain.impl.AbstractEpConstantImpl
All Implemented Interfaces:
EpConstant, java.io.Serializable
Direct Known Subclasses:
OrderPaymentStatusImpl, OrderReturnReasonImpl, OrderShipmentStatusImpl, OrderStatusImpl, PaymentTypeImpl

public abstract class AbstractEpConstantImpl
extends java.lang.Object
implements EpConstant

* The default implementation of EpConstant.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
          Serial version id.
 
Constructor Summary
AbstractEpConstantImpl()
           
 
Method Summary
 int getCode()
          Return the code.
 java.lang.String getDescription()
          Return the description.
 void setCode(int code)
          Set the code.
 void setDescription(java.lang.String description)
          Set the description.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Serial version id.

See Also:
Constant Field Values
Constructor Detail

AbstractEpConstantImpl

public AbstractEpConstantImpl()
Method Detail

getCode

public int getCode()
Return the code.

Specified by:
getCode in interface EpConstant
Returns:
the code.

getDescription

public java.lang.String getDescription()
Return the description.

Specified by:
getDescription in interface EpConstant
Returns:
the description.

setCode

public void setCode(int code)
Set the code.

Specified by:
setCode in interface EpConstant
Parameters:
code - the code.

setDescription

public void setDescription(java.lang.String description)
Set the description.

Specified by:
setDescription in interface EpConstant
Parameters:
description - the description.