InferenceWeb Model API Documentation

iw.model
Class IWOntology

java.lang.Object
  |
  +--iw.model.IWModelElement
        |
        +--iw.model.IWOntology

public class IWOntology
extends IWModelElement


Field Summary
protected  String _description
           
protected  List _sources
           
protected  String _version
           
 
Fields inherited from class iw.model.IWModelElement
_DM, _fileName, _firstSubmissionDate, _fullName, _lastSubmissionDate, _shortName, _submitter, _URI, _URL
 
Constructor Summary
IWOntology()
           
 
Method Summary
 void addSource(iw.model.IWSource newSource)
           
static iw.model.IWOntology fromDAML(String _fromURI)
           
 String getDescription()
           
 String[] getSourceNames()
           
 List getSources()
           
 String getVersion()
           
 void setDescription(String newDescription)
           
 void setSources(List newSources)
           
 void setVersion(String newVersion)
           
 void toDAML()
           
 
Methods inherited from class iw.model.IWModelElement
fromDAMLRegistry, getDAMLModel, getFileName, getFirstSubmissionDate, getFullName, getLastSubmissionDate, getShortName, getSubmitter, getSubmitterName, getURI, getURL, modelSize, setDAMLModel, setFileName, setFirstSubmissionDate, setFullName, setLastSubmissionDate, setShortName, setSubmitter, setURI, setURL, toDAMLRegistry, toFile, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_description

protected String _description

_version

protected String _version

_sources

protected List _sources
Constructor Detail

IWOntology

public IWOntology()
Method Detail

getDescription

public String getDescription()

setDescription

public void setDescription(String newDescription)

getVersion

public String getVersion()

setVersion

public void setVersion(String newVersion)

getSources

public List getSources()

getSourceNames

public String[] getSourceNames()

setSources

public void setSources(List newSources)

addSource

public void addSource(iw.model.IWSource newSource)

toDAML

public void toDAML()
            throws com.hp.hpl.mesa.rdf.jena.model.RDFException
com.hp.hpl.mesa.rdf.jena.model.RDFException

fromDAML

public static iw.model.IWOntology fromDAML(String _fromURI)
                                    throws com.hp.hpl.mesa.rdf.jena.model.RDFException,
                                           IOException
com.hp.hpl.mesa.rdf.jena.model.RDFException
IOException

InferenceWeb Model API Documentation