public class PromotionCodeTypeImpl extends org.eclipse.emf.ecore.sdo.impl.EDataObjectImpl implements PromotionCodeType
The following features are implemented:
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) |
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() |
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, detach, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChangeSummary, getChar, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInstanceProperties, getInstanceProperty, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getProperty, getRootObject, getSequence, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, set, set, set, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setList, setList, setList, setLong, setLong, setLong, setShort, setShort, setShort, setString, setString, setString, unset, unset, unset, writeReplace
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
eNotificationRequired, eNotify
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedStructuralFeatureID, eDirectResource, eGet, eInternalContainer, eInternalResource, eInverseAdd, eInverseRemove, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment
public java.lang.String getCode()
getCode
in interface PromotionCodeType
PromotionCodeType.setCode(String)
,
OrderPackage.getPromotionCodeType_Code()
public void setCode(java.lang.String newCode)
setCode
in interface PromotionCodeType
newCode
- the new value of the 'Code' attribute.PromotionCodeType.getCode()
public com.ibm.commerce.foundation.common.datatypes.PromotionCodeReasonType getReason()
getReason
in interface PromotionCodeType
PromotionCodeType.setReason(PromotionCodeReasonType)
,
OrderPackage.getPromotionCodeType_Reason()
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)
setReason
in interface PromotionCodeType
newReason
- the new value of the 'Reason' containment reference.PromotionCodeType.getReason()
public java.util.List getAssociatedPromotion()
getAssociatedPromotion
in interface PromotionCodeType
OrderPackage.getPromotionCodeType_AssociatedPromotion()
public UserDataType getUserData()
getUserData
in interface PromotionCodeType
PromotionCodeType.setUserData(UserDataType)
,
OrderPackage.getPromotionCodeType_UserData()
public org.eclipse.emf.common.notify.NotificationChain basicSetUserData(UserDataType newUserData, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setUserData(UserDataType newUserData)
setUserData
in interface PromotionCodeType
newUserData
- the new value of the 'User Data' containment reference.PromotionCodeType.getUserData()
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl