Java object mapping
- Last Updated: February 5, 2025
- 2 minute read
- Corticon
- Version 7.2
- Version 7.1
- 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.
for an example of building the get and set methods
that are then packaged into a JAR.
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: