7.1 Action Object
| Used on |
|
| Description | An action is the processing of some input data, possible resulting in output data.
An action is a variant of the business method idea but with different ways of expressing inputs and outputs.
It will become an implementation method on a class.
|
Contained Lists |
| 1 |
| Name | exception |
| Type | String |
| Description | Defines the exception(s) thrown by the method.
In the JeeWiz editor, multiple thrown exceptions may be specified in the 'exception' property using a comma separated list.
In XML, you can use one or more nested elements as an alternative to the 'exception=' property.
Any duplicate exceptions are ignored.
|
| Unique | false |
|
| |
| 2 |
| Name | otherInputs |
| Type | String |
| Description | Other Java Bean inputs to this action.
These do not appear in the signature of the generated method,
but the code to access them should be generated - in the comment of the method, or as helper methods in the class.
|
| Unique | false |
|
| |
| 3 |
| Name | otherResults |
| Type | String |
| Description | Other Java Bean inputs to this action.
These cannot appear as the result of the generated method,
but the code to write them should be generated - in the comment of the method, or as helper methods in the class.
|
| Unique | false |
|
| |
| 4 |
| Name | otherInputObjects |
| Type | javaBean
|
| GenerateAllList | false |
|
| |
| 5 |
| Name | otherResultObjects |
| Type | javaBean
|
| GenerateAllList | false |
|
|
Inherited properties |
| template |
(base property)
| |
| text |
(base property)
| |
| jwpattern |
(base property)
| |
|
7.1.1 Property 'description'
|
| Description | Optional description.
Use this to
- document the meaning of a particular item
- specify functionality at the design stage for implementation later.
|
| Type | String |
7.1.2 Property 'input'
|
| Description | The Java Bean input to this action. This takes the place of input parameters. Note that only one input class is allowed.
In a graphical model, the identity of the input Java Bean will be indicated by a "workflow" style line from the Java Bean to the action.
This line will indicate the type of event to be used: see the subscriber.
|
| Type | String |
7.1.3 Property 'name'
|
| Description | Specifies the name of the method.
|
| Type | String |
| Required | true |
7.1.4 Property 'result'
|
| Description | The Java Bean result of this action. This takes the place of the returnType.
In a graphical model, the identity of the result Java Bean will be indicated by a "workflow" style line from the action to the Java Bean.
This line will indicate the type of event to be used: see the subscriber.
If the result bean has a defaultSpace set, the code will be generated to write into that spsace.
But this can be overridden - in this case, the model does not determine the final action of the generated code.
It is also possible not to generate the 'normal' result, as modelled here, and instead to generate out beans in different spaces depending on the business requirements.
|
| Type | String |
|