Method Summary |
|
public void | addBackwardCompatibleWith(Resource res) Add a resource representing an ontology that this ontology
(strictly, the ontology reprsented by this node) is backwards compatible with.
Parameters: res - Represents a resource that this ontology is compatible with. exception: OntProfileException - If the Profile.BACKWARD_COMPATIBLE_WITH property is not supported in the current language profile. |
public void | addImport(Resource res) Add a resource representing an ontology that this ontology
(strictly, the ontology reprsented by this node) imports.
Parameters: res - Represents a resource that this ontology imports. exception: OntProfileException - If the Profile#IMPORTS()() property is not supported in the current language profile. |
public void | addIncompatibleWith(Resource res) Add a resource representing an ontology that this ontology
(strictly, the ontology reprsented by this node) is incompatible with.
Parameters: res - Represents a resource that this ontology is incompatible with. exception: OntProfileException - If the Profile.INCOMPATIBLE_WITH property is not supported in the current language profile. |
public void | addPriorVersion(Resource res) Add a resource representing an ontology that this ontology
(strictly, the ontology reprsented by this node) supercedes.
Parameters: res - Represents a resource that this ontology supercedes. exception: OntProfileException - If the Profile.PRIOR_VERSION property is not supported in the current language profile. |
public OntResource | getBackwardCompatibleWith() Answer a resource that represents an ontology that is backwards compatible with this ontology. |
public OntResource | getImport() Answer a resource that represents an ontology imported by this ontology. |
public OntResource | getIncompatibleWith() Answer a resource that represents an ontology that is is incompatible with this ontology. |
public OntResource | getPriorVersion() Answer a resource that represents an ontology that is superceded by this ontology. |
public boolean | hasPriorVersion(Resource res) |
public boolean | imports(Resource res) |
public boolean | isBackwardCompatibleWith(Resource res) |
public boolean | isIncompatibleWith(Resource res) |
public ExtendedIterator | listBackwardCompatibleWith() Answer an iterator over all of the resources representing
ontologies that this ontology is backwards compatible with. |
public ExtendedIterator | listImports() Answer an iterator over all of the resources representing ontologies imported by this ontology. |
public ExtendedIterator | listIncompatibleWith() Answer an iterator over all of the resources representing
ontologies that this ontology is incompatible with. |
public ExtendedIterator | listPriorVersion() Answer an iterator over all of the resources representing
ontologies that this ontology supercedes. |
public void | removeBackwardCompatibleWith(Resource res) Remove the statement that this ontology is backwards compatible with
the ontology represented by the given resource. |
public void | removeImport(Resource res) Remove the statement that this ontology imports the ontology represented by the given resource. |
public void | removeIncompatibleWith(Resource res) Remove the statement that the given ontology is incompatible with this ontology. |
public void | removePriorVersion(Resource res) Remove the statement that the given ontology is a prior version of this ontology. |
public void | setBackwardCompatibleWith(Resource res) Assert that this ontology is backward compatible with the given ontology. |
public void | setImport(Resource res) Assert that this ontology imports only the given ontology. |
public void | setIncompatibleWith(Resource res) Assert that this ontology is incompatible with the given ontology. |
public void | setPriorVersion(Resource res) Assert that this ontology is a new version of the given ontology. |