public class SDOSequence extends Object implements commonj.sdo.Sequence
Constructor and Description |
---|
SDOSequence(SDODataObject dataObject) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
int propertyIndex,
Object value) |
boolean |
add(int propertyIndex,
Object value) |
void |
add(int index,
commonj.sdo.Property property,
Object value) |
void |
add(int index,
String text) |
void |
add(int index,
String propertyName,
Object value) |
boolean |
add(commonj.sdo.Property property,
Object value) |
void |
add(String text) |
boolean |
add(String propertyName,
Object value) |
boolean |
addSettingWithoutModifyingDataObject(int index,
commonj.sdo.Property property,
Object value)
INTERNAL: Add a setting to the list at the specified index.
|
boolean |
addSettingWithoutModifyingDataObject(commonj.sdo.Property property,
Object value)
INTERNAL:
|
boolean |
addSettingWithoutModifyingDataObject(commonj.sdo.Property property,
Object value,
boolean checkAllowed)
INTERNAL:
|
void |
addText(int index,
String text) |
void |
addText(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(commonj.sdo.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.
|
List<Setting> |
getSettings() |
Object |
getValue(int index) |
protected Map<org.eclipse.persistence.sdo.SDOSequence.Key,Setting> |
getValuesToSettings() |
void |
move(int toIndex,
int fromIndex) |
void |
remove(int index) |
void |
removeSettingWithoutModifyingDataObject(commonj.sdo.Property property)
INTERNAL:
|
void |
removeSettingWithoutModifyingDataObject(commonj.sdo.Property property,
Object value)
INTERNAL:
|
void |
removeValueToSettings(Setting setting)
INTERNAL:
|
Object |
setValue(int index,
Object value) |
int |
size() |
void |
updateSettingWithoutModifyingDataObject(commonj.sdo.Property property,
Object oldValue,
Object newValue)
INTERNAL:
|
public SDOSequence(SDODataObject dataObject)
public SDODataObject getDataObject()
protected Map<org.eclipse.persistence.sdo.SDOSequence.Key,Setting> getValuesToSettings()
public void add(int index, int propertyIndex, Object value)
add
in interface commonj.sdo.Sequence
public boolean add(int propertyIndex, Object value)
add
in interface commonj.sdo.Sequence
public void add(int index, commonj.sdo.Property property, Object value)
add
in interface commonj.sdo.Sequence
public void add(int index, String propertyName, Object value)
add
in interface commonj.sdo.Sequence
public void add(int index, String text)
add
in interface commonj.sdo.Sequence
public boolean add(commonj.sdo.Property property, Object value)
add
in interface commonj.sdo.Sequence
public boolean add(String propertyName, Object value)
add
in interface commonj.sdo.Sequence
public void add(String text)
add
in interface commonj.sdo.Sequence
public void addText(int index, String text)
addText
in interface commonj.sdo.Sequence
public void addText(String text)
addText
in interface commonj.sdo.Sequence
public SDOProperty getProperty(int index)
getProperty
in interface commonj.sdo.Sequence
public SDOProperty getProperty(Setting setting)
public Object getValue(int index)
getValue
in interface commonj.sdo.Sequence
public void move(int toIndex, int fromIndex)
move
in interface commonj.sdo.Sequence
public void remove(int index)
remove
in interface commonj.sdo.Sequence
public void addValueToSettings(Setting setting)
setting
- public void removeValueToSettings(Setting setting)
setting
- public Object setValue(int index, Object value)
setValue
in interface commonj.sdo.Sequence
public int size()
size
in interface commonj.sdo.Sequence
public SDOSequence copy()
public boolean addSettingWithoutModifyingDataObject(int index, commonj.sdo.Property property, Object value)
index
- the index at which to add the new Setting in the Settings listproperty
- value
- public boolean addSettingWithoutModifyingDataObject(commonj.sdo.Property property, Object value)
public boolean addSettingWithoutModifyingDataObject(commonj.sdo.Property property, Object value, boolean checkAllowed)
public void updateSettingWithoutModifyingDataObject(commonj.sdo.Property property, Object oldValue, Object newValue)
public void removeSettingWithoutModifyingDataObject(commonj.sdo.Property property, Object value)
public void removeSettingWithoutModifyingDataObject(commonj.sdo.Property property)
public int getIndexForProperty(commonj.sdo.Property property)
property
- public static Setting getRootSetting(Setting setting)
setting
- public void afterUnmarshal()
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.