Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.lyo.oslc4j.core.model
Interface IReifiedResource<T>

All Known Implementing Classes:
  AbstractReifiedResource, Link

    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.

See Also:
  `AbstractReifiedResource`, RDF Semantics: Reification, RDF Primer: Reification

Method Summary
`T` | `getValue()` Gets the object of the reified statement.
`void` | `setValue(T value)` Sets the object of the reified statement.

Method Detail

### getValue

    T getValue()

  Gets the object of the reified statement.

  Returns:
    the object of the reified statement

### setValue

    void setValue(T value)

  Sets the object of the reified statement.

  Parameters:
    `value` - the object of the reified statement

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2013. All rights reserved.