public class CoreSequence extends Object implements PlasmaSequence
| Modifier and Type | Method and Description |
|---|---|
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,
commonj.sdo.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)
Deprecated.
replaced by
addText(int, String) in 2.1.0 |
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(commonj.sdo.Property property,
Object value)
Adds a new entry with the specified property and value to the end of the
entries.
|
void |
add(String text)
Deprecated.
replaced by
addText(String) in 2.1.0 |
boolean |
add(String propertyName,
Object value)
Adds a new entry with the specified property name and value to the end of
the entries.
|
void |
addText(int index,
String text)
Adds a new text entry at the given index.
|
void |
addText(String text)
Adds a new text entry to the end of the Sequence.
|
commonj.sdo.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.
|
public int size()
size in interface commonj.sdo.Sequencepublic commonj.sdo.Property getProperty(int index)
null
for mixed text entries.getProperty in interface commonj.sdo.Sequenceindex - the index of the entry.null for the given entry index.public Object getValue(int index)
getValue in interface commonj.sdo.Sequenceindex - the index of the entry.public Object setValue(int index, Object value)
setValue in interface commonj.sdo.Sequenceindex - the index of the entry.value - the new value for the entry.public boolean add(String propertyName, Object value)
add in interface commonj.sdo.SequencepropertyName - the name of the entry's property.value - the value for the entry.public boolean add(int propertyIndex,
Object value)
add in interface commonj.sdo.SequencepropertyIndex - the index of the entry's property.value - the value for the entry.public boolean add(commonj.sdo.Property property,
Object value)
add in interface commonj.sdo.Sequenceproperty - the property of the entry.value - the value for the entry.public void add(int index,
String propertyName,
Object value)
add in interface commonj.sdo.Sequenceindex - 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)
add in interface commonj.sdo.Sequenceindex - 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,
commonj.sdo.Property property,
Object value)
add in interface commonj.sdo.Sequenceindex - the index at which to add the entry.property - the property of the entry.value - the value for the entry.public void remove(int index)
remove in interface commonj.sdo.Sequenceindex - the index of the entry.public void move(int toIndex,
int fromIndex)
fromIndex to toIndex.move in interface commonj.sdo.SequencetoIndex - the index of the entry destination.fromIndex - the index of the entry to move.public void add(String text)
addText(String) in 2.1.0add in interface commonj.sdo.Sequencepublic void add(int index,
String text)
addText(int, String) in 2.1.0add in interface commonj.sdo.Sequencepublic void addText(String text)
addText in interface commonj.sdo.Sequencetext - value of the entry.public void addText(int index,
String text)
addText in interface commonj.sdo.Sequenceindex - the index at which to add the entry.text - value of the entry.Copyright © 2021. All rights reserved.