Interface SessionInterface
- All Superinterfaces:
Remote, Serializable
- All Known Implementing Classes:
ClientSession, ServerSession, SkeletonSession
Interface for accessing the session.
- Version:
- 11.2.1
- Author:
- jmback
-
Method Summary
Modifier and TypeMethodDescriptionvoidEnd the current session and finalize all included objects.Get the client environment.getEnv()Get the Environment for the model transformation.Get the pool of all icons.getLog()Get log model.Get generic meta model.Get the configuration for the model transformation.Get the option model with all options.Get parser for all expressions.Get progress model.Get the type pool.Get workspace.booleanIs this session finished?
-
Method Details
-
getParser
Get parser for all expressions.- Returns:
- Parser to evaluate expressions
- Throws:
RemoteException- an exception occurred
-
getWorkspace
Get workspace.- Returns:
- Workspace
- Throws:
RemoteException- an exception occurred
-
getOptionModel
Get the option model with all options.- Returns:
- option model
- Throws:
RemoteException- an exception occurred
-
getLog
Get log model.- Returns:
- Log model
- Throws:
RemoteException- an exception occurred
-
getProgress
Get progress model.- Returns:
- Progress model
- Throws:
RemoteException- an exception occurred
-
getModelTransformationConfiguration
Get the configuration for the model transformation.- Returns:
- configuration for the model transformation
- Throws:
RemoteException- an exception occurred
-
getEnv
Get the Environment for the model transformation.- Returns:
- environment
- Throws:
RemoteException- an exception occurred
-
getTypePool
Get the type pool. Server and client have own type pools.- Returns:
- type pool
- Throws:
RemoteException- an exception occurred
-
getMetaModel
Get generic meta model.- Returns:
- Meta model
- Throws:
RemoteException- an exception occurred
-
getClientEnv
Get the client environment. It can be used for environment variables and variables from registry. Only on client.- Returns:
- environment
- Throws:
RemoteException- an exception occurred
-
getIconPool
Get the pool of all icons. Only on client.- Returns:
- icon pool
- Throws:
RemoteException- an exception occurred
-
finalizeSession
End the current session and finalize all included objects. Close files, streams, registry, etc.- Throws:
RemoteException- an exception occurred
-
isFinished
Is this session finished?- Returns:
- true if the session is finished.
- Throws:
RemoteException- an exception occurred
-