public class TemporaryModelManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
addModel(ProcessModel model,
java.lang.String baseId)
Add model to this manager
|
ProcessModel |
getModel(java.lang.String id)
Get temporary model by ID
|
void |
removeModel(java.lang.String id)
Remove model with given ID from this manager
|
public java.lang.String addModel(ProcessModel model, java.lang.String baseId)
model
- the modelbaseId
- the base ID that is used for generating the temporary IDpublic ProcessModel getModel(java.lang.String id)
id
- the IDpublic void removeModel(java.lang.String id)
id
- the ID