edu.uga.cs.lsdis.semdisds
Interface IOntologyManager


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

createOntologyModel

IOntologyModel createOntologyModel()

Creates empty ontology model

Returns:
empty ontology model

loadOntologyModel

IOntologyModel loadOntologyModel(java.lang.String aLocation)

Loads ontology model from the specified location

Parameters:
aLocation - Location (file/URI) of ontology to load
Returns:
an ontology-model populated with the specified ontology location

saveOntologyModel

boolean saveOntologyModel(IOntologyModel aModel,
                          java.lang.String aLocation)

Saves/Writes the ontology model

Parameters:
aModel - the ontology model
aLocation - Location to save the model
Returns:
an ontology-model populated with the specified ontology locations

loadOntologyModel

IOntologyModel loadOntologyModel(java.lang.String[] aLocations)

Loads ontology model from different locations

Parameters:
aLocations - array of locations to load ontology model from
Returns:
an ontology-model populated with the specified ontology locations

createOntologyModel

IOntologyModel createOntologyModel(java.lang.String alias)

Creates an empty ontology-model with a user-specified alias

Parameters:
alias - alias assigned to the ontology-model
Returns:
an empty ontology-model

loadOntologyModel

IOntologyModel loadOntologyModel(java.lang.String aLocation,
                                 java.lang.String alias)

Loads an ontology-model from a location, and assigns an alias to it

Parameters:
aLocation - Location (file/URI) of ontology to load
alias - alias assigned to the ontology-model
Returns:
an ontology-model populated with the specified ontology location

loadOntologyModel

IOntologyModel loadOntologyModel(java.lang.String[] aLocations,
                                 java.lang.String alias)

Loads ontology model from different locations, and assigns an alias to the model

Parameters:
aLocations - array of locations to load ontology model from
alias - alias assigned to the ontology-model
Returns:
an ontology-model populated with the specified ontology locations

getOntologyByAlias

IOntologyModel getOntologyByAlias(java.lang.String alias)

Returns a previously loaded ontology-model with indicated alias

Parameters:
alias - alias assigned to the ontology-model
Returns:
the ontology-model with given alias; null if not found

removeOntology

void removeOntology(IOntologyModel aModel)

Removes the specified model from this ontology-manager

Parameters:
aModel - the ontology-model to remove

removeOntologyByAlias

void removeOntologyByAlias(java.lang.String alias)

Removes the indicated model (by alias) from this ontology-manager

Parameters:
alias - alias assigned to the ontology-model