|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Procedure
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 |
---|
String getBody() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setBody(String body) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
String getLanguage() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setLanguage(String language) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean getIsList() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setIsList(boolean isList) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Action getAction() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setAction(Action action) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
List getArgument() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
List getResult() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |