|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
org.eclipse.persistence.sdo.SDOSequence
public class SDOSequence
Nested Class Summary | |
---|---|
private static class |
SDOSequence.Key |
Field Summary | |
---|---|
private SDODataObject |
dataObject |
private java.util.List<Setting> |
settings |
private static java.lang.String |
TEXT_XPATH |
private java.util.Map<SDOSequence.Key,Setting> |
valuesToSettings |
Constructor Summary | |
---|---|
SDOSequence(SDODataObject dataObject) |
Method Summary | |
---|---|
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 |
private Setting |
convertToSetting(Property property, java.lang.Object value) |
private Setting |
convertToSetting(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment, NamespaceResolver nsResolver) |
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 |
private int |
getIndexInList(Property manyProp, java.lang.Object value) INTERNAL: Convenience method that, given a many property and a value, returns the associated Setting's index 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) |
private java.lang.Object |
getValue(Setting setting) |
protected java.util.Map<SDOSequence.Key,Setting> |
getValuesToSettings() |
private boolean |
isAllowedInSequence(Property property) |
void |
move(int toIndex, int fromIndex) |
void |
remove(int index) |
private void |
remove(Setting setting) |
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) |
private java.lang.Object |
setValue(Setting setting, java.lang.Object value) |
int |
size() |
void |
updateSettingWithoutModifyingDataObject(Property property, java.lang.Object oldValue, java.lang.Object newValue) INTERNAL: |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String TEXT_XPATH
private SDODataObject dataObject
private java.util.List<Setting> settings
private java.util.Map<SDOSequence.Key,Setting> valuesToSettings
Constructor Detail |
---|
public SDOSequence(SDODataObject dataObject)
Method Detail |
---|
public SDODataObject getDataObject()
public java.util.List<Setting> getSettings()
protected java.util.Map<SDOSequence.Key,Setting> getValuesToSettings()
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)
private boolean isAllowedInSequence(Property property)
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)
private java.lang.Object getValue(Setting setting)
public void move(int toIndex, int fromIndex)
public void remove(int index)
private void remove(Setting setting)
public void addValueToSettings(Setting setting)
setting
-public void removeValueToSettings(Setting setting)
setting
-public java.lang.Object setValue(int index, java.lang.Object value)
private java.lang.Object setValue(Setting setting, java.lang.Object value)
public int size()
private Setting convertToSetting(Property property, java.lang.Object value)
private Setting convertToSetting(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment, NamespaceResolver nsResolver)
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
-private int getIndexInList(Property manyProp, java.lang.Object value)
property
-public static Setting getRootSetting(Setting setting)
setting
-public void afterUnmarshal()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |