vub.starlab.ontoserver.database.ontologyobjects
Class Context

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

public class Context
extends java.lang.Object
implements IContext


Constructor Summary
Context(java.lang.String contextIdentifier)
           
Context(java.lang.String contextLabel, IConcept associatedConcept)
           
 
Method Summary
 ITerm getContextLabel()
          Accessor method which returns the term identifying this context
 void print()
          Prints the content of the ontology object
 void setContextLabel(ITerm contextLabel)
          Accessor method to set the term identifying this context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Context

public Context(java.lang.String contextIdentifier)

Context

public Context(java.lang.String contextLabel,
               IConcept associatedConcept)
Method Detail

print

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

getContextLabel

public ITerm getContextLabel()
Description copied from interface: IContext
Accessor method which returns the term identifying this context
Specified by:
getContextLabel in interface IContext
Following copied from interface: vub.starlab.ontoserver.database.ontologyobjects.IContext
Returns:
ITerm an object implementing the ITerm interface, the term identifying this context

setContextLabel

public void setContextLabel(ITerm contextLabel)
Description copied from interface: IContext
Accessor method to set the term identifying this context
Specified by:
setContextLabel in interface IContext
Following copied from interface: vub.starlab.ontoserver.database.ontologyobjects.IContext
Parameters:
ContextLabel - an object implementing the ITerm interface, the term to identify this context