org.opentox.toxotis.ontology
Interface OntologicalClass

All Superinterfaces:
OTResource, Serializable
All Known Implementing Classes:
OntologicalClassImpl

public interface OntologicalClass
extends OTResource, Serializable

ToxOtis interface for ontological classes. A class is a collection of entities, sets or other entities that is unambiguously defined by a property that all its members share. In order to establish a communicatable description with disambiguation, ontological classes here are endowed with a set of meta-information. Ontological classes are Resources (in the RDF sense) characterized by their URI, meta information about them and a set of relations with other ontological classes like subclassing/inheritance and distinctions.

Author:
Pantelis Sopasakis, Hampos Chomenides

Method Summary
 boolean equals(Object obj)
           
 Set<OntologicalClass> getDisjointWith()
           
 MetaInfo getMetaInfo()
           
 String getName()
           
 String getNameSpace()
           
 Set<OntologicalClass> getSuperClasses()
           
 String getUri()
          The URI of the ontological resource that uniquely identifies it.
 int hashCode()
           
 com.hp.hpl.jena.ontology.OntClass inModel(com.hp.hpl.jena.ontology.OntModel model)
           
 OntologicalClass setDisjointWith(Set<OntologicalClass> disjointWith)
           
 OntologicalClass setMetaInfo(MetaInfo metaInfo)
           
 OntologicalClass setName(String name)
           
 OntologicalClass setNameSpace(String ns)
           
 OntologicalClass setSuperClasses(Set<OntologicalClass> superClasses)
           
 OntologicalClass setUri(String uri)
           
 

Method Detail

getNameSpace

String getNameSpace()

setNameSpace

OntologicalClass setNameSpace(String ns)

getName

String getName()

setName

OntologicalClass setName(String name)

getMetaInfo

MetaInfo getMetaInfo()

setMetaInfo

OntologicalClass setMetaInfo(MetaInfo metaInfo)

getSuperClasses

Set<OntologicalClass> getSuperClasses()

setSuperClasses

OntologicalClass setSuperClasses(Set<OntologicalClass> superClasses)

getDisjointWith

Set<OntologicalClass> getDisjointWith()

getUri

String getUri()
Description copied from interface: OTResource
The URI of the ontological resource that uniquely identifies it.

Specified by:
getUri in interface OTResource
Returns:
The URI of the resource as a string/

setUri

OntologicalClass setUri(String uri)

setDisjointWith

OntologicalClass setDisjointWith(Set<OntologicalClass> disjointWith)

inModel

com.hp.hpl.jena.ontology.OntClass inModel(com.hp.hpl.jena.ontology.OntModel model)

equals

boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011-2012 OpenTox. All Rights Reserved.