Class MDSDBlackboard
- java.lang.Object
-
- de.uka.ipd.sdq.workflow.blackboard.Blackboard<ResourceSetPartition>
-
- de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard
-
- All Implemented Interfaces:
IBlackboard<ResourceSetPartition>
public class MDSDBlackboard extends Blackboard<ResourceSetPartition>
A blackboard implementation whose partitions useResourceSet
to store EMF Model Resources.
-
-
Constructor Summary
Constructors Constructor Description MDSDBlackboard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<EObject>
getContents(ModelLocation modelLocation)
Get the list of top level elements from the given model.boolean
modelExists(ModelLocation modelLocation)
Model exists.void
setContents(ModelLocation modelLocation, List<EObject> newContents)
Sets the contents.-
Methods inherited from class de.uka.ipd.sdq.workflow.blackboard.Blackboard
addPartition, getPartition, hasPartition, removePartition
-
-
-
-
Method Detail
-
getContents
public List<EObject> getContents(ModelLocation modelLocation)
Get the list of top level elements from the given model.- Parameters:
modelLocation
- The model- Returns:
- The list of top level elements of the given model
-
setContents
public void setContents(ModelLocation modelLocation, List<EObject> newContents)
Sets the contents.- Parameters:
modelLocation
- the model locationnewContents
- the new contents
-
modelExists
public boolean modelExists(ModelLocation modelLocation)
Model exists.- Parameters:
modelLocation
- the model location- Returns:
- true, if successful
-
-