public class ArrayElementImpl extends ValueImpl implements ArrayElement
The following features are implemented:
Modifier and Type | Field and Description |
---|---|
protected int |
index
The cached value of the '
Index ' attribute. |
protected static int |
INDEX_EDEFAULT
The default value of the '
Index ' attribute. |
protected Value |
initialValue
The cached value of the '
Initial Value ' containment reference. |
protected Point |
position
The cached value of the '
Position ' containment reference. |
synched, SYNCHED_EDEFAULT
Modifier | Constructor and Description |
---|---|
protected |
ArrayElementImpl() |
Modifier and Type | Method and Description |
---|---|
NotificationChain |
basicSetInitialValue(Value newInitialValue,
NotificationChain msgs) |
NotificationChain |
basicSetPosition(Point newPosition,
NotificationChain msgs) |
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) |
int |
getIndex() |
Value |
getInitialValue() |
Point |
getPosition() |
void |
setIndex(int newIndex) |
void |
setInitialValue(Value newInitialValue) |
void |
setPosition(Point newPosition) |
java.lang.String |
toString() |
isSynched, setSynched
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isSynched, setSynched
protected static final int INDEX_EDEFAULT
Index
' attribute.
getIndex()
,
Constant Field Valuesprotected int index
Index
' attribute.
getIndex()
protected Point position
Position
' containment reference.
getPosition()
protected Value initialValue
Initial Value
' containment reference.
getInitialValue()
protected EClass eStaticClass()
eStaticClass
in class ValueImpl
public int getIndex()
getIndex
in interface ArrayElement
ArrayElement.setIndex(int)
,
ValuesPackage.getArrayElement_Index()
public void setIndex(int newIndex)
setIndex
in interface ArrayElement
newIndex
- the new value of the 'Index' attribute.ArrayElement.getIndex()
public Point getPosition()
getPosition
in interface ArrayElement
ArrayElement.setPosition(Point)
,
ValuesPackage.getArrayElement_Position()
public NotificationChain basicSetPosition(Point newPosition, NotificationChain msgs)
public void setPosition(Point newPosition)
setPosition
in interface ArrayElement
newPosition
- the new value of the 'Position' containment reference.ArrayElement.getPosition()
public Value getInitialValue()
getInitialValue
in interface ArrayElement
ArrayElement.setInitialValue(Value)
,
ValuesPackage.getArrayElement_InitialValue()
public NotificationChain basicSetInitialValue(Value newInitialValue, NotificationChain msgs)
public void setInitialValue(Value newInitialValue)
setInitialValue
in interface ArrayElement
newInitialValue
- the new value of the 'Initial Value' containment reference.ArrayElement.getInitialValue()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)