Class ContextStatement

All Implemented Interfaces:
Serializable, Statement
Direct Known Subclasses:
ExtensibleContextStatement, LinkedHashModel.ModelStatement, MemStatement

public class ContextStatement extends SimpleStatement
An extension of SimpleStatement that adds a context field.
See Also:
  • Constructor Details

    • ContextStatement

      protected ContextStatement(Resource subject, IRI predicate, Value object, Resource context)
      Creates a new Statement with the supplied subject, predicate and object for the specified associated context.
      Parameters:
      subject - The statement's subject, must not be null.
      predicate - The statement's predicate, must not be null.
      object - The statement's object, must not be null.
      context - The statement's context, null to indicate no context is associated.
  • Method Details