public class OntologySolverGraphModel.OntologyModel extends NamedObjNodeModel
Constructor and Description |
---|
OntologyModel() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeleteNodeMoML(java.lang.Object node)
Return a MoML String that will delete the given node from the
ontology solver model.
|
java.lang.Object |
getParent(java.lang.Object node)
Return the graph parent of the given node.
|
java.util.Iterator |
inEdges(java.lang.Object node)
Return an iterator over the edges coming into the given ontology
node.
|
java.util.Iterator |
outEdges(java.lang.Object node)
Return an iterator over the edges coming out of the given ontology
node.
|
void |
removeNode(java.lang.Object eventSource,
java.lang.Object node)
Remove the given node from the model.
|
public java.lang.String getDeleteNodeMoML(java.lang.Object node)
getDeleteNodeMoML
in class NamedObjNodeModel
node
- The node to be deleted.public java.lang.Object getParent(java.lang.Object node)
node
- The node, which is assumed to be a location.public java.util.Iterator inEdges(java.lang.Object node)
node
- The node, which is assumed to be a location attribute
of an ontology in the ontology solver model.public java.util.Iterator outEdges(java.lang.Object node)
node
- The node, which is assumed to be a location attribute
of an ontology in the ontology solver model.public void removeNode(java.lang.Object eventSource, java.lang.Object node)
removeNode
in class NamedObjNodeModel
eventSource
- The source of the event directing the removal of
the node.node
- The node to be removed.