vub.starlab.ontoserver.database.ontologyobjects
Class Ontology

java.lang.Object
  |
  +--vub.starlab.ontoserver.database.ontologyobjects.Ontology
All Implemented Interfaces:
IOntology, IOntologyObject

public class Ontology
extends java.lang.Object
implements IOntology


Constructor Summary
Ontology(java.lang.String ontologyName, java.lang.String contributorName, java.lang.String ownerName, java.lang.String status, java.lang.String documentation)
           
 
Method Summary
 IUser getContributor()
          Accessor returns the user which contributed this ontology
 java.lang.String getDocumentation()
          Accessor returns the documentation for this ontology
 java.lang.String getOntologyName()
          Accessor returns the name for this ontology
 IUser getOwner()
          Accessor returns the user which is the owner of this ontology
 java.lang.String getStatus()
          Accessor returns the status for this ontology
 void print()
          Prints the content of the ontology object
 void setContributor(IUser contributor)
          Accessor method sets the user for this ontology
 void setDocumentation(java.lang.String documentation)
          Accessor method sets the documentation for this ontology
 void setOntologyName(java.lang.String ontologyName)
          Accessor method sets the name of this ontology
 void setOwner(IUser user)
          Accessor method sets owner for this ontology
 void setStatus(java.lang.String status)
          Accessor method sets the status of this ontology
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ontology

public Ontology(java.lang.String ontologyName,
                java.lang.String contributorName,
                java.lang.String ownerName,
                java.lang.String status,
                java.lang.String documentation)
Method Detail

print

public void print()
Description copied from interface: IOntologyObject
Prints the content of the ontology object
Specified by:
print in interface IOntologyObject

getOntologyName

public java.lang.String getOntologyName()
Description copied from interface: IOntology
Accessor returns the name for this ontology
Specified by:
getOntologyName in interface IOntology
Following copied from interface: vub.starlab.ontoserver.database.ontologyobjects.IOntology
Returns:
String the name for this ontology

getContributor

public IUser getContributor()
Description copied from interface: IOntology
Accessor returns the user which contributed this ontology
Specified by:
getContributor in interface IOntology
Following copied from interface: vub.starlab.ontoserver.database.ontologyobjects.IOntology
Returns:
IUser the user which contributed this ontology

getOwner

public IUser getOwner()
Description copied from interface: IOntology
Accessor returns the user which is the owner of this ontology
Specified by:
getOwner in interface IOntology
Following copied from interface: vub.starlab.ontoserver.database.ontologyobjects.IOntology
Returns:
String IUser the user which owns this ontology

getStatus

public java.lang.String getStatus()
Description copied from interface: IOntology
Accessor returns the status for this ontology
Specified by:
getStatus in interface IOntology
Following copied from interface: vub.starlab.ontoserver.database.ontologyobjects.IOntology
Returns:
String the status of this ontology

getDocumentation

public java.lang.String getDocumentation()
Description copied from interface: IOntology
Accessor returns the documentation for this ontology
Specified by:
getDocumentation in interface IOntology
Following copied from interface: vub.starlab.ontoserver.database.ontologyobjects.IOntology
Returns:
String the documentation for this ontology

setOntologyName

public void setOntologyName(java.lang.String ontologyName)
Description copied from interface: IOntology
Accessor method sets the name of this ontology
Specified by:
setOntologyName in interface IOntology
Following copied from interface: vub.starlab.ontoserver.database.ontologyobjects.IOntology
Parameters:
ontologyName - the name for this ontology

setContributor

public void setContributor(IUser contributor)
Description copied from interface: IOntology
Accessor method sets the user for this ontology
Specified by:
setContributor in interface IOntology
Following copied from interface: vub.starlab.ontoserver.database.ontologyobjects.IOntology
Parameters:
contributor - the user which contributed this ontology

setOwner

public void setOwner(IUser user)
Description copied from interface: IOntology
Accessor method sets owner for this ontology
Specified by:
setOwner in interface IOntology
Following copied from interface: vub.starlab.ontoserver.database.ontologyobjects.IOntology
Parameters:
user - the user which owns this ontology

setStatus

public void setStatus(java.lang.String status)
Description copied from interface: IOntology
Accessor method sets the status of this ontology
Specified by:
setStatus in interface IOntology
Following copied from interface: vub.starlab.ontoserver.database.ontologyobjects.IOntology
Parameters:
status - the status for this ontology

setDocumentation

public void setDocumentation(java.lang.String documentation)
Description copied from interface: IOntology
Accessor method sets the documentation for this ontology
Specified by:
setDocumentation in interface IOntology
Following copied from interface: vub.starlab.ontoserver.database.ontologyobjects.IOntology
Parameters:
documentation - the documentation for this ontology