edu.stanford.smi.protegex.owl.model.project
Class AbstractOWLProject

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.model.project.AbstractOWLProject
All Implemented Interfaces:
OWLProject
Direct Known Subclasses:
DefaultOWLProject

public abstract class AbstractOWLProject
extends Object
implements OWLProject

Author:
Holger Knublauch

Field Summary
private  Map sessionObjectMap
           
 
Constructor Summary
AbstractOWLProject()
           
 
Method Summary
 Object getSessionObject(String key)
          Gets a session object for the associated OWLModel.
 void setSessionObject(String key, Object object)
          Sets a session object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.stanford.smi.protegex.owl.model.project.OWLProject
getSettingsMap
 

Field Detail

sessionObjectMap

private Map sessionObjectMap
Constructor Detail

AbstractOWLProject

public AbstractOWLProject()
Method Detail

getSessionObject

public Object getSessionObject(String key)
Description copied from interface: OWLProject
Gets a session object for the associated OWLModel. Session objects can be associated with an OWLModel, but they are not stored when the project is closed.

Specified by:
getSessionObject in interface OWLProject
Parameters:
key - the key of the object
Returns:
the object or null

setSessionObject

public void setSessionObject(String key,
                             Object object)
Description copied from interface: OWLProject
Sets a session object.

Specified by:
setSessionObject in interface OWLProject
Parameters:
key - the key of the object
object - the new value or null to delete the entry