|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ActivityGraphsHelper
The interface for the helper for ActivityGraphs.
Created from the old ActivityGraphsHelper.
| Method Summary | |
|---|---|
void |
addContent(java.lang.Object partition,
java.lang.Object modeElement)
Add a model element to a partition |
void |
addInState(java.lang.Object classifierInState,
java.lang.Object state)
|
void |
addParameter(java.lang.Object objectFlowState,
java.lang.Object parameter)
Add a Parameter to an ObjectFlowState. |
java.lang.Object |
findClassifierByName(java.lang.Object ofs,
java.lang.String s)
Finds the Classifier to which a given ObjectFlowState refers by its given name. |
java.lang.Object |
findStateByName(java.lang.Object c,
java.lang.String s)
Find a state of a Classifier by its name. |
boolean |
isAddingActivityGraphAllowed(java.lang.Object context)
Returns true if an activitygraph may be added to the given context. |
void |
removeContent(java.lang.Object partition,
java.lang.Object modeElement)
Remove a model element from a partition |
void |
removeParameter(java.lang.Object objectFlowState,
java.lang.Object parameter)
Remove Parameter from an ObjectFlowState. |
void |
setContents(java.lang.Object partition,
java.util.Collection newContents)
Replace the complete collection of the partition contents by the given new one. |
void |
setInStates(java.lang.Object classifierInState,
java.util.Collection newStates)
Replace the complete collection of states by the given new one. |
void |
setParameters(java.lang.Object objectFlowState,
java.util.Collection parameters)
|
void |
setSynch(java.lang.Object objectFlowState,
boolean isSynch)
Set the isSynch attribute of an ObjectFlowState. |
| Method Detail |
|---|
java.lang.Object findClassifierByName(java.lang.Object ofs,
java.lang.String s)
ofs - the given ObjectFlowStates - the given String that represents
the name of the "type" Classifier
java.lang.Object findStateByName(java.lang.Object c,
java.lang.String s)
c - the Classifier. If this is not a Classifier, then
IllegalArgumentException is thrown.s - the string that represents the name of
the state we are looking for. If "" or null, then
null is returned straight away.
boolean isAddingActivityGraphAllowed(java.lang.Object context)
An ActivityGraph specifies the dynamics of
context - the given context
void addInState(java.lang.Object classifierInState,
java.lang.Object state)
classifierInState - the classifierInStatestate - the state that will be linked
void setInStates(java.lang.Object classifierInState,
java.util.Collection newStates)
classifierInState - the ClassifierInState to be alterednewStates - the collection of states
void setContents(java.lang.Object partition,
java.util.Collection newContents)
partition - the partition to be alterednewContents - the new contents of the partition (modelelements)
void addContent(java.lang.Object partition,
java.lang.Object modeElement)
partition - the partition to contain the model elementmodeElement - the model element to place in the partition
void removeContent(java.lang.Object partition,
java.lang.Object modeElement)
partition - the partition currently containing the model elementmodeElement - the model element to be removed from the partition
void setSynch(java.lang.Object objectFlowState,
boolean isSynch)
objectFlowState - the element for which to set the attributeisSynch - true if this ObjectFlowState is a synch state.
void addParameter(java.lang.Object objectFlowState,
java.lang.Object parameter)
objectFlowState - the ObjectFlowStateparameter - the Parameter
void removeParameter(java.lang.Object objectFlowState,
java.lang.Object parameter)
objectFlowState - the ObjectFlowStateparameter - the Parameter to remove
void setParameters(java.lang.Object objectFlowState,
java.util.Collection parameters)
objectFlowState - the ObjectFlowState.parameters - the collection of Parameters. Pass
Collections.EMPTY_SET if there are no
Parameters.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |