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 a `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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

Copyright © 2016. All rights reserved.