Java object mapping
- Last Updated: March 24, 2022
- 2 minute read
- Corticon
- Version 6.3
- Documentation
If the data payload of your call will be in the form of a map or collection of Java objects, then your Vocabulary may need to be configured to match the method names within those objects.
Corticon Studio can import a package of classes and automatically match the object structure with the Vocabulary structure. In other words, it will try to determine which objects match which Vocabulary entities, which properties match which Vocabulary attributes, and which object references match which Vocabulary associations.
To perform this matching, Corticon Studio assumes your objects are JavaBean compliant,
meaning they contain public get and set methods to expose those properties used in the
Vocabulary. Without this JavaBean compliance, the automatic mapper may fail to fully
map the package, and you will need to complete it manually.
To import package metadata: