it.polito.elite.doseWS.wrappers
Interface Ontology

All Known Implementing Classes:
OntologyImpl

public interface Ontology


Method Summary
 java.util.Vector getAllClasses()
          Provides a Vector containing all ontology concepts as URIs.
 java.util.Hashtable getAllRelations()
           
 java.lang.String getDefinition(java.lang.String topicURI, java.lang.String language)
          Returns the language-dependent definition of a concept.
 java.util.Vector getRelationEnds(java.lang.String topicURI, java.lang.String relationURI)
           
 java.util.Set getRoots()
           
 java.util.Iterator getSubClasses(java.lang.String topicURI)
          Retrieves all direct sub-classes of the given concept.
 java.util.Iterator getSuperClasses(java.lang.String topicURI)
          Retrieves all direct super-classes of the given concept.
 java.lang.String getTitle(java.lang.String topicURI, java.lang.String language)
          Returns the language-dependent title of a concept.
 

Method Detail

getAllClasses

public java.util.Vector getAllClasses()
Provides a Vector containing all ontology concepts as URIs.

Returns:
The Vector containing all ontology concepts.

getRoots

public java.util.Set getRoots()

getSubClasses

public java.util.Iterator getSubClasses(java.lang.String topicURI)
Retrieves all direct sub-classes of the given concept.

Returns:
An Iterator containing all sub-classes expressed as URIs.

getSuperClasses

public java.util.Iterator getSuperClasses(java.lang.String topicURI)
Retrieves all direct super-classes of the given concept.

Returns:
An Iterator containing all super-classes expressed as URIs.

getAllRelations

public java.util.Hashtable getAllRelations()

getRelationEnds

public java.util.Vector getRelationEnds(java.lang.String topicURI,
                                        java.lang.String relationURI)

getTitle

public java.lang.String getTitle(java.lang.String topicURI,
                                 java.lang.String language)
Returns the language-dependent title of a concept.

Parameters:
topicURI - The URI of a concept.
language - The language code.
Returns:
The title.

getDefinition

public java.lang.String getDefinition(java.lang.String topicURI,
                                      java.lang.String language)
Returns the language-dependent definition of a concept.

Parameters:
topicURI - The URI of a concept.
language - The language code.
Returns:
The definition.