|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.argouml.model.AbstractActivityGraphsHelperDecorator
public abstract class AbstractActivityGraphsHelperDecorator
The abstract Decorator for the ActivityGraphsHelper.
| Constructor Summary | |
|---|---|
protected |
AbstractActivityGraphsHelperDecorator(ActivityGraphsHelper component)
|
| Method Summary | |
|---|---|
void |
addContent(java.lang.Object partition,
java.lang.Object modelElement)
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. |
protected ActivityGraphsHelper |
getComponent()
The component we are decorating. |
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 modelElement)
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractActivityGraphsHelperDecorator(ActivityGraphsHelper component)
component - The component to decorate.| Method Detail |
|---|
protected ActivityGraphsHelper getComponent()
public java.lang.Object findClassifierByName(java.lang.Object ofs,
java.lang.String s)
ActivityGraphsHelper
findClassifierByName in interface ActivityGraphsHelperofs - the given ObjectFlowStates - the given String that represents
the name of the "type" Classifier
public java.lang.Object findStateByName(java.lang.Object c,
java.lang.String s)
ActivityGraphsHelper
findStateByName in interface ActivityGraphsHelperc - 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(java.lang.Object context)
ActivityGraphsHelperAn ActivityGraph specifies the dynamics of
isAddingActivityGraphAllowed in interface ActivityGraphsHelpercontext - the given context
public void addInState(java.lang.Object classifierInState,
java.lang.Object state)
addInState in interface ActivityGraphsHelperclassifierInState - the classifierInStatestate - the state that will be linked
public void setInStates(java.lang.Object classifierInState,
java.util.Collection newStates)
ActivityGraphsHelper
setInStates in interface ActivityGraphsHelperclassifierInState - the ClassifierInState to be alterednewStates - the collection of states
public void setContents(java.lang.Object partition,
java.util.Collection newContents)
ActivityGraphsHelper
setContents in interface ActivityGraphsHelperpartition - the partition to be alterednewContents - the new contents of the partition (modelelements)
public void addContent(java.lang.Object partition,
java.lang.Object modelElement)
ActivityGraphsHelper
addContent in interface ActivityGraphsHelperpartition - the partition to contain the model elementmodelElement - the model element to place in the partition
public void removeContent(java.lang.Object partition,
java.lang.Object modelElement)
ActivityGraphsHelper
removeContent in interface ActivityGraphsHelperpartition - the partition currently containing the model elementmodelElement - the model element to be removed from the partition
public void setSynch(java.lang.Object objectFlowState,
boolean isSynch)
ActivityGraphsHelper
setSynch in interface ActivityGraphsHelperobjectFlowState - the element for which to set the attributeisSynch - true if this ObjectFlowState is a synch state.
public void addParameter(java.lang.Object objectFlowState,
java.lang.Object parameter)
ActivityGraphsHelper
addParameter in interface ActivityGraphsHelperobjectFlowState - the ObjectFlowStateparameter - the Parameter
public void removeParameter(java.lang.Object objectFlowState,
java.lang.Object parameter)
ActivityGraphsHelper
removeParameter in interface ActivityGraphsHelperobjectFlowState - the ObjectFlowStateparameter - the Parameter to remove
public void setParameters(java.lang.Object objectFlowState,
java.util.Collection parameters)
setParameters in interface ActivityGraphsHelperobjectFlowState - 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 Cookbook |