|
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 ListWrapper
protected void copyElements()
ListWrapper
copyElements
in class ListWrapper
public java.util.List getCurrentElements()
ListWrapper
getCurrentElements
in class ListWrapper
public void setCurrentElements(java.util.List newElements)
ListWrapper
setCurrentElements
in class ListWrapper
public 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 ListWrapper
public int size()
size
in interface java.util.Collection
size
in interface java.util.List
size
in class ListWrapper
public boolean isEmpty()
isEmpty
in interface java.util.Collection
isEmpty
in interface java.util.List
isEmpty
in class ListWrapper
public boolean contains(java.lang.Object item)
contains
in interface java.util.Collection
contains
in interface java.util.List
contains
in class ListWrapper
public boolean containsAll(java.util.Collection items)
containsAll
in interface java.util.Collection
containsAll
in interface java.util.List
containsAll
in class ListWrapper
public java.lang.Object remove(int index, boolean updateSequence)
ListWrapper
remove
in class ListWrapper
public java.lang.Object get(int index)
get
in interface java.util.List
get
in class ListWrapper
public java.util.ListIterator listIterator()
listIterator
in interface java.util.List
listIterator
in class ListWrapper
public java.util.ListIterator listIterator(int position)
listIterator
in interface java.util.List
listIterator
in class ListWrapper
public int indexOf(java.lang.Object item)
indexOf
in interface java.util.List
indexOf
in class ListWrapper
public int lastIndexOf(java.lang.Object item)
lastIndexOf
in interface java.util.List
lastIndexOf
in class ListWrapper
public java.lang.Object writeReplace()
ListWrapper
writeReplace
in class ListWrapper
SDOResolvable
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in interface java.util.List
iterator
in class ListWrapper
protected void updateContainment(java.lang.Object item, boolean updateSequence)
ListWrapper
updateContainment
in class ListWrapper
|
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |