uk.ac.ucl.cs.uml.jmi.BehavioralElements.CommonBehavior
Interface Stimulus

All Superinterfaces:
Element, ExtObject, ModelElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject
All Known Implementing Classes:
Stimulus_Impl

public interface Stimulus
extends ModelElement

A stimulus reifies a communication between two instances. In the metamodel, Stimulus is a communication (i.e., a Signal sent to an Instance, or an invocation of an Operation). It can also be a request to create an Instance, or to destroy an Instance. It has a sender, a receiver, and may have a set of actual arguments, all being Instances.


Method Summary
 List getArgument()
           
 Link getCommunicationLink()
           
 Procedure getDispatchAction()
           
 Collection getPlayedRole()
           
 Instance getReceiver()
           
 Instance getSender()
           
 void setCommunicationLink(Link communicationLink)
          Setter for atomic property communicationLink)
 void setDispatchAction(Procedure dispatchAction)
          Setter for atomic property dispatchAction)
 void setReceiver(Instance receiver)
          Setter for atomic property receiver)
 void setSender(Instance sender)
          Setter for atomic property sender)
 
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.ModelElement
getAsArgument, getBehavior, getClientDependency, getComment, getConstraint, getContainer, getDefaultElement, getIsSpecification, getName, getNamespace, getPackage, getPresentation, getReferenceTag, getSourceFlow, getStereotype, getSupplierDependency, getTaggedValue, getTargetFlow, getTemplate, getTemplateArgument, getTemplateParameter, getVisibility, setDefaultElement, setIsSpecification, setName, setNamespace, setTemplate, setVisibility
 
Methods inherited from interface uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObject
extAddObjectListener, extDeepCopy, extDeepCopy, extEquals, extRemoveObjectListener, extValueHash, extVisit
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getArgument

List getArgument()
                 throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

getCommunicationLink

Link getCommunicationLink()
                          throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

setCommunicationLink

void setCommunicationLink(Link communicationLink)
                          throws javax.jmi.reflect.JmiException
Setter for atomic property communicationLink)

Throws:
javax.jmi.reflect.JmiException

getDispatchAction

Procedure getDispatchAction()
                            throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

setDispatchAction

void setDispatchAction(Procedure dispatchAction)
                       throws javax.jmi.reflect.JmiException
Setter for atomic property dispatchAction)

Throws:
javax.jmi.reflect.JmiException

getReceiver

Instance getReceiver()
                     throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

setReceiver

void setReceiver(Instance receiver)
                 throws javax.jmi.reflect.JmiException
Setter for atomic property receiver)

Throws:
javax.jmi.reflect.JmiException

getSender

Instance getSender()
                   throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

setSender

void setSender(Instance sender)
               throws javax.jmi.reflect.JmiException
Setter for atomic property sender)

Throws:
javax.jmi.reflect.JmiException

getPlayedRole

Collection getPlayedRole()
                         throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException