uk.ac.ucl.cs.uml.jmi.BehavioralElements.Actions.ActionFoundation
Interface Procedure

All Superinterfaces:
ExtObject, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject
All Known Implementing Classes:
Procedure_Impl

public interface Procedure
extends ExtObject

A procedure is a set of actions that may be attached as a unit to other parts of the user model. The behavior of the procedure is specified using an action, which is usually composite. When it is activated, a procedure execution receives a request object from the caller; during its execution it produces a reply object that is returned to the caller as the result. The procedure has a single input pin for the request object and a single result pin for the reply object. If the isList flag is set in the action, the procedure may have multiple argument and result pins; the request object is broken apart into an ordered list of arguments, one per attribute of the request object; and the reply object is composed from an ordered list of results, one per attribute of the reply object. This option presents the inputs and outputs to the procedure in the traditional fashion as a list of explicit parameters, although they are composed into a request object and a reply object for use by the invocation action. Pins of procedures have two directions: in and out, while method and operation parameters have direction in, out, inout, and return. Since parameters and pins are ordered on methods and rocedures respectively, the parameters of methods can be matched to pins on procedures unambiguously, assuming the last output pin is matched to the return parameter. Parameters of kind in and inout match input pins, while parameters of kind out, inout, and return match output pins.


Method Summary
 Action getAction()
           
 List getArgument()
           
 String getBody()
           
 boolean getIsList()
           
 String getLanguage()
           
 List getResult()
           
 void setAction(Action action)
          Setter for atomic property action)
 void setBody(String body)
          Setter for atomic property body)
 void setIsList(boolean isList)
          Setter for atomic property isList)
 void setLanguage(String language)
          Setter for atomic property language)
 
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

getBody

String getBody()
               throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

setBody

void setBody(String body)
             throws javax.jmi.reflect.JmiException
Setter for atomic property body)

Throws:
javax.jmi.reflect.JmiException

getLanguage

String getLanguage()
                   throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

setLanguage

void setLanguage(String language)
                 throws javax.jmi.reflect.JmiException
Setter for atomic property language)

Throws:
javax.jmi.reflect.JmiException

getIsList

boolean getIsList()
                  throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

setIsList

void setIsList(boolean isList)
               throws javax.jmi.reflect.JmiException
Setter for atomic property isList)

Throws:
javax.jmi.reflect.JmiException

getAction

Action getAction()
                 throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

setAction

void setAction(Action action)
               throws javax.jmi.reflect.JmiException
Setter for atomic property action)

Throws:
javax.jmi.reflect.JmiException

getArgument

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

getResult

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