|
|
|
The Model-Driven System Builder
|
|
JeeWiz Architect's Guide
|
|
|
|
Contents >
14. 'Business Object' Reference
|
|
|
14.29 Method Object
| Used on |
|
| Superclass | java:method |
| Subclassed By |
|
| Description | This is the businessObject meta-model's 'method' which is used on an internal-class and its derivatives (like business-object).
The businessObject's method is derived from the Java 'method', enhancing it in the following ways:
- the method and its parameters can have constraints
- collections can be given a definition of the objects they contain
- the implementation is moved to the implementation class (although this can be prevented by the 'implement-in-base' flag).
This method is distinct from the business method because it does not have the notion of "exposing to users".
|
Contained Lists |
| 1 |
| Name | parameter |
| Type | parameter |
| Description | This overrides the parameter list from the Java meta-model, so we get business-object level parameters.
|
| Previous Model | java:parameter |
| GenerateAllList | false |
|
| |
| 2 |
|
| |
| 3 |
| Name | constraint |
| Type | constraint |
| Description | Constraints for this method.
|
| GenerateAllList | false |
|
|
Inherited properties |
|
14.29.1 Property 'returnElementType'
|
| Description | The return-element-type defines the types of objects in a collection, and is used to specify test values.
The value specified for return-element-type can be either the concrete class, a base class or an interface implemented by objects in the collection.
|
| Type | String |
| Default | \null |
14.29.2 Property 'implementInBase'
|
| Description | Normally methods at the business object level may have an implementation in the implementation class.
This can be prevented by setting the 'implement-in-base' flag: this forces the implementation into the base class and prevents the user providing an overriding implementation.
If this is true, then the implementation text - if appropriate - must be provided in the specification, and this implementation will be included in the base class.
If no implementation text is provided, then a null implementation is generated in the base class.
|
| Type | boolean |
| Default | false |
14.29.3 Property 'uid'
|
| Description | The 'uid' is a Unique IDentifier for a methods in the business object model (and derivatives like J2EE).
The 'uid' uniquely identifies the method, even if the name or signature of the method changes.
This will normally be generated by the modelling tool; if not, it can be entered manually (but make sure it is unique!).
|
| Type | String |
Copyright (c) 2001-2008 New Technology/enterprise Ltd.
| |