Class SimpleTriple

All Implemented Interfaces:
Serializable, Resource, Triple, Value

public class SimpleTriple extends AbstractTriple
A simple default implementation of the Triple interface.
Pavel Mihaylov
See Also:
  • Constructor Details

    • SimpleTriple

      protected SimpleTriple(Resource subject, IRI predicate, Value object)
      Creates a new Triple with the supplied subject, predicate and object.

      Note that creating SimpleStatement objects directly via this constructor is not the recommended approach. Instead, use an instance of ValueFactory to create new Triple objects.

      subject - The triple's subject, must not be null.
      predicate - The triple's predicate, must not be null.
      object - The triple's object, must not be null.
      See Also:
  • Method Details