Design

The following sections describe the architecture and design of the Generate Tool, as well as the procedures for extending the software for specific needs.

Architecture

Extensions

Generated Values

The Generate Tool provides the ability to automatically generate values that do not map directly to the input data object (i.e. PDS3 label). The following procedure provides the steps for adding a Global Generated Value. This should only be extended for those generated values that will apply to multiple nodes. See the proceeding procedure for Node-Specific Generated Values.

  1. Check out the source for the Generate Tool.
  2. Create a new class in the src/main/java/gov/nasa/pds/imaging/generate/automatic/elements directory implementing the Element interface with the functionality necessary in order to fulfill the generated element's requirements.
  3. Open the generated mappings configuration file, generated-mappings.xml.
  4. Create a new element class with the context and class according the newly created class.