cytoscape.data.servers
Class OntologyServer
java.lang.Object
cytoscape.data.servers.OntologyServer
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
public class OntologyServer
- extends Object
- implements PropertyChangeListener
Ontology Server which manages ontologies, aliases, and bookmarks.
- Since:
- Cytoscape 2.4
- Version:
- 0.6
- Author:
- kono
OntologyServer
public OntologyServer()
throws IOException,
javax.xml.bind.JAXBException
- Constructor.
Create hash map for ontologies.
- Throws:
ConfigurationException
IOException
javax.xml.bind.JAXBException
getCrossReferences
public DBCrossReferences getCrossReferences()
getOntologies
public HashMap<String,Ontology> getOntologies()
- Getter of the property ontologies
- Returns:
- Returns the ontologies.
addOntology
public void addOntology(Ontology onto)
addOntology
public void addOntology(URL dataSource,
OntologyServer.OntologyType type,
String ontologyName,
String description)
throws IOException,
URISyntaxException
- Throws:
IOException
URISyntaxException
ontologyCount
public int ontologyCount()
setOntology
public void setOntology(Ontology onto)
getOntologyNames
public Set<String> getOntologyNames()
getOntologySources
public Map<String,URL> getOntologySources()
setOntologySources
public void setOntologySources(Map<String,URL> newMap)
getNodeAliases
public Aliases getNodeAliases()
getEdgeAliases
public Aliases getEdgeAliases()
getNetworkAliases
public Aliases getNetworkAliases()
propertyChange
public void propertyChange(PropertyChangeEvent e)
- Specified by:
propertyChange
in interface PropertyChangeListener