.. ******************************************************************************* * MetaFactory.io R2 * Technical Documentation * * File name : CIX_JCIE_Java_package.rst * Created by : Marnix Bochove (original text) * Updated by : Niels de Nies * * MetaFactory BV Amsterdam ******************************************************************************* .. include:: /inline-images.txt .. include:: /metadata_include.txt Java package ============ This element marks the output location of a Java package and is defined by the ** element. A java package contains interface and class elements that correspond to java interfaces and classes in this package. .. rubric:: Usage .. code-block:: xml :caption: example :name: Java_package-01 :linenos: :emphasize-lines: 4-11 ... name="${createRepositoryJPAInterfacePackageName()}" path="${pattern.property.java.main.directory}" writePolicy="once" code instruction base ... .. rubric:: Attributes .. list-table:: **attributes of ** :widths: 20 80 :header-rows: 1 :class: tight-table * - Name - Details * - name - The name of the java package made * - path - The path relating to the java output folder as defined in the MetaFactory project. * - writePolicy - Generates the source only if the source does not already exist. Values: once|always. Default: allways * - code instruction base - |Loupe S| :ref:`Code instruction base `. .. rubric:: Sub elements .. list-table:: **sub elements of ** :widths: 15 30 15 :header-rows: 1 :class: tight-table * - Name - Details - Number * - interface - |Loupe S| :ref:`interface ` - 0 or more * - class - |Loupe S| :ref:`class ` - 0 or more