|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.argouml.model.AbstractCommonBehaviorHelperDecorator
An abstract Decorator for the CommonBehaviorHelper.
| Method Summary | |
void |
addAction(Object handle,
int position,
Object action)
Inserts an action at the specified position in an action sequence. |
void |
addAction(Object handle,
Object action)
Add an action to action sequence. |
void |
addActualArgument(Object handle,
int position,
Object argument)
Adds an actual argument to an action. |
void |
addActualArgument(Object handle,
Object argument)
Adds an actual argument to an action. |
void |
addClassifier(Object handle,
Object classifier)
Adds a Classifier to an Instance. |
void |
addStimulus(Object handle,
Object stimulus)
Adds a stimulus to a action or link. |
Object |
getActionOwner(Object handle)
Return the owner of an action. |
protected CommonBehaviorHelper |
getComponent()
The component we are decorating. |
Object |
getDestination(Object link)
Returns the destination of a link. |
Object |
getInstantiation(Object createaction)
Returns the instance which the create action creates. |
Object |
getSource(Object link)
Returns the source of a link. |
void |
removeAction(Object handle,
Object action)
Remove an Action from an ActionSequence. |
void |
removeActualArgument(Object handle,
Object argument)
Removes the actual Argument from an Action. |
void |
removeClassifier(Object handle,
Object classifier)
This method classifier from an instance. |
void |
removeContext(Object handle,
Object context)
Remove the given context (BehavioralFeature) from a Signal. |
void |
removeReception(Object handle,
Object reception)
Remove a given Reception from a given Signal. |
void |
setActualArguments(Object action,
List arguments)
This method replaces all arguments of the given action by the given list of arguments. |
void |
setAsynchronous(Object handle,
boolean value)
Sets the asynchronous property of an action. |
void |
setClassifiers(Object handle,
Vector v)
Sets the classifiers of some instance. |
void |
setCommunicationLink(Object handle,
Object c)
Sets the communicationLink between a link c and a stimulus handle. |
void |
setComponentInstance(Object handle,
Object c)
|
void |
setContexts(Object handle,
Collection c)
Sets the contexts for a Signal. |
void |
setDispatchAction(Object handle,
Object value)
Sets the dispatch action for some stimulus. |
void |
setInstance(Object handle,
Object inst)
Sets the given Instance to the given LinkEnd or AttributeLink. |
void |
setInstantiation(Object createaction,
Object instantiation)
Set the instantiation for a create action. |
void |
setNodeInstance(Object handle,
Object nodeInstance)
Set the NodeInstance of a ComponentInstance. |
void |
setOperation(Object handle,
Object operation)
Set the Operation of a CallAction or CallEvent. |
void |
setReceiver(Object handle,
Object receiver)
Sets the receiver of some model element. |
void |
setReception(Object handle,
Collection c)
Sets the collection of receptions for a Sinal. |
void |
setRecurrence(Object handle,
Object expr)
Set the recurrence of an Action. |
void |
setScript(Object handle,
Object expr)
Set the Expression (script) for an Action. |
void |
setSender(Object handle,
Object sender)
Sets the sender of some model element. |
void |
setSignal(Object handle,
Object signal)
Set the Signal. |
void |
setSpecification(Object handle,
String specification)
|
void |
setTarget(Object handle,
Object element)
Sets the target of some action or transition. |
void |
setTransition(Object handle,
Object trans)
Set the Transition of a guard or effect (Action). |
void |
setValue(Object handle,
Object value)
Set the value of a given object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
protected CommonBehaviorHelper getComponent()
public Object getSource(Object link)
CommonBehaviorHelper
getSource in interface CommonBehaviorHelperlink - the given link
public Object getDestination(Object link)
CommonBehaviorHelper
getDestination in interface CommonBehaviorHelperlink - the given link
public void removeActualArgument(Object handle,
Object argument)
CommonBehaviorHelper
removeActualArgument in interface CommonBehaviorHelperhandle - Actionargument - Argument
public void setActualArguments(Object action,
List arguments)
CommonBehaviorHelper
setActualArguments in interface CommonBehaviorHelperaction - the given actionarguments - the new arguments
public void removeClassifier(Object handle,
Object classifier)
CommonBehaviorHelper
removeClassifier in interface CommonBehaviorHelperhandle - is the instanceclassifier - is the classifier
public void removeContext(Object handle,
Object context)
CommonBehaviorHelper
removeContext in interface CommonBehaviorHelperhandle - Signalcontext - BehavioralFeature
public void removeReception(Object handle,
Object reception)
CommonBehaviorHelper
removeReception in interface CommonBehaviorHelperhandle - the Signalreception - the Reception
public void addActualArgument(Object handle,
Object argument)
CommonBehaviorHelper
addActualArgument in interface CommonBehaviorHelperhandle - the actionargument - the argument
public void addActualArgument(Object handle,
int position,
Object argument)
CommonBehaviorHelper
addActualArgument in interface CommonBehaviorHelperhandle - the actionposition - the 0-based position at which
to insert the actualArgumentargument - the argument
public void addClassifier(Object handle,
Object classifier)
CommonBehaviorHelper
addClassifier in interface CommonBehaviorHelperhandle - Instanceclassifier - Classifier
public void addStimulus(Object handle,
Object stimulus)
CommonBehaviorHelper
addStimulus in interface CommonBehaviorHelperhandle - the action or linkstimulus - is the stimulus
public void setAsynchronous(Object handle,
boolean value)
CommonBehaviorHelper
setAsynchronous in interface CommonBehaviorHelperhandle - the actionvalue - the value to alter the asynchronous property to
public void setOperation(Object handle,
Object operation)
CommonBehaviorHelper
setOperation in interface CommonBehaviorHelperhandle - CallAction or CallEventoperation - Operation
public void setClassifiers(Object handle,
Vector v)
CommonBehaviorHelper
setClassifiers in interface CommonBehaviorHelperhandle - is the instancev - is the classifier vector
public void setCommunicationLink(Object handle,
Object c)
CommonBehaviorHelper
setCommunicationLink in interface CommonBehaviorHelperhandle - the stimulusc - the link
public void setComponentInstance(Object handle,
Object c)
setComponentInstance in interface CommonBehaviorHelperhandle - Instancec - ComponentInstance or null
public void setContexts(Object handle,
Collection c)
CommonBehaviorHelper
setContexts in interface CommonBehaviorHelperhandle - the Signalc - the collection of contexts
public void setDispatchAction(Object handle,
Object value)
CommonBehaviorHelper
setDispatchAction in interface CommonBehaviorHelperhandle - the stimulusvalue - the action. Can be null.
public void setInstance(Object handle,
Object inst)
CommonBehaviorHelper
setInstance in interface CommonBehaviorHelperhandle - LinkEnd or AttributeLinkinst - null or Instance
public void setNodeInstance(Object handle,
Object nodeInstance)
CommonBehaviorHelper
setNodeInstance in interface CommonBehaviorHelperhandle - ComponentInstancenodeInstance - NodeInstance
public void setReceiver(Object handle,
Object receiver)
CommonBehaviorHelper
setReceiver in interface CommonBehaviorHelperhandle - model elementreceiver - the receiver
public void setReception(Object handle,
Collection c)
CommonBehaviorHelper
setReception in interface CommonBehaviorHelperhandle - the signalc - a collection with receptions
public void setRecurrence(Object handle,
Object expr)
CommonBehaviorHelper
setRecurrence in interface CommonBehaviorHelperhandle - Actionexpr - IterationExpression
public void setScript(Object handle,
Object expr)
CommonBehaviorHelper
setScript in interface CommonBehaviorHelperhandle - Actionexpr - the script (ActionExpression)
public void setSender(Object handle,
Object sender)
CommonBehaviorHelper
setSender in interface CommonBehaviorHelperhandle - model elementsender - the sender
public void setSignal(Object handle,
Object signal)
CommonBehaviorHelper
setSignal in interface CommonBehaviorHelperhandle - SendAction or Reception or SignalEventsignal - Signal or null
public void setSpecification(Object handle,
String specification)
setSpecification in interface CommonBehaviorHelperhandle - a receptionspecification - the specification
public void setTarget(Object handle,
Object element)
CommonBehaviorHelper
setTarget in interface CommonBehaviorHelperhandle - the model elementelement - the target of the model elemnet
public void setTransition(Object handle,
Object trans)
CommonBehaviorHelper
setTransition in interface CommonBehaviorHelperhandle - the Guard or Actiontrans - the Transition
public void setValue(Object handle,
Object value)
CommonBehaviorHelper
setValue in interface CommonBehaviorHelperhandle - the Object of which the value will be setvalue - Objectpublic Object getInstantiation(Object createaction)
CommonBehaviorHelper
getInstantiation in interface CommonBehaviorHelpercreateaction - the create action
public void setInstantiation(Object createaction,
Object instantiation)
CommonBehaviorHelper
setInstantiation in interface CommonBehaviorHelpercreateaction - the actioninstantiation - the classifierpublic Object getActionOwner(Object handle)
CommonBehaviorHelper
getActionOwner in interface CommonBehaviorHelperhandle - the action
public void addAction(Object handle,
Object action)
CommonBehaviorHelper
addAction in interface CommonBehaviorHelperhandle - the action sequenceaction - the action
public void addAction(Object handle,
int position,
Object action)
CommonBehaviorHelper
addAction in interface CommonBehaviorHelperhandle - the action sequenceposition - the 0-based position at which to insert the actionaction - the action
public void removeAction(Object handle,
Object action)
CommonBehaviorHelper
removeAction in interface CommonBehaviorHelperhandle - ActionSequenceaction - Action
|
|||||||||||
| 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 |