|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecore.sdo.util.BasicESequence
Delegates to a feature map
Field Summary | |
protected FeatureMap.Internal |
featureMap
|
Constructor Summary | |
BasicESequence(FeatureMap.Internal featureMap)
|
Method Summary | |
void |
add(int index,
int propertyIndex,
Object value)
Adds a new entry with the specified property index and value at the specified entry index. |
boolean |
add(int propertyIndex,
Object value)
Adds a new entry with the specified property index and value to the end of the entries. |
void |
add(int index,
Property property,
Object value)
Adds a new entry with the specified property and value at the specified entry index. |
void |
add(int index,
String text)
Adds a new entry with the specified text value at the specified entry index. |
void |
add(int index,
String propertyName,
Object value)
Adds a new entry with the specified property name and value at the specified entry index. |
boolean |
add(Property property,
Object value)
Adds a new entry with the specified property and value to the end of the entries. |
void |
add(String text)
Adds a new entry with the specified text value to the end of the entries. |
boolean |
add(String propertyName,
Object value)
Adds a new entry with the specified property name and value to the end of the entries. |
FeatureMap |
featureMap()
|
protected EStructuralFeature |
getEStructuralFeature(int propertyIndex)
|
protected EStructuralFeature |
getEStructuralFeature(String propertyName)
|
Property |
getProperty(int index)
Returns the property for the given entry index. |
Object |
getValue(int index)
Returns the property value for the given entry index. |
void |
move(int toIndex,
int fromIndex)
Moves the entry at fromIndex to toIndex . |
void |
remove(int index)
Removes the entry at the given entry index. |
Object |
setValue(int index,
Object value)
Sets the entry at a specified index to the new value. |
int |
size()
Returns the number of entries in the sequence. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected FeatureMap.Internal featureMap
Constructor Detail |
public BasicESequence(FeatureMap.Internal featureMap)
Method Detail |
public FeatureMap featureMap()
featureMap
in interface ESequence
public int size()
Sequence
size
in interface Sequence
public Property getProperty(int index)
Sequence
null
for mixed text entries.
getProperty
in interface Sequence
index
- the index of the entry.
null
for the given entry index.public Object getValue(int index)
Sequence
getValue
in interface Sequence
index
- the index of the entry.
public Object setValue(int index, Object value)
Sequence
setValue
in interface Sequence
index
- the index of the entry.value
- the new value for the entry.protected EStructuralFeature getEStructuralFeature(String propertyName)
protected EStructuralFeature getEStructuralFeature(int propertyIndex)
public boolean add(String propertyName, Object value)
Sequence
add
in interface Sequence
propertyName
- the name of the entry's property.value
- the value for the entry.public boolean add(int propertyIndex, Object value)
Sequence
add
in interface Sequence
propertyIndex
- the index of the entry's property.value
- the value for the entry.public boolean add(Property property, Object value)
Sequence
add
in interface Sequence
property
- the property of the entry.value
- the value for the entry.public void add(int index, String propertyName, Object value)
Sequence
add
in interface Sequence
index
- the index at which to add the entry.propertyName
- the name of the entry's property.value
- the value for the entry.public void add(int index, int propertyIndex, Object value)
Sequence
add
in interface Sequence
index
- the index at which to add the entry.propertyIndex
- the index of the entry's property.value
- the value for the entry.public void add(int index, Property property, Object value)
Sequence
add
in interface Sequence
index
- the index at which to add the entry.property
- the property of the entry.value
- the value for the entry.public void add(String text)
ESequence
add
in interface ESequence
text
- the value for the entry.public void add(int index, String text)
ESequence
add
in interface ESequence
index
- the index at which to add the entry.text
- the value of the entry.public void remove(int index)
Sequence
remove
in interface Sequence
index
- the index of the entrypublic void move(int toIndex, int fromIndex)
Sequence
fromIndex
to toIndex
.
move
in interface Sequence
toIndex
- the index of the entry destination.fromIndex
- the index of the entry to move.public String toString()
|
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 |