@PortedFrom(file="tOntology.h", name="TOntology") public class Ontology extends Object implements Serializable
| Constructor and Description |
|---|
Ontology()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AxiomInterface |
add(AxiomInterface p)
add given axiom to the ontology
|
void |
clear()
clear the ontology
|
AxiomInterface |
get(int i) |
List<AxiomInterface> |
getAxioms() |
ExpressionCache |
getExpressionManager() |
List<AxiomInterface> |
getRetracted() |
TSignature |
getSignature() |
boolean |
isChanged() |
void |
retract(AxiomInterface p)
retract given axiom to the ontology
|
void |
safeClear()
safe clear the ontology (do not remove axioms)
|
void |
setProcessed()
set the processed marker to the end of the ontology
|
int |
size() |
@PortedFrom(file="tOntology.h", name="get") public AxiomInterface get(int i)
i - i@PortedFrom(file="tOntology.h", name="isChanged") public boolean isChanged()
@PortedFrom(file="tOntology.h", name="setProcessed") public void setProcessed()
@PortedFrom(file="tOntology.h", name="add") @Nonnull public AxiomInterface add(AxiomInterface p)
p - p@PortedFrom(file="tOntology.h", name="retract") public void retract(AxiomInterface p)
p - p@PortedFrom(file="tOntology.h", name="clear") public void clear()
@PortedFrom(file="tOntology.h", name="safeClear") public void safeClear()
@PortedFrom(file="tOntology.h", name="getExpressionManager") public ExpressionCache getExpressionManager()
@PortedFrom(file="tOntology.h", name="getAxioms") public List<AxiomInterface> getAxioms()
@PortedFrom(file="tOntology.h", name="size") public int size()
@Original public List<AxiomInterface> getRetracted()
@PortedFrom(file="tOntology.h", name="getSignature") public TSignature getSignature()
Copyright © 2015 The University of Manchester. All rights reserved.