public class SDOSequence
extends java.lang.Object
Constructor and Description |
---|
SDOSequence(SDODataObject dataObject) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index, int propertyIndex, java.lang.Object value) |
boolean |
add(int propertyIndex, java.lang.Object value) |
void |
add(int index, Property property, java.lang.Object value) |
void |
add(int index, java.lang.String text) |
boolean |
add(Property property, java.lang.Object value) |
void |
add(java.lang.String text) |
boolean |
addSettingWithoutModifyingDataObject(int index, Property property, java.lang.Object value)
INTERNAL: Add a setting to the list at the specified index.
|
boolean |
addSettingWithoutModifyingDataObject(Property property, java.lang.Object value)
INTERNAL:
|
boolean |
addSettingWithoutModifyingDataObject(Property property, java.lang.Object value, boolean checkAllowed)
INTERNAL:
|
void |
addText(int index, java.lang.String text) |
void |
addText(java.lang.String text) |
void |
addValueToSettings(Setting setting)
INTERNAL:
|
void |
afterUnmarshal()
INTERNAL: Ensure that each Setting in the settings list is also present in the valuesToSettings map
|
SDOSequence |
copy() |
SDODataObject |
getDataObject() |
int |
getIndexForProperty(Property property)
INTERNAL: Convenience method that returns the index of the Setting associated with a given property in the Settings list
|
SDOProperty |
getProperty(int index) |
SDOProperty |
getProperty(Setting setting) |
static Setting |
getRootSetting(Setting setting)
INTERNAL: Get the root Setting for a given Setting.
|
java.util.List<Setting> |
getSettings() |
java.lang.Object |
getValue(int index) |
void |
move(int toIndex, int fromIndex) |
void |
remove(int index) |
void |
removeSettingWithoutModifyingDataObject(Property property)
INTERNAL:
|
void |
removeSettingWithoutModifyingDataObject(Property property, java.lang.Object value)
INTERNAL:
|
void |
removeValueToSettings(Setting setting)
INTERNAL:
|
java.lang.Object |
setValue(int index, java.lang.Object value) |
int |
size() |
void |
updateSettingWithoutModifyingDataObject(Property property, java.lang.Object oldValue, java.lang.Object newValue)
INTERNAL:
|
public SDOSequence(SDODataObject dataObject)
public SDODataObject getDataObject()
public java.util.List<Setting> getSettings()
public void add(int index, int propertyIndex, java.lang.Object value)
public boolean add(int propertyIndex, java.lang.Object value)
public void add(int index, Property property, java.lang.Object value)
public void add(int index, java.lang.String text)
public boolean add(Property property, java.lang.Object value)
public void add(java.lang.String text)
public void addText(int index, java.lang.String text)
public void addText(java.lang.String text)
public SDOProperty getProperty(int index)
public SDOProperty getProperty(Setting setting)
public java.lang.Object getValue(int index)
public void move(int toIndex, int fromIndex)
public void remove(int index)
public void addValueToSettings(Setting setting)
setting
-public void removeValueToSettings(Setting setting)
setting
-public java.lang.Object setValue(int index, java.lang.Object value)
public int size()
public SDOSequence copy()
public boolean addSettingWithoutModifyingDataObject(int index, Property property, java.lang.Object value)
index
- the index at which to add the new Setting in the Settings listproperty
-value
-public boolean addSettingWithoutModifyingDataObject(Property property, java.lang.Object value)
public boolean addSettingWithoutModifyingDataObject(Property property, java.lang.Object value, boolean checkAllowed)
public void updateSettingWithoutModifyingDataObject(Property property, java.lang.Object oldValue, java.lang.Object newValue)
public void removeSettingWithoutModifyingDataObject(Property property, java.lang.Object value)
public void removeSettingWithoutModifyingDataObject(Property property)
public int getIndexForProperty(Property property)
property
-public static Setting getRootSetting(Setting setting)
setting
-public void afterUnmarshal()