public class OntologyGraphModel.ConceptModel extends NamedObjNodeModel
Constructor and Description |
---|
ConceptModel() |
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 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 Concept
node.
|
java.util.Iterator |
outEdges(java.lang.Object node)
Return an iterator over the edges coming out of the given Concept
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 a Concept in the ontology model.public java.util.Iterator outEdges(java.lang.Object node)
node
- The node, which is assumed to be a location attribute
of a Concept in the ontology 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.