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:
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the object of the reified statement.
    void
    setValue(T value)
    Sets the object of the reified statement.
  • Method Details

    • 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