org.openrdf.elmo.sesame.behaviours
Class SesameList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<Object>
org.openrdf.elmo.sesame.behaviours.SesameList
- All Implemented Interfaces:
- Iterable<Object>, Collection<Object>, List<Object>, Mergeable, Refreshable
public class SesameList
- extends AbstractSequentialList<Object>
- implements List<Object>, Refreshable, Mergeable
Java instance for rdf:List as a familiar interface to manipulate this List.
This implemention can only be modified when in autoCommit (autoFlush), or
when read uncommitted is supported.
- Author:
- James Leigh
| Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray |
SesameList
public SesameList(Entity bean)
refresh
public void refresh()
- Description copied from interface:
Refreshable
- Flushes the local state of the entity forcing it to refresh.
- Specified by:
refresh in interface Refreshable
merge
public void merge(Object source)
- Description copied from interface:
Mergeable
- Copies the non-null values from the source Object into this instance.
- Specified by:
merge in interface Mergeable
size
public int size()
- Specified by:
size in interface Collection<Object>- Specified by:
size in interface List<Object>- Specified by:
size in class AbstractCollection<Object>
listIterator
public ListIterator<Object> listIterator(int index)
- Specified by:
listIterator in interface List<Object>- Specified by:
listIterator in class AbstractSequentialList<Object>
toString
public String toString()
- Overrides:
toString in class AbstractCollection<Object>
Copyright © 2004-2008 Aduna. All Rights Reserved.