Protégé-OWL 3.3.1

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

All Known Implementing Classes:
AbstractOWLProject, DefaultOWLProject

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

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

SettingsMap getSettingsMap()
Gets the projects' SettingsMap.

Returns:
the SettingsMap

setSessionObject

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

Protégé-OWL 3.3.1

Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.