|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IOntologyManager
Ontology Manager - capabilities to create ontology models
| Method Summary | |
|---|---|
IOntologyModel |
createOntologyModel()
Creates empty ontology model |
IOntologyModel |
createOntologyModel(java.lang.String alias)
Creates an empty ontology-model with a user-specified alias |
IOntologyModel |
getOntologyByAlias(java.lang.String alias)
Returns a previously loaded ontology-model with indicated alias |
IOntologyModel |
loadOntologyModel(java.lang.String aLocation)
Loads ontology model from the specified location |
IOntologyModel |
loadOntologyModel(java.lang.String[] aLocations)
Loads ontology model from different locations |
IOntologyModel |
loadOntologyModel(java.lang.String[] aLocations,
java.lang.String alias)
Loads ontology model from different locations, and assigns an alias to the model |
IOntologyModel |
loadOntologyModel(java.lang.String aLocation,
java.lang.String alias)
Loads an ontology-model from a location, and assigns an alias to it |
void |
removeOntology(IOntologyModel aModel)
Removes the specified model from this ontology-manager |
void |
removeOntologyByAlias(java.lang.String alias)
Removes the indicated model (by alias) from this ontology-manager |
boolean |
saveOntologyModel(IOntologyModel aModel,
java.lang.String aLocation)
Saves/Writes the ontology model |
| Method Detail |
|---|
IOntologyModel createOntologyModel()
Creates empty ontology model
IOntologyModel loadOntologyModel(java.lang.String aLocation)
Loads ontology model from the specified location
aLocation - Location (file/URI) of ontology to load
boolean saveOntologyModel(IOntologyModel aModel,
java.lang.String aLocation)
Saves/Writes the ontology model
aModel - the ontology modelaLocation - Location to save the model
IOntologyModel loadOntologyModel(java.lang.String[] aLocations)
Loads ontology model from different locations
aLocations - array of locations to load ontology model from
IOntologyModel createOntologyModel(java.lang.String alias)
Creates an empty ontology-model with a user-specified alias
alias - alias assigned to the ontology-model
IOntologyModel loadOntologyModel(java.lang.String aLocation,
java.lang.String alias)
Loads an ontology-model from a location, and assigns an alias to it
aLocation - Location (file/URI) of ontology to loadalias - alias assigned to the ontology-model
IOntologyModel loadOntologyModel(java.lang.String[] aLocations,
java.lang.String alias)
Loads ontology model from different locations, and assigns an alias to the model
aLocations - array of locations to load ontology model fromalias - alias assigned to the ontology-model
IOntologyModel getOntologyByAlias(java.lang.String alias)
Returns a previously loaded ontology-model with indicated alias
alias - alias assigned to the ontology-model
void removeOntology(IOntologyModel aModel)
Removes the specified model from this ontology-manager
aModel - the ontology-model to removevoid removeOntologyByAlias(java.lang.String alias)
Removes the indicated model (by alias) from this ontology-manager
alias - alias assigned to the ontology-model
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||