|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.elmo.impl.UnmodifiableElmoProperty<E>
E - property typepublic class UnmodifiableElmoProperty<E>
ElmoProperty used when only a getter method exists for the Bean property.
| Constructor Summary | |
|---|---|
UnmodifiableElmoProperty(ElmoProperty<E> delegate)
|
|
| Method Summary | |
|---|---|
Set<E> |
getAll()
Get all values for property. |
E |
getSingle()
Assumes there is zero or one value and return null or the value. |
void |
refresh()
Flushes the local state of the entity forcing it to refresh. |
void |
setAll(Set<E> all)
Replaces all values with the values given. |
void |
setSingle(E single)
Replace all values with this value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnmodifiableElmoProperty(ElmoProperty<E> delegate)
| Method Detail |
|---|
public Set<E> getAll()
ElmoProperty
getAll in interface ElmoProperty<E>public E getSingle()
ElmoProperty
getSingle in interface ElmoProperty<E>public void setAll(Set<E> all)
ElmoProperty
setAll in interface ElmoProperty<E>public void setSingle(E single)
ElmoProperty
setSingle in interface ElmoProperty<E>public void refresh()
Refreshable
refresh in interface Refreshable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||