public class PromotionCodeTypeImpl extends org.eclipse.emf.ecore.sdo.impl.EDataObjectImpl implements PromotionCodeType
The following features are implemented:
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.emf.common.util.EList | associatedPromotion
The cached value of the 'Associated Promotion' containment reference list.
|
protected java.lang.String | code
The cached value of the 'Code' attribute.
|
protected static java.lang.String | CODE_EDEFAULT
The default value of the 'Code' attribute.
|
protected com.ibm.commerce.foundation.common.datatypes.PromotionCodeReasonType | reason
The cached value of the 'Reason' containment reference.
|
protected UserDataType | userData
The cached value of the 'User Data' containment reference.
|
Modifier | Constructor and Description |
---|---|
protected | PromotionCodeTypeImpl() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.notify.NotificationChain | basicSetReason(com.ibm.commerce.foundation.common.datatypes.PromotionCodeReasonType newReason, org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain | basicSetUserData(UserDataType newUserData, org.eclipse.emf.common.notify.NotificationChain msgs) |
java.lang.Object | eGet(int featureID, boolean resolve, boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain | eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean | eIsSet(int featureID) |
void | eSet(int featureID, java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass | eStaticClass() |
void | eUnset(int featureID) |
java.util.List | getAssociatedPromotion() |
java.lang.String | getCode() |
com.ibm.commerce.foundation.common.datatypes.PromotionCodeReasonType | getReason() |
UserDataType | getUserData() |
void | setCode(java.lang.String newCode) |
void | setReason(com.ibm.commerce.foundation.common.datatypes.PromotionCodeReasonType newReason) |
void | setUserData(UserDataType newUserData) |
java.lang.String | toString() |
protected static final java.lang.String CODE_EDEFAULT
protected com.ibm.commerce.foundation.common.datatypes.PromotionCodeReasonType reason
protected org.eclipse.emf.common.util.EList associatedPromotion
protected UserDataType userData
protected org.eclipse.emf.ecore.EClass eStaticClass()
public java.lang.String getCode()
public void setCode(java.lang.String newCode)
public com.ibm.commerce.foundation.common.datatypes.PromotionCodeReasonType getReason()
public org.eclipse.emf.common.notify.NotificationChain basicSetReason(com.ibm.commerce.foundation.common.datatypes.PromotionCodeReasonType newReason, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setReason(com.ibm.commerce.foundation.common.datatypes.PromotionCodeReasonType newReason)
public java.util.List getAssociatedPromotion()
public UserDataType getUserData()
public org.eclipse.emf.common.notify.NotificationChain basicSetUserData(UserDataType newUserData, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setUserData(UserDataType newUserData)
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID, java.lang.Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public java.lang.String toString()