|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.repository.object.composition.helpers.UnmodifiableProperty
E - property typepublic class UnmodifiableProperty
Property used when only a getter method exists for the Bean property.
| Field Summary |
|---|
| Fields inherited from interface org.openrdf.repository.object.composition.helpers.PropertySet |
|---|
ADD_ALL, ADD_SINGLE, GET_ALL, GET_SINGLE, SET_ALL, SET_SINGLE |
| Constructor Summary | |
|---|---|
UnmodifiableProperty(PropertySet delegate)
|
|
| Method Summary | |
|---|---|
boolean |
add(Object single)
Append values with this value |
boolean |
addAll(Collection<?> all)
Append all values with the values given. |
Set<Object> |
getAll()
Get all values for property. |
Object |
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<?> all)
Replaces all values with the values given. |
void |
setSingle(Object 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 UnmodifiableProperty(PropertySet delegate)
| Method Detail |
|---|
public Set<Object> getAll()
PropertySet
getAll in interface PropertySetpublic Object getSingle()
PropertySet
getSingle in interface PropertySetpublic void setAll(Set<?> all)
PropertySet
setAll in interface PropertySetpublic void setSingle(Object single)
PropertySet
setSingle in interface PropertySetpublic void refresh()
Refreshable
refresh in interface Refreshablepublic boolean add(Object single)
PropertySet
add in interface PropertySetpublic boolean addAll(Collection<?> all)
PropertySet
addAll in interface PropertySet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||