Model Header
Each model file of JoinedWorkz is interpreted as a model package and has a header. This header defines:
- the name of the model package
- which other model packages are imported into this package
- and specifies the platform for Canonical-Model files
Package definition
This defines that all model elements in this model file belongs to the model package org.joinedworkz.example
Imports
All model elements of the model package org.joinedworkz.example.common
are imported in this model package.
Platform
This (optional) platform specification means that all model elements in this model package are provided for the platform Java
. This means (aong others) that generators configured for this platform are executed.
Platforms are defined in separate models, therefore the package of the model where the platform is defined needs to be imported here.