org.openrdf.elmo.sesame.behaviours
Class SesameContainer
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<Object>
org.openrdf.elmo.sesame.behaviours.SesameContainer
- All Implemented Interfaces:
- Iterable<Object>, Collection<Object>, List<Object>, Mergeable, Refreshable
- Direct Known Subclasses:
- SesameContainerDisabler
public class SesameContainer
- extends AbstractList<Object>
- implements List<Object>, Refreshable, Mergeable
This behaviour provides a java.util.List interface for RDF containers.
- Author:
- James Leigh
| Methods inherited from class java.util.AbstractList |
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList |
| Methods inherited from interface java.util.List |
add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, subList, toArray, toArray |
SesameContainer
public SesameContainer(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
- Initialises the values of this instance with none-null values of the source Object.
- Specified by:
merge in interface Mergeable
set
public Object set(int index,
Object obj)
- Specified by:
set in interface List<Object>- Overrides:
set in class AbstractList<Object>
add
public void add(int index,
Object obj)
- Specified by:
add in interface List<Object>- Overrides:
add in class AbstractList<Object>
remove
public Object remove(int index)
- Specified by:
remove in interface List<Object>- Overrides:
remove in class AbstractList<Object>
get
public Object get(int index)
- Specified by:
get in interface List<Object>- Specified by:
get in class AbstractList<Object>
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>
toString
public String toString()
- Overrides:
toString in class AbstractCollection<Object>
Copyright © 2004-2008 Aduna. All Rights Reserved.