edu.stanford.smi.protegex.owl.model.project
Interface OWLProject

All Known Implementing Classes:
AbstractOWLProject

public interface OWLProject

A generic interface to store project-related settings and configurations.

Author:
Holger Knublauch

Method Summary
 Object getSessionObject(String key)
          Gets a session object for the associated OWLModel.
 SettingsMap getSettingsMap()
          Gets the projects' SettingsMap.
 void setSessionObject(String key, Object object)
          Sets a session object.
 

Method Detail

getSessionObject

public Object getSessionObject(String key)
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.

Parameters:
key - the key of the object
Returns:
the object or null

getSettingsMap

public SettingsMap getSettingsMap()
Gets the projects' SettingsMap.

Returns:
the SettingsMap

setSessionObject

public void setSessionObject(String key,
                             Object object)
Sets a session object.

Parameters:
key - the key of the object
object - the new value or null to delete the entry