org.jrdf.graph.global
Interface MoleculeGraph
- All Superinterfaces:
- Graph
- All Known Implementing Classes:
- MoleculeGraphImpl
public interface MoleculeGraph
- extends Graph
| Methods inherited from interface org.jrdf.graph.Graph |
add, add, add, add, clear, close, contains, contains, find, find, findNodes, findPredicates, findResources, getElementFactory, getNumberOfTriples, getTripleFactory, isEmpty, remove, remove, remove, remove |
add
void add(Molecule molecule)
delete
void delete(Molecule molecule)
throws GraphException
- Throws:
GraphException
findTopLevelMolecule
Molecule findTopLevelMolecule(Triple triple)
throws GraphException
- Throws:
GraphException
findEnclosingMolecule
Molecule findEnclosingMolecule(Triple triple)
throws GraphException
- Throws:
GraphException
iterator
ClosableIterator<Molecule> iterator()
throws GraphException
- Throws:
GraphException
getNumberOfMolecules
long getNumberOfMolecules()
findMolecules
ClosableIterator<Molecule> findMolecules(Triple rootTriple)
throws GraphException
- Throws:
GraphException
addRootTriple
Molecule addRootTriple(Molecule molecule,
Triple rootTriple)
throws GraphException
- Throws:
GraphException
removeRootTriple
Molecule removeRootTriple(Molecule molecule,
Triple rootTriple)
throws GraphException
- Throws:
GraphException
findMolecules
ClosableIterator<Molecule> findMolecules(SubjectNode subject,
PredicateNode predicate,
ObjectNode object)
throws GraphException
- Throws:
GraphException