org.openrdf.repository.object.composition.helpers
Class PropertySetModifier

java.lang.Object
  extended by org.openrdf.repository.object.composition.helpers.PropertySetModifier

public class PropertySetModifier
extends Object

Performs the adding and removing of statements from the repository.

Author:
James Leigh

Constructor Summary
PropertySetModifier(URI pred)
           
 
Method Summary
 void add(ObjectConnection conn, Resource subj, Value obj)
           
 boolean equals(Object obj)
           
 URI getPredicate()
           
 int hashCode()
           
 void remove(ObjectConnection conn, Resource subj, Value obj)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertySetModifier

public PropertySetModifier(URI pred)
Method Detail

getPredicate

public URI getPredicate()

add

public void add(ObjectConnection conn,
                Resource subj,
                Value obj)
         throws RepositoryException
Throws:
RepositoryException

remove

public void remove(ObjectConnection conn,
                   Resource subj,
                   Value obj)
            throws RepositoryException
Throws:
RepositoryException

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.