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

java.lang.Object
  extended by org.openrdf.http.protocol.transaction.operations.ContextOperation
      extended by org.openrdf.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

Field Summary
 
Fields inherited from class org.openrdf.http.protocol.transaction.operations.ContextOperation
contexts
 
Constructor Summary
protected StatementOperation(Resource... contexts)
           
 
Method Summary
 boolean equals(Object other)
           
 Value getObject()
           
 URI getPredicate()
           
 Resource getSubject()
           
 int hashCode()
           
 void setObject(Value object)
           
 void setPredicate(URI predicate)
           
 void setSubject(Resource subject)
           
 
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
 
Methods inherited from interface org.openrdf.http.protocol.transaction.operations.TransactionOperation
execute
 

Constructor Detail

StatementOperation

protected StatementOperation(Resource... contexts)
Method Detail

getSubject

public Resource getSubject()

setSubject

public void setSubject(Resource subject)

getPredicate

public URI getPredicate()

setPredicate

public void setPredicate(URI 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


Copyright © 2001-2008 Aduna. All Rights Reserved.