Class StatementOperation

java.lang.Object
org.eclipse.rdf4j.http.protocol.transaction.operations.ContextOperation
org.eclipse.rdf4j.http.protocol.transaction.operations.StatementOperation
All Implemented Interfaces:
TransactionOperation
Direct Known Subclasses:
AddStatementOperation, RemoveStatementsOperation

public abstract class StatementOperation extends ContextOperation
A context operation with (optional) subject, predicate, object.
Author:
Arjohn Kampman, Leo Sauermann
  • Constructor Details

    • StatementOperation

      protected StatementOperation(Resource... contexts)
  • Method Details

    • getSubject

      public Resource getSubject()
    • setSubject

      public void setSubject(Resource subject)
    • getPredicate

      public IRI getPredicate()
    • setPredicate

      public void setPredicate(IRI predicate)
    • getObject

      public Value getObject()
    • setObject

      public void setObject(Value object)
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class ContextOperation
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ContextOperation