org.eclipse.emf.ecore.change
Interface ListChange

All Superinterfaces:
EObject, Notifier
All Known Implementing Classes:
ListChangeImpl

public interface ListChange
extends EObject

A representation of the model object 'List Change'.

The following features are supported:

See Also:
ChangePackage.getListChange()

Method Summary
 void apply(EList originalList)
           
 void applyAndReverse(EList originalList)
           
 EList getDataValues()
          Returns the value of the 'Data Values' attribute list.
 EStructuralFeature getFeature()
          Returns the value of the 'Feature' reference
 EList getFeatureMapEntryValues()
          Returns the value of the 'Feature Map Entry Values' containment reference list.
 int getIndex()
          Returns the value of the 'Index' attribute.
 ChangeKind getKind()
          Returns the value of the 'Kind' attribute.
 int getMoveToIndex()
          Returns the value of the 'Move To Index' attribute
 EList getReferenceValues()
          Returns the value of the 'Reference Values' reference list.
 EList getValues()
          Returns the value of the 'Values' attribute list.
 void setFeature(EStructuralFeature value)
          Sets the value of the 'Feature' reference
 void setIndex(int value)
          Sets the value of the 'Index' attribute
 void setKind(ChangeKind value)
          Sets the value of the 'Kind' attribute
 void setMoveToIndex(int value)
          Sets the value of the 'Move To Index' attribute
 
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
 

Method Detail

getKind

public ChangeKind getKind()
Returns the value of the 'Kind' attribute. The literals are from the enumeration ChangeKind.

If the meaning of the 'Kind' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Kind' attribute.
See Also:
ChangeKind, setKind(ChangeKind), ChangePackage.getListChange_Kind()

setKind

public void setKind(ChangeKind value)
Sets the value of the 'Kind' attribute.

Parameters:
value - the new value of the 'Kind' attribute.
See Also:
ChangeKind, getKind()

getDataValues

public EList getDataValues()
Returns the value of the 'Data Values' attribute list. The list contents are of type String.

If the meaning of the 'Data Values' attribute list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Data Values' attribute list.
See Also:
ChangePackage.getListChange_DataValues()

getIndex

public int getIndex()
Returns the value of the 'Index' attribute. The default value is "-1".

If the meaning of the 'Index' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Index' attribute.
See Also:
setIndex(int), ChangePackage.getListChange_Index()

setIndex

public void setIndex(int value)
Sets the value of the 'Index' attribute.

Parameters:
value - the new value of the 'Index' attribute.
See Also:
getIndex()

getMoveToIndex

public int getMoveToIndex()
Returns the value of the 'Move To Index' attribute.

If the meaning of the 'Move To Index' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Move To Index' attribute.
See Also:
setMoveToIndex(int), ChangePackage.getListChange_MoveToIndex()

setMoveToIndex

public void setMoveToIndex(int value)
Sets the value of the 'Move To Index' attribute.

Parameters:
value - the new value of the 'Move To Index' attribute.
See Also:
getMoveToIndex()

getReferenceValues

public EList getReferenceValues()
Returns the value of the 'Reference Values' reference list. The list contents are of type EObject.

If the meaning of the 'Reference Values' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Reference Values' reference list.
See Also:
ChangePackage.getListChange_ReferenceValues()

getFeature

public EStructuralFeature getFeature()
Returns the value of the 'Feature' reference.

If the meaning of the 'Feature' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Feature' reference.
See Also:
setFeature(EStructuralFeature), ChangePackage.getListChange_Feature()

setFeature

public void setFeature(EStructuralFeature value)
Sets the value of the 'Feature' reference.

Parameters:
value - the new value of the 'Feature' reference.
See Also:
getFeature()

getFeatureMapEntryValues

public EList getFeatureMapEntryValues()
Returns the value of the 'Feature Map Entry Values' containment reference list. The list contents are of type FeatureMapEntry.

If the meaning of the 'Feature Map Entry Values' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Feature Map Entry Values' containment reference list.
See Also:
ChangePackage.getListChange_FeatureMapEntryValues()

getValues

public EList getValues()
Returns the value of the 'Values' attribute list. The list contents are of type Object.

Returns:
the value of the 'Values' attribute list.
See Also:
ChangePackage.getListChange_Values()

apply

public void apply(EList originalList)


applyAndReverse

public void applyAndReverse(EList originalList)


Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.