org.openrdf.http.protocol.transaction.operations
Class AddStatementOperation
java.lang.Object
org.openrdf.http.protocol.transaction.operations.ContextOperation
org.openrdf.http.protocol.transaction.operations.StatementOperation
org.openrdf.http.protocol.transaction.operations.AddStatementOperation
- All Implemented Interfaces:
- TransactionOperation
public class AddStatementOperation
- extends StatementOperation
Operation to add a statement.
- Author:
- Arjohn Kampman
AddStatementOperation
public AddStatementOperation(Resource subj,
URI pred,
Value obj,
Resource... contexts)
- Create an AddStatementOperation.
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-2007 Aduna. All Rights Reserved.