org.openrdf.elmo.sesame.helpers
Class PropertyChanger
java.lang.Object
org.openrdf.elmo.sesame.helpers.PropertyChanger
public class PropertyChanger
- extends Object
Performs the adding and removing of statements from the repository.
- Author:
- James Leigh
PropertyChanger
public PropertyChanger(URI pred)
PropertyChanger
public PropertyChanger(URI pred,
Set<? extends Value> oneOf)
getPredicate
public URI getPredicate()
add
public void add(ContextAwareConnection conn,
Resource subj,
Value obj)
throws RepositoryException
- Throws:
RepositoryException
remove
public void remove(ContextAwareConnection 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-2008 Aduna. All Rights Reserved.