5.4.2.1. Java package
This element marks the output location of a Java package and is defined by the <java_package> element. A java package contains interface and class elements that correspond to java interfaces and classes in this package.
Usage
1<code_instruction>
2 ...
3 <java_package>
4 name="${createRepositoryJPAInterfacePackageName()}"
5 path="${pattern.property.java.main.directory}"
6 writePolicy="once"
7 code instruction base
8
9 <interface></interface>
10 <class></class>
11
12 </java_package>
13 ...
14</code_instruction>
Attributes
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 |
Sub elements
Name |
Details |
Number |
---|---|---|
interface |
0 or more |
|
class |
0 or more |