org.openrdf.http.protocol.transaction.operations
Class RemoveStatementsOperation

java.lang.Object
  extended by org.openrdf.http.protocol.transaction.operations.ContextOperation
      extended by org.openrdf.http.protocol.transaction.operations.StatementOperation
          extended by org.openrdf.http.protocol.transaction.operations.RemoveStatementsOperation
All Implemented Interfaces:
TransactionOperation

public class RemoveStatementsOperation
extends StatementOperation

Operation to remove statements matching specific pattern of subject, predicate and object.

Author:
Arjohn Kampman, Leo Sauermann

Field Summary
 
Fields inherited from class org.openrdf.http.protocol.transaction.operations.ContextOperation
contexts
 
Constructor Summary
RemoveStatementsOperation(Resource subj, URI pred, Value obj, Resource... contexts)
          Creates a RemoveStatementsOperation.
 
Method Summary
 boolean equals(Object other)
           
 void execute(RepositoryConnection con)
          Executes this operation on the supplied connection.
 
Methods inherited from class org.openrdf.http.protocol.transaction.operations.StatementOperation
getObject, getPredicate, getSubject, hashCode, setObject, setPredicate, setSubject
 
Methods inherited from class org.openrdf.http.protocol.transaction.operations.ContextOperation
getContexts, setContexts
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveStatementsOperation

public RemoveStatementsOperation(Resource subj,
                                 URI pred,
                                 Value obj,
                                 Resource... contexts)
Creates a RemoveStatementsOperation.

Method Detail

execute

public void execute(RepositoryConnection con)
             throws RepositoryException
Description copied from interface: TransactionOperation
Executes this operation on the supplied connection.

Parameters:
con - The connection the operation should be performed on.
Throws:
RepositoryException - If such an exception is thrown by the connection while executing the operation.

equals

public boolean equals(Object other)
Overrides:
equals in class StatementOperation


Copyright © 2001-2008 Aduna. All Rights Reserved.