|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.ecore.change.impl.FeatureChangeImpl
An implementation of the model object 'Feature Change'.
The following features are implemented:
Nested Class Summary |
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
BasicNotifierImpl.EAdapterList |
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
InternalEObject.EStore |
Field Summary | |
protected static String |
DATA_VALUE_EDEFAULT
The default value of the ' Data Value ' attribute |
protected static int |
EPROXY_FEATURECHANGE
The bit of EObjectImpl.eFlags that is used to represent if feature is a proxy. |
protected EStructuralFeature |
feature
|
protected static String |
FEATURE_NAME_EDEFAULT
The default value of the ' Feature Name ' attribute |
protected String |
featureName
|
protected EList |
listChanges
The cached value of the ' List Changes ' containment reference list |
protected boolean |
newIsSet
|
protected Object |
newValue
|
protected boolean |
set
The cached value of the ' Set ' attribute |
protected static boolean |
SET_EDEFAULT
The default value of the ' Set ' attribute |
protected Object |
value
|
protected static Object |
VALUE_EDEFAULT
The default value of the ' Value ' attribute |
protected String |
valueString
|
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
protected |
FeatureChangeImpl()
|
protected |
FeatureChangeImpl(EStructuralFeature feature,
Object value,
boolean isSet)
|
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
eNotificationRequired |
Field Detail |
protected static final int EPROXY_FEATURECHANGE
EObjectImpl.eFlags
that is used to represent if feature is a proxy.
protected static final String FEATURE_NAME_EDEFAULT
Feature Name
' attribute.
getFeatureName()
protected static final String DATA_VALUE_EDEFAULT
Data Value
' attribute.
getDataValue()
protected static final boolean SET_EDEFAULT
Set
' attribute.
isSet()
,
Constant Field Valuesprotected boolean set
Set
' attribute.
isSet()
protected static final Object VALUE_EDEFAULT
Value
' attribute.
getValue()
protected EList listChanges
List Changes
' containment reference list.
getListChanges()
protected EStructuralFeature feature
protected String featureName
protected Object value
protected String valueString
protected boolean newIsSet
protected Object newValue
Constructor Detail |
protected FeatureChangeImpl()
protected FeatureChangeImpl(EStructuralFeature feature, Object value, boolean isSet)
Method Detail |
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
public String getFeatureName()
getFeatureName
in interface FeatureChange
FeatureChange.isSetFeatureName()
,
FeatureChange.unsetFeatureName()
,
FeatureChange.setFeatureName(String)
,
ChangePackage.getFeatureChange_FeatureName()
public void setFeatureName(String newFeatureName)
setFeatureName
in interface FeatureChange
newFeatureName
- the new value of the 'Feature Name' attribute.FeatureChange.isSetFeatureName()
,
FeatureChange.unsetFeatureName()
,
FeatureChange.getFeatureName()
public void unsetFeatureName()
unsetFeatureName
in interface FeatureChange
FeatureChange.isSetFeatureName()
,
FeatureChange.getFeatureName()
,
FeatureChange.setFeatureName(String)
public boolean isSetFeatureName()
isSetFeatureName
in interface FeatureChange
FeatureChange.unsetFeatureName()
,
FeatureChange.getFeatureName()
,
FeatureChange.setFeatureName(String)
public String getDataValue()
getDataValue
in interface FeatureChange
FeatureChange.setDataValue(String)
,
ChangePackage.getFeatureChange_DataValue()
public void setDataValue(String newDataValue)
setDataValue
in interface FeatureChange
newDataValue
- the new value of the 'Data Value' attribute.FeatureChange.getDataValue()
public boolean isSet()
isSet
in interface FeatureChange
FeatureChange.setSet(boolean)
,
ChangePackage.getFeatureChange_Set()
public void setSet(boolean newSet)
setSet
in interface FeatureChange
newSet
- the new value of the 'Set' attribute.FeatureChange.isSet()
public EStructuralFeature getFeature()
getFeature
in interface FeatureChange
FeatureChange.isSetFeature()
,
FeatureChange.unsetFeature()
,
FeatureChange.setFeature(EStructuralFeature)
,
ChangePackage.getFeatureChange_Feature()
public EStructuralFeature basicGetFeature()
public void setFeature(EStructuralFeature newFeature)
setFeature
in interface FeatureChange
newFeature
- the new value of the 'Feature' reference.FeatureChange.isSetFeature()
,
FeatureChange.unsetFeature()
,
FeatureChange.getFeature()
public void unsetFeature()
unsetFeature
in interface FeatureChange
FeatureChange.isSetFeature()
,
FeatureChange.getFeature()
,
FeatureChange.setFeature(EStructuralFeature)
public boolean isSetFeature()
isSetFeature
in interface FeatureChange
FeatureChange.unsetFeature()
,
FeatureChange.getFeature()
,
FeatureChange.setFeature(EStructuralFeature)
public EObject getReferenceValue()
getReferenceValue
in interface FeatureChange
FeatureChange.setReferenceValue(EObject)
,
ChangePackage.getFeatureChange_ReferenceValue()
public EObject basicGetReferenceValue()
public void setReferenceValue(EObject newReferenceValue)
setReferenceValue
in interface FeatureChange
newReferenceValue
- the new value of the 'Reference Value' reference.FeatureChange.getReferenceValue()
public EList getListChanges()
getListChanges
in interface FeatureChange
ChangePackage.getFeatureChange_ListChanges()
public Object getValue()
getValue
in interface FeatureChange
ChangePackage.getFeatureChange_Value()
protected void setValue(Object value)
protected EList getListValue(EList originalList)
public void apply(EObject originalObject)
apply
in interface FeatureChange
public void applyAndReverse(EObject originalObject)
applyAndReverse
in interface FeatureChange
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class BasicEObjectImpl
public void preApply(EObject originalObject, boolean reverse)
protected void apply(EList toList)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class BasicEObjectImpl
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
eSet
in class BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class BasicEObjectImpl
public String toString()
toString
in class BasicEObjectImpl
protected ListChange createListChange(EList changesList, ChangeKind kind, int index)
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |