|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.elmo.sesame.SesameProperty<E>
E - public class SesameProperty<E>
A set for a given getResource(), predicate.
| Field Summary | |
|---|---|
protected PropertyChanger |
property
|
| Constructor Summary | |
|---|---|
SesameProperty(SesameEntity bean,
PropertyChanger property)
|
|
| Method Summary | ||
|---|---|---|
boolean |
add(E o)
This method always returns true |
|
boolean |
addAll(Collection<? extends E> c)
Append all values with the values given. |
|
void |
clear()
|
|
boolean |
contains(Object o)
|
|
boolean |
containsAll(Collection<?> c)
|
|
boolean |
equals(Object o)
|
|
Set<E> |
getAll()
Get all values for property. |
|
E |
getSingle()
Assumes there is zero or one value and return null or the value. |
|
int |
hashCode()
|
|
boolean |
isEmpty()
|
|
Iterator<E> |
iterator()
|
|
void |
refresh()
Flushes the local state of the entity forcing it to refresh. |
|
protected void |
refresh(Object o)
|
|
protected void |
refreshCache()
|
|
protected void |
refreshEntity()
|
|
boolean |
remove(Object o)
This method always returns true |
|
boolean |
removeAll(Collection<?> c)
|
|
boolean |
retainAll(Collection<?> c)
|
|
void |
setAll(Set<E> set)
Replaces all values with the values given. |
|
void |
setSingle(E o)
Replace all values with this value |
|
int |
size()
|
|
Object[] |
toArray()
|
|
|
toArray(T[] a)
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected PropertyChanger property
| Constructor Detail |
|---|
public SesameProperty(SesameEntity bean,
PropertyChanger property)
| Method Detail |
|---|
public void refresh()
Refreshable
refresh in interface Refreshablepublic boolean add(E o)
true
add in interface Collection<E>add in interface Set<E>add in interface ElmoProperty<E>truepublic boolean addAll(Collection<? extends E> c)
ElmoProperty
addAll in interface Collection<E>addAll in interface Set<E>addAll in interface ElmoProperty<E>public void clear()
clear in interface Collection<E>clear in interface Set<E>public boolean contains(Object o)
contains in interface Collection<E>contains in interface Set<E>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<E>containsAll in interface Set<E>public boolean equals(Object o)
equals in interface Collection<E>equals in interface Set<E>equals in class Objectpublic Set<E> getAll()
ElmoProperty
getAll in interface ElmoProperty<E>public E getSingle()
ElmoProperty
getSingle in interface ElmoProperty<E>public int hashCode()
hashCode in interface Collection<E>hashCode in interface Set<E>hashCode in class Objectpublic boolean isEmpty()
isEmpty in interface Collection<E>isEmpty in interface Set<E>public boolean remove(Object o)
true
remove in interface Collection<E>remove in interface Set<E>truepublic boolean removeAll(Collection<?> c)
removeAll in interface Collection<E>removeAll in interface Set<E>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<E>retainAll in interface Set<E>public void setAll(Set<E> set)
ElmoProperty
setAll in interface ElmoProperty<E>public void setSingle(E o)
ElmoProperty
setSingle in interface ElmoProperty<E>public int size()
size in interface Collection<E>size in interface Set<E>public Iterator<E> iterator()
iterator in interface Iterable<E>iterator in interface Collection<E>iterator in interface Set<E>public Object[] toArray()
toArray in interface Collection<E>toArray in interface Set<E>public <T> T[] toArray(T[] a)
toArray in interface Collection<E>toArray in interface Set<E>public String toString()
toString in class Objectprotected void refreshCache()
protected void refresh(Object o)
protected void refreshEntity()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||