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

java.lang.Object
  extended by org.openrdf.http.protocol.transaction.operations.ContextOperation
All Implemented Interfaces:
TransactionOperation
Direct Known Subclasses:
ClearOperation, StatementOperation

public abstract class ContextOperation
extends Object
implements TransactionOperation

A TransactionOperation that operates on a specific (set of) contexts.

Author:
Arjohn Kampman, Leo Sauermann

Field Summary
protected  Resource[] contexts
           
 
Constructor Summary
protected ContextOperation(Resource... contexts)
           
 
Method Summary
 boolean equals(Object other)
           
 Resource[] getContexts()
           
 int hashCode()
           
 void setContexts(Resource... contexts)
           
 
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
 

Field Detail

contexts

protected Resource[] contexts
Constructor Detail

ContextOperation

protected ContextOperation(Resource... contexts)
Method Detail

getContexts

public Resource[] getContexts()

setContexts

public void setContexts(Resource... contexts)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2001-2009 Aduna. All Rights Reserved.