|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface for the helper for ActivityGraphs.
Created from the old ActivityGraphsHelper.
| Method Summary | |
void |
addInState(Object classifierInState,
Object state)
|
Object |
findClassifierByName(Object ofs,
String s)
Finds the Classifier to which a given ObjectFlowState refers by its given name. |
Object |
findStateByName(Object c,
String s)
Find a state of a Classifier by its name. |
boolean |
isAddingActivityGraphAllowed(Object context)
Returns true if an activitygraph may be added to the given context. |
void |
setInStates(Object classifierInState,
Collection newStates)
Replace the complete collection of states by the given new one. |
| Method Detail |
public Object findClassifierByName(Object ofs,
String s)
ofs - the given ObjectFlowStates - the given String that represents
the name of the "type" Classifier
public Object findStateByName(Object c,
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.
public boolean isAddingActivityGraphAllowed(Object context)
An ActivityGraph specifies the dynamics of
context - the given context
public void addInState(Object classifierInState,
Object state)
classifierInState - the classifierInStatestate - the state that will be linked
public void setInStates(Object classifierInState,
Collection newStates)
classifierInState - the ClassifierInState to be alterednewStates - the collection of states
|
|||||||||||
| 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 |