|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IReifiedResource<T>
This interface helps model RDF reified statements in plain old Java objects.
OSLC commonly uses reification to describe metadata on links, such as labels.
The getValue()
and setValue(Object)
methods allow you to
set the actual object of the triple. All other properties in implementing
classes are statements about the statement. These additional properties
should have OslcName
and OslcPropertyDefinition
annotations.
See Link
for an example.
Note: The parameterized type T must be an URI
to serialize to JSON due
to current limitations in the OSLC JSON format.
AbstractReifiedResource
,
RDF Semantics: Reification,
RDF Primer: ReificationMethod Summary | |
---|---|
T |
getValue()
Gets the object of the reified statement. |
void |
setValue(T value)
Sets the object of the reified statement. |
Method Detail |
---|
T getValue()
void setValue(T value)
value
- the object of the reified statement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |