|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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
public class FeatureChangeImpl
An implementation of the model object 'Feature Change'.
The following features are implemented:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
InternalEObject.EStore |
Field Summary | |
---|---|
protected static java.lang.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 java.lang.String |
FEATURE_NAME_EDEFAULT
The default value of the ' Feature Name ' attribute |
protected java.lang.String |
featureName
|
protected EList<ListChange> |
listChanges
The cached value of the ' List Changes ' containment reference list |
protected boolean |
newIsSet
|
protected java.lang.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 java.lang.Object |
value
|
protected static java.lang.Object |
VALUE_EDEFAULT
The default value of the ' Value ' attribute |
protected java.lang.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,
java.lang.Object value,
boolean isSet)
|
Method Summary | |
---|---|
protected void |
apply(EList<java.lang.Object> toList)
|
void |
apply(EObject originalObject)
|
protected void |
apply(EObject originalObject,
boolean reverse)
|
protected void |
applyAndReverse(EList<java.lang.Object> toList)
|
void |
applyAndReverse(EObject originalObject)
|
EStructuralFeature |
basicGetFeature()
|
EObject |
basicGetReferenceValue()
|
protected ListChange |
createListChange(EList<ListChange> changesList,
ChangeKind kind,
int index)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
java.lang.String |
getDataValue()
|
EStructuralFeature |
getFeature()
|
java.lang.String |
getFeatureName()
|
EList<ListChange> |
getListChanges()
|
protected EList<?> |
getListValue(EList<?> originalList)
|
EObject |
getReferenceValue()
|
java.lang.Object |
getValue()
|
boolean |
isSet()
|
boolean |
isSetFeature()
|
boolean |
isSetFeatureName()
|
void |
preApply(EObject originalObject,
boolean reverse)
|
void |
setDataValue(java.lang.String newDataValue)
|
void |
setFeature(EStructuralFeature newFeature)
|
void |
setFeatureName(java.lang.String newFeatureName)
|
void |
setReferenceValue(EObject newReferenceValue)
|
void |
setSet(boolean newSet)
|
protected void |
setValue(java.lang.Object value)
|
java.lang.String |
toString()
|
void |
unsetFeature()
|
void |
unsetFeatureName()
|
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 java.lang.String FEATURE_NAME_EDEFAULT
Feature Name
' attribute.
getFeatureName()
protected static final java.lang.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 java.lang.Object VALUE_EDEFAULT
Value
' attribute.
getValue()
protected EList<ListChange> listChanges
List Changes
' containment reference list.
getListChanges()
protected EStructuralFeature feature
protected java.lang.String featureName
protected java.lang.Object value
protected java.lang.String valueString
protected boolean newIsSet
protected java.lang.Object newValue
Constructor Detail |
---|
protected FeatureChangeImpl()
protected FeatureChangeImpl(EStructuralFeature feature, java.lang.Object value, boolean isSet)
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
public java.lang.String getFeatureName()
getFeatureName
in interface FeatureChange
FeatureChange.isSetFeatureName()
,
FeatureChange.unsetFeatureName()
,
FeatureChange.setFeatureName(String)
,
ChangePackage.getFeatureChange_FeatureName()
public void setFeatureName(java.lang.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 java.lang.String getDataValue()
getDataValue
in interface FeatureChange
FeatureChange.setDataValue(String)
,
ChangePackage.getFeatureChange_DataValue()
public void setDataValue(java.lang.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<ListChange> getListChanges()
getListChanges
in interface FeatureChange
ChangePackage.getFeatureChange_ListChanges()
public java.lang.Object getValue()
getValue
in interface FeatureChange
ChangePackage.getFeatureChange_Value()
protected void setValue(java.lang.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
protected void apply(EObject originalObject, boolean reverse)
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class BasicEObjectImpl
public void preApply(EObject originalObject, boolean reverse)
protected void apply(EList<java.lang.Object> toList)
protected void applyAndReverse(EList<java.lang.Object> toList)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class BasicEObjectImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class BasicEObjectImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class BasicEObjectImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class BasicEObjectImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.String toString()
toString
in class BasicEObjectImpl
protected ListChange createListChange(EList<ListChange> 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 |