Association mapping
- Last Updated: March 24, 2022
- 1 minute read
- Corticon
- Version 6.3
- Documentation
When the Vocabulary has added Java Object mapping, you set their properties on the properties page of the Association.
| Property | Value |
| Java Object Get Method | Manually specifies the GET method of a class property that does not conform to naming conventions of the auto-mapper. |
| Java Object Set Method | Manually specifies the SET method of a class property that does not conform to naming conventions of the auto-mapper. |
| Java Object Field Name | Manually specifies a public instance variable name. |
The mapper looks for get and set methods for associations the same way
that it does for attributes. In the case of the Aircraft.flightPlan association, shown in Third
Portion of MyAircraft Class, below, these methods do not conform to the
naming convention expected by the mapper. So once again, we must manually select the
appropriate method names from the Java Object Get
Method and Java Object Set Method
drop-downs, as shown in Manually Mapped Association Get and Set Method Names,
below.
Note: Java generics -
Support for type-casted collections is included in Corticon Studio. If your Java Business Objects include type-casted
collections (introduced in Java 5), then Corticon will ensure these constraints are interpreted
correctly in association processing.