Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Include PageMethodSignature ElementMethodSignature ElementA MethodSignature defines the parameters and return values for a method. The MethodSignature improves traceability while enhancing the ability for automation engines to execute a MethodDef's FormalExpression. A MethodSignature is an optional element of every MethodDef. MethodSignature Parameters and ReturnValues are optional. An empty MethodSignature may be used to explicitly indicate that the method does not take any input parameters or return any values.   Most Methods use one or more input parameters and return one or more values. MethodDefs associated with ItemRefs may only return a single value. MethodDefs associated with ItemGroupDefs must return one value per ItemRef. 

One MethodSignature element is optional for the MethodDef and ConditionDef elements, and in the RangeCheck element when a FormalExpression is used. In cases where a MethodSignature element exists without an associated FormalExpression, the MethodSignature supports improved traceability. It also serves the case where one role defines the MethodDef or ConditionDef, but another role provides the executable FormalExpression.

Pagenav2

  

Include Page
MethodSignature Element
MethodSignature Element

A MethodSignature defines the parameters and return values for a method. The MethodSignature improves traceability while enhancing the ability for automation engines to execute a MethodDef's FormalExpression. A MethodSignature is an optional element of every MethodDef. MethodSignature Parameters and ReturnValues are optional. An empty MethodSignature may be used to explicitly indicate that the method does not take any input parameters or return any values. Most Methods use one or more input parameters and return one or more values. MethodDefs associated with ItemRefs may only return a single value. MethodDefs associated with ItemGroupDefs must return one value per ItemRef. 

One MethodSignature element is optional for the MethodDef and ConditionDef elements, and in the RangeCheck element when a FormalExpression is used. In cases where a MethodSignature element exists without an associated FormalExpression, the MethodSignature supports improved traceability. It also serves the case where one role defines the MethodDef or ConditionDef, but another role provides the executable FormalExpression.

Pagenav2