standard.component UML Component

02 component 1

Keys:

1 The Java Component button is used to indicate that the Component will be taken into account by Java Architect. When checked, the UML Component becomes a Java Component and thus its relevant fields appear.
2 The Java Module button is used to indicate that the Component will be taken into account by Java Architect. When checked, the UML Component becomes a Java Module and thus its relevant fields appear.

javacomponent Java Component

02 component 2

Keys:

1 The UML name field is used to modify the UML name of the Component, i.e. the name that appears in the model browser.
2 The Generation path field is used to set a specific generation path for every java element belonging to the Component. Can be absolute, or relative to the project space path.
3 The Copyright path field is used to indicate a copyright file to add at the top of the file of every java element belonging to the Component.
4 The Javadoc field is used to enter documentation for the Component.
Note It is possible to set a default sub path to be used for all components in the module directories parameters, and a default copyright in the module generation parameters.

jpmsmodule Java Module

02 component 3

Keys:

1 The UML name field is used to modify the UML name of the Component, i.e. the name that appears in the model browser.
2 The Alias tick-box is used to indicate that the module will use an alias for the generated file. This can be useful if the UML name of the Class is not compatible with the java naming rules. When checked, a new field used to enter the alias name appears on the right.
3 The Open modifier tick-box is used to indicate that all the module packages can be accessed via reflection.
4 The Generation path field is used to set a specific generation path for every java element belonging to the Component. Can be absolute, or relative to the project space path.
5 The Copyright path field is used to indicate a copyright file to add at the top of the file of every java element belonging to the Component.
6 The Javadoc field is used to enter documentation for the Component.
7 The Requirement modules tab is used to indicate the module needs another to work:
  • Click on <add a module> cell to add a new required module.[1]

  • Click on the Transitive column next to a package to specify this dependency is to be read automatically by any other module using your module.

  • Click on the Static column next to a package to indicate this dependency is optional: the module is needed during compilation, but not at runtime.

  • Select a line and click on the Remove button to remove a required module.

8 The Exported packages tab is used to indicate which packages from this module are available for other modules to use.
  • Click on <add a module> cell to export a new package.[1]

  • Click on the Friend modules column next to a package to restrict this export to a specific module.[1]

  • Select a line and click on the Remove button to remove an exported package.

9 The Opened packages tab is used to indicate that specific packages can be accessed via reflection.
  • Click on <add a package> cell to indicate a package is opened.[1]

  • Click on the Friend modules column next to a package to restrict reflection access to a specific module.[1]

  • Select a line and click on the Remove button to remove close a package.

10 The Provided services tab is used to indicate the services provided for other modules to use.
  • Click on <add a service> cell to indicate a service interface.[1]

  • Click on the Implementation column next to a service interface to select its implementation.[1]

  • Select a line and click on the Remove button to remove a provided service.

11 The Used services tab is used to indicate services used by the module.
  • Click on <add a service> cell to indicate a service interface.[1]

  • Select a line and click on the Remove button to remove a used service.

12 The Annotations field is used to add metadata for the module.

1. This is an assisted field, you can either enter the type’s name and press Ctrl+space for auto-completion or click on the field and then click on the wanted element in the model.