public class Ontology extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
id
The id of the ontology.
|
protected Collection<Axiom> |
inferredAxioms
The collection of inferred axioms that form the ontology.
|
protected Set<Node> |
lastAffectedNodes
Set of
Nodes potentially affected by the last incremental
classification. |
protected Map<String,Node> |
nodeMap
A map that contains references to all the nodes in the taxonomy indexed
by id.
|
protected Collection<Axiom> |
statedAxioms
The collection of stated axioms that form the ontology.
|
protected String |
version
The version of the ontology.
|
| Constructor and Description |
|---|
Ontology(String id,
String version,
Collection<Axiom> statedAxioms,
Map<String,Node> nodeMap)
Builds a new ontology.
|
Ontology(String id,
String version,
Collection<Axiom> statedAxioms,
Map<String,Node> nodeMap,
Set<Node> lastAffectedNodes)
Builds a new ontology.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Node> |
getAffectedNodes() |
Node |
getBottomNode() |
String |
getId() |
Collection<Axiom> |
getInferredAxioms() |
Node |
getNode(String id) |
Map<String,Node> |
getNodeMap() |
Collection<Axiom> |
getStatedAxioms() |
Node |
getTopNode() |
String |
getVersion() |
Iterator<Node> |
nodeIterator() |
void |
setAffectedNodes(Set<Node> nodes) |
void |
setNodeMap(Map<String,Node> nodeMap) |
protected final String id
protected final String version
protected final Collection<Axiom> statedAxioms
protected final Collection<Axiom> inferredAxioms
protected final Map<String,Node> nodeMap
public Ontology(String id, String version, Collection<Axiom> statedAxioms, Map<String,Node> nodeMap, Set<Node> lastAffectedNodes)
id - version - statedAxioms - nodeMap - lastAffectedNodes - public Collection<Axiom> getStatedAxioms()
public Collection<Axiom> getInferredAxioms()
public Node getTopNode()
public Node getBottomNode()
public String getId()
public String getVersion()
Copyright © 2019 Australian e-Health Research Centre. All Rights Reserved.