|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.argouml.model.uml.CommonBehaviorHelperImpl
Helper class for UML BehavioralElements::CommonBehavior Package.
| Field Summary | |
private NSUMLModelImplementation |
nsmodel
The model implementation. |
| Constructor Summary | |
(package private) |
CommonBehaviorHelperImpl(NSUMLModelImplementation implementation)
Don't allow instantiation. |
| Method Summary | |
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 |
getDestination(Object link)
Returns the destination of a link. |
Object |
getSource(Object link)
Returns the source of a link. |
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 |
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 |
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 |
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 |
| Field Detail |
private NSUMLModelImplementation nsmodel
| Constructor Detail |
CommonBehaviorHelperImpl(NSUMLModelImplementation implementation)
implementation - To get other helpers and factories.| Method Detail |
public Object getSource(Object link)
getSource in interface org.argouml.model.CommonBehaviorHelperlink - the given link
public Object getDestination(Object link)
getDestination in interface org.argouml.model.CommonBehaviorHelperlink - the given link
public void removeActualArgument(Object handle,
Object argument)
removeActualArgument in interface org.argouml.model.CommonBehaviorHelperhandle - Actionargument - Argument
public void removeClassifier(Object handle,
Object classifier)
removeClassifier in interface org.argouml.model.CommonBehaviorHelperhandle - is the instanceclassifier - is the classifier
public void removeContext(Object handle,
Object context)
removeContext in interface org.argouml.model.CommonBehaviorHelperhandle - Signalcontext - BehavioralFeature
public void removeReception(Object handle,
Object reception)
removeReception in interface org.argouml.model.CommonBehaviorHelperhandle - the Signalreception - the Reception
public void addActualArgument(Object handle,
Object argument)
addActualArgument in interface org.argouml.model.CommonBehaviorHelperhandle - the actionargument - the argument
public void addClassifier(Object handle,
Object classifier)
addClassifier in interface org.argouml.model.CommonBehaviorHelperhandle - Instanceclassifier - Classifier
public void addStimulus(Object handle,
Object stimulus)
addStimulus in interface org.argouml.model.CommonBehaviorHelperhandle - the action or linkstimulus - is the stimulus
public void setAsynchronous(Object handle,
boolean value)
setAsynchronous in interface org.argouml.model.CommonBehaviorHelperhandle - the actionvalue - the value to alter the asynchronous property to
public void setOperation(Object handle,
Object operation)
setOperation in interface org.argouml.model.CommonBehaviorHelperhandle - CallAction or CallEventoperation - Operation
public void setClassifiers(Object handle,
Vector v)
setClassifiers in interface org.argouml.model.CommonBehaviorHelperhandle - is the instancev - is the classifier vector
public void setCommunicationLink(Object handle,
Object c)
setCommunicationLink in interface org.argouml.model.CommonBehaviorHelperhandle - the stimulusc - the link
public void setComponentInstance(Object handle,
Object c)
setComponentInstance in interface org.argouml.model.CommonBehaviorHelperhandle - Instancec - ComponentInstance or null
public void setContexts(Object handle,
Collection c)
setContexts in interface org.argouml.model.CommonBehaviorHelperhandle - the Signalc - the collection of contexts
public void setDispatchAction(Object handle,
Object value)
setDispatchAction in interface org.argouml.model.CommonBehaviorHelperhandle - the stimulusvalue - the action. Can be null.
public void setInstance(Object handle,
Object inst)
setInstance in interface org.argouml.model.CommonBehaviorHelperhandle - LinkEnd or AttributeLinkinst - null or Instance
public void setNodeInstance(Object handle,
Object nodeInstance)
setNodeInstance in interface org.argouml.model.CommonBehaviorHelperhandle - ComponentInstancenodeInstance - NodeInstance
public void setReceiver(Object handle,
Object receiver)
setReceiver in interface org.argouml.model.CommonBehaviorHelperhandle - model elementreceiver - the receiver
public void setRecurrence(Object handle,
Object expr)
setRecurrence in interface org.argouml.model.CommonBehaviorHelperhandle - Actionexpr - IterationExpression
public void setScript(Object handle,
Object expr)
setScript in interface org.argouml.model.CommonBehaviorHelperhandle - Actionexpr - the script (ActionExpression)
public void setSender(Object handle,
Object sender)
setSender in interface org.argouml.model.CommonBehaviorHelperhandle - model elementsender - the sender
public void setSignal(Object handle,
Object signal)
setSignal in interface org.argouml.model.CommonBehaviorHelperhandle - SendAction or Reception or SignalEventsignal - Signal or null
public void setSpecification(Object handle,
String specification)
setSpecification in interface org.argouml.model.CommonBehaviorHelperhandle - a receptionspecification - the specification
public void setTarget(Object handle,
Object element)
setTarget in interface org.argouml.model.CommonBehaviorHelperhandle - the model elementelement - the target of the model elemnet
public void setTransition(Object handle,
Object trans)
setTransition in interface org.argouml.model.CommonBehaviorHelperhandle - the Guard or Actiontrans - the Transition
public void setValue(Object handle,
Object value)
setValue in interface org.argouml.model.CommonBehaviorHelperhandle - the Object of which the value will be setvalue - Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |