/**
* TripleStore allows one to add and delete triples
*
* $Log: TripleStore.java,v $
* Revision 1.1 1998/05/12 13:15:39 jsaarela
* Routines for RDF manipulation added.
*
*
* @author Janne Saarela
*/
package org.w3c.rdf;
import java.util.Vector;
import java.util.Enumeration;
public interface TripleStore {
/**
* Add a vectorful of triples to the underlying storage manager
*
* @see Triple
*/
public boolean add (Vector vTriples);
/**
* Add a single triple to the underlying storage manager
*
* @see Triple
*/
public boolean add (Triple triple);
/**
* Delete a vectorful of triples from the underlying storage manager
*
* The triple may have one or more items set to null in which
* case it will match with triples with the set items matching.
* Example: (A,null,null) will delete all triples with the
* first item set to A.
*
* @see Triple
*/
public boolean delete (Vector vTriples);
/**
* Delete a single triple from the underlying storage manager
*
* The triple may have one or more items set to null in which
* case it will match with triples with the set items matching.
* Example: (A,null,null) will delete all triples with the
* first item set to A.
*
* @see Triple
*/
public boolean delete (Triple triple);
}
Webmaster