edu.stanford.smi.protegex.owl.model.project
Class AbstractOWLProject
java.lang.Object
edu.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sessionObjectMap
private Map sessionObjectMap
AbstractOWLProject
public AbstractOWLProject()
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 objectobject
- the new value or null to delete the entry