|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
E - property typepublic interface PropertySet
Internal interface for mapping roles. Allows access to property values as a Set or as a single value.
| Field Summary | |
|---|---|
static String |
ADD_ALL
|
static String |
ADD_SINGLE
|
static String |
GET_ALL
|
static String |
GET_SINGLE
|
static String |
SET_ALL
|
static String |
SET_SINGLE
|
| 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 |
setAll(Set<?> all)
Replaces all values with the values given. |
void |
setSingle(Object single)
Replace all values with this value |
| Methods inherited from interface org.openrdf.repository.object.traits.Refreshable |
|---|
refresh |
| Field Detail |
|---|
static final String GET_ALL
static final String GET_SINGLE
static final String SET_ALL
static final String SET_SINGLE
static final String ADD_ALL
static final String ADD_SINGLE
| Method Detail |
|---|
Set<Object> getAll()
void setAll(Set<?> all)
all - Object getSingle()
void setSingle(Object single)
single - boolean addAll(Collection<?> all)
all - boolean add(Object single)
single -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||