|
|||||||||||
| 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.ListChangeImpl
An implementation of the model object 'List Change'.
The following features are implemented:
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
BasicEObjectImpl.EPropertiesHolder, 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 EList |
dataValueDelegatingList
The data value delegating list is used to ensure that the elements are properly converted to and from strings when added and removed from the dataValues list. |
protected EList |
dataValues
The cached value of the ' Data Values' attribute list |
protected EStructuralFeature |
feature
The cached value of the ' Feature' reference |
protected int |
index
The cached value of the ' Index' attribute |
protected static int |
INDEX_EDEFAULT
The default value of the ' Index' attribute |
protected ChangeKind |
kind
The cached value of the ' Kind' attribute |
protected static ChangeKind |
KIND_EDEFAULT
The default value of the ' Kind' attribute |
protected static int |
MOVE_TO_INDEX_EDEFAULT
The default value of the ' Move To Index' attribute |
protected int |
moveToIndex
The cached value of the ' Move To Index' attribute |
protected EList |
referenceValues
The cached value of the ' Reference Values' reference list |
| 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 interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
protected |
ListChangeImpl()
|
| Method Summary | |
void |
apply(EList originalList)
|
void |
applyAndReverse(EList originalList)
|
EStructuralFeature |
basicGetFeature()
|
protected EList |
createDataValueDelegatingList()
Creates the data value delegating list |
Object |
eGet(EStructuralFeature eFeature,
boolean resolve)
|
boolean |
eIsSet(EStructuralFeature eFeature)
|
void |
eSet(EStructuralFeature eFeature,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(EStructuralFeature eFeature)
|
EList |
getDataValues()
|
EStructuralFeature |
getFeature()
Returns the value of the 'Feature' reference |
EStructuralFeature |
getFeatureGen()
|
int |
getIndex()
|
ChangeKind |
getKind()
|
int |
getMoveToIndex()
|
EList |
getReferenceValues()
|
EList |
getValues()
|
void |
setFeature(EStructuralFeature newFeature)
|
void |
setIndex(int newIndex)
|
void |
setKind(ChangeKind newKind)
|
void |
setMoveToIndex(int newMoveToIndex)
|
void |
setValues(EList values)
|
String |
toString()
|
| 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, eIsProxy, eResource |
| 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 ChangeKind KIND_EDEFAULT
Kind' attribute.
getKind()protected ChangeKind kind
Kind' attribute.
getKind()protected EList dataValues
Data Values' attribute list.
getDataValues()protected static final int INDEX_EDEFAULT
Index' attribute.
getIndex(),
Constant Field Valuesprotected int index
Index' attribute.
getIndex()protected static final int MOVE_TO_INDEX_EDEFAULT
Move To Index' attribute.
getMoveToIndex(),
Constant Field Valuesprotected int moveToIndex
Move To Index' attribute.
getMoveToIndex()protected EList referenceValues
Reference Values' reference list.
getReferenceValues()protected EStructuralFeature feature
Feature' reference.
getFeature()protected EList dataValueDelegatingList
| Constructor Detail |
protected ListChangeImpl()
| Method Detail |
protected EClass eStaticClass()
eStaticClass in class EObjectImplpublic ChangeKind getKind()
getKind in interface ListChangeChangeKind,
ListChange.setKind(ChangeKind),
ChangePackage.getListChange_Kind()public void setKind(ChangeKind newKind)
setKind in interface ListChangenewKind - the new value of the 'Kind' attribute.ChangeKind,
ListChange.getKind()public EList getDataValues()
getDataValues in interface ListChangeChangePackage.getListChange_DataValues()protected EList createDataValueDelegatingList()
public int getIndex()
getIndex in interface ListChangeListChange.setIndex(int),
ChangePackage.getListChange_Index()public void setIndex(int newIndex)
setIndex in interface ListChangenewIndex - the new value of the 'Index' attribute.ListChange.getIndex()public int getMoveToIndex()
getMoveToIndex in interface ListChangeListChange.setMoveToIndex(int),
ChangePackage.getListChange_MoveToIndex()public void setMoveToIndex(int newMoveToIndex)
setMoveToIndex in interface ListChangenewMoveToIndex - the new value of the 'Move To Index' attribute.ListChange.getMoveToIndex()public EList getReferenceValues()
getReferenceValues in interface ListChangeChangePackage.getListChange_ReferenceValues()public EStructuralFeature getFeatureGen()
public EStructuralFeature getFeature()
ListChangeIf the meaning of the 'Feature' reference isn't clear, there really should be more of a description here...
getFeature in interface ListChangeListChange.setFeature(EStructuralFeature),
ChangePackage.getListChange_Feature()public EStructuralFeature basicGetFeature()
public void setFeature(EStructuralFeature newFeature)
setFeature in interface ListChangenewFeature - the new value of the 'Feature' reference.ListChange.getFeature()public EList getValues()
getValues in interface ListChangeChangePackage.getListChange_Values()public void setValues(EList values)
public void apply(EList originalList)
apply in interface ListChangepublic void applyAndReverse(EList originalList)
applyAndReverse in interface ListChange
public Object eGet(EStructuralFeature eFeature,
boolean resolve)
eGet in interface EObjecteGet in class BasicEObjectImpl
public void eSet(EStructuralFeature eFeature,
Object newValue)
eSet in interface EObjecteSet in class BasicEObjectImplpublic void eUnset(EStructuralFeature eFeature)
eUnset in interface EObjecteUnset in class BasicEObjectImplpublic boolean eIsSet(EStructuralFeature eFeature)
eIsSet in interface EObjecteIsSet in class BasicEObjectImplpublic String toString()
toString in class BasicEObjectImpl
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||