org.opentox.namespaces
Class Namespace

java.lang.Object
  extended by org.opentox.namespaces.Namespace
Direct Known Subclasses:
AlgorithmTypes, OT

public abstract class Namespace
extends java.lang.Object

Superclass for all Namespaces introduced in opentox such as AlgorithmTypes and OT

Author:
OpenTox - http://www.opentox.org, Sopasakis Pantelis, Sarimveis Harry

Nested Class Summary
static class Namespace.Class
          Class Resources of the Namespace.
 
Field Summary
protected static java.lang.String _NS
           
protected static com.hp.hpl.jena.ontology.OntModel m_model
           
static com.hp.hpl.jena.rdf.model.Resource NAMESPACE
          The namespace of the vocabalary as a Resource.
static java.lang.String NS
           
private static long serialVersionUID
           
 
Constructor Summary
Namespace()
           
 
Method Summary
static com.hp.hpl.jena.ontology.OntModel createModel()
          Creates an OWL-DL Ontological Model which includes the definition of some Namespace prefices such as ot, dc and owl.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

_NS

protected static final java.lang.String _NS
See Also:
Constant Field Values

NS

public static final java.lang.String NS

m_model

protected static com.hp.hpl.jena.ontology.OntModel m_model

NAMESPACE

public static final com.hp.hpl.jena.rdf.model.Resource NAMESPACE

The namespace of the vocabalary as a Resource.

Constructor Detail

Namespace

public Namespace()
Method Detail

createModel

public static com.hp.hpl.jena.ontology.OntModel createModel()
Creates an OWL-DL Ontological Model which includes the definition of some Namespace prefices such as ot, dc and owl.

Returns:
Ontological Model ( OntModel ) with namespace definitions.