org.opentox.interfaces
Interface IOntClass

All Known Implementing Classes:
AbsOntClass, AlgorithmTypes, OTClass, OTProperties

public interface IOntClass

Author:
Sopasakis Pantelis

Method Summary
 com.hp.hpl.jena.ontology.OntClass createOntClass(com.hp.hpl.jena.ontology.OntModel model)
          Creates a new Ontological class for an Ontological Model.
 com.hp.hpl.jena.rdf.model.Property createProperty(com.hp.hpl.jena.ontology.OntModel model)
          Generates a property out of a given model.
 com.hp.hpl.jena.ontology.OntClass getOntClass(com.hp.hpl.jena.ontology.OntModel model)
          Returns the corresponding Ontological Class (i.e.
 com.hp.hpl.jena.rdf.model.Resource getResource()
          Returns the Resource of this class ( IOntClass ).
 java.lang.String getURI()
          Returns the URI of the class
 

Method Detail

createOntClass

com.hp.hpl.jena.ontology.OntClass createOntClass(com.hp.hpl.jena.ontology.OntModel model)
Creates a new Ontological class for an Ontological Model.

Parameters:
model - The ontological model.
Returns:
The generated ontological class.

createProperty

com.hp.hpl.jena.rdf.model.Property createProperty(com.hp.hpl.jena.ontology.OntModel model)
Generates a property out of a given model.

Parameters:
model - An ontological model.
Returns:
The corresponding property.

getOntClass

com.hp.hpl.jena.ontology.OntClass getOntClass(com.hp.hpl.jena.ontology.OntModel model)
Returns the corresponding Ontological Class (i.e. an instance of OntClass )

Parameters:
model - The ontological model
Returns:
the ontological class of the model

getResource

com.hp.hpl.jena.rdf.model.Resource getResource()
Returns the Resource of this class ( IOntClass ).

Returns:
the corresponding jena resource.

getURI

java.lang.String getURI()
Returns the URI of the class

Returns:
class URI