|
EclipseLink 1.1.0_ 1.1.0.r3634 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.persistence.sdo.helper.ListWrapper
org.eclipse.persistence.sdo.helper.jaxb.JAXBListWrapper
public class JAXBListWrapper
| Field Summary |
|---|
| Fields inherited from class org.eclipse.persistence.sdo.helper.ListWrapper |
|---|
currentElements, dataObject, property |
| Constructor Summary | |
|---|---|
JAXBListWrapper(JAXBValueStore theJAXBValueStore,
SDOProperty theProperty)
|
|
JAXBListWrapper(JAXBValueStore theJAXBValueStore,
SDOProperty theProperty,
java.util.List list)
|
|
| Method Summary | |
|---|---|
void |
add(int index,
java.lang.Object item,
boolean updateSequence)
INTERNAL: |
boolean |
add(java.lang.Object item,
boolean updateSequence)
INTERNAL: |
boolean |
addAll(java.util.Collection items,
boolean updateSequence)
INTERNAL: Appends all of the currentElements in the specified Collection to the end of this list, in the order that they are returned by the specified Collection's Iterator. |
boolean |
addAll(int position,
java.util.Collection items,
boolean updateSequence)
|
boolean |
contains(java.lang.Object item)
|
boolean |
containsAll(java.util.Collection items)
|
protected void |
copyElements()
INTERNAL: Shallow copy elements |
java.lang.Object |
get(int index)
|
java.util.List |
getCurrentElements()
INTERNAL: |
int |
indexOf(java.lang.Object item)
|
boolean |
isEmpty()
|
java.util.Iterator |
iterator()
|
int |
lastIndexOf(java.lang.Object item)
|
java.util.ListIterator |
listIterator()
|
java.util.ListIterator |
listIterator(int position)
|
java.lang.Object |
remove(int index,
boolean updateSequence)
INTERNAL: Removes the element at the specified position in this list. |
boolean |
remove(java.lang.Object item,
boolean fromDelete,
boolean updateSequence)
INTERNAL: Remove the item or first occurrence of the item. |
void |
setCurrentElements(java.util.List newElements)
INTERNAL: bypass containment and changesummary copy of element list on modifications |
int |
size()
|
void |
undoChanges(SDOChangeSummary cs)
INTERNAL: Undo any changes and return the original List |
protected void |
updateContainment(java.lang.Object item,
boolean updateSequence)
INTERNAL: |
java.lang.Object |
writeReplace()
INTERNAL: Defined in SDO 2.01 spec on page 65 Externalizable function is called by ObjectStream.writeObject() A replacement object for serialization can be called here. |
| Methods inherited from class org.eclipse.persistence.sdo.helper.ListWrapper |
|---|
add, add, addAll, addAll, clear, clear, clone, remove, remove, removeAll, removeAll, removeContainment, removeContainment, retainAll, set, subList, toArray, toArray, updateContainment, updateSequence |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public JAXBListWrapper(JAXBValueStore theJAXBValueStore,
SDOProperty theProperty)
public JAXBListWrapper(JAXBValueStore theJAXBValueStore,
SDOProperty theProperty,
java.util.List list)
| Method Detail |
|---|
public boolean add(java.lang.Object item,
boolean updateSequence)
ListWrapper
add in class ListWrapper
public void add(int index,
java.lang.Object item,
boolean updateSequence)
ListWrapper
add in class ListWrapperprotected void copyElements()
ListWrapper
copyElements in class ListWrapperpublic java.util.List getCurrentElements()
ListWrapper
getCurrentElements in class ListWrapperpublic void setCurrentElements(java.util.List newElements)
ListWrapper
setCurrentElements in class ListWrapperpublic void undoChanges(SDOChangeSummary cs)
ListWrapper
undoChanges in class ListWrapper
public boolean remove(java.lang.Object item,
boolean fromDelete,
boolean updateSequence)
ListWrapper
remove in class ListWrapper
public boolean addAll(java.util.Collection items,
boolean updateSequence)
ListWrapper
addAll in class ListWrapper
public boolean addAll(int position,
java.util.Collection items,
boolean updateSequence)
addAll in class ListWrapperpublic int size()
size in interface java.util.Collectionsize in interface java.util.Listsize in class ListWrapperpublic boolean isEmpty()
isEmpty in interface java.util.CollectionisEmpty in interface java.util.ListisEmpty in class ListWrapperpublic boolean contains(java.lang.Object item)
contains in interface java.util.Collectioncontains in interface java.util.Listcontains in class ListWrapperpublic boolean containsAll(java.util.Collection items)
containsAll in interface java.util.CollectioncontainsAll in interface java.util.ListcontainsAll in class ListWrapper
public java.lang.Object remove(int index,
boolean updateSequence)
ListWrapper
remove in class ListWrapperpublic java.lang.Object get(int index)
get in interface java.util.Listget in class ListWrapperpublic java.util.ListIterator listIterator()
listIterator in interface java.util.ListlistIterator in class ListWrapperpublic java.util.ListIterator listIterator(int position)
listIterator in interface java.util.ListlistIterator in class ListWrapperpublic int indexOf(java.lang.Object item)
indexOf in interface java.util.ListindexOf in class ListWrapperpublic int lastIndexOf(java.lang.Object item)
lastIndexOf in interface java.util.ListlastIndexOf in class ListWrapperpublic java.lang.Object writeReplace()
ListWrapper
writeReplace in class ListWrapperSDOResolvablepublic java.util.Iterator iterator()
iterator in interface java.lang.Iterableiterator in interface java.util.Collectioniterator in interface java.util.Listiterator in class ListWrapper
protected void updateContainment(java.lang.Object item,
boolean updateSequence)
ListWrapper
updateContainment in class ListWrapper
|
EclipseLink 1.1.0_ 1.1.0.r3634 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||