1.0.0+
Root tag for the description of a model.
1.0.0+
Root tag for the description of a model.
1.0.0+
Unique identifier of this model.
1.0.0+
List of defaults settings for properties of this model.
1.0.0+
1.0.0+
List of interfaces provided by the model.
1.0.0+
List of classes provided by the model.
1.0.0+
The name of the element.
1.0.0+
A user-level description of the element.
1.0.0+
A private comment about the element.
1.0.0+
The versions related to this element.
Examples: <code>1.0.0</code> (a precise version), <code>1.0.0+</code> (a version or higher),
<code>1.0.0/2.0.0</code> (a version range).
1.1.0+
Add <code>@SuppressWarnings( "all" )</code> to all generated sources if Java 5 is enabled.
1.0.0+
The namespace to use when generating XML content. Since Modello 1.0, this value can contain
<code>${version}</code> placeholder, which will be replaced by the model version during generation.
Before Modello 1.0, this attribute was in class element.
1.0.0+
The schemaLocation to use when generating XML content. Since Modello 1.0-alpha-13, this value can contain
<code>${version}</code> placeholder, which will be replaced by the model version during generation.
Before Modello 1.0, this attribute was in class element.
1.0.0+
The namespace to use when generating XSD. Since Modello 1.0: <ul>
<li>if this value is not set, <code>xml.namespace</code> is used instead,</li>
<li>this value can contain <code>${version}</code> placeholder, which will be replaced by the model version
during generation.</li></ul>
1.0.0+
The targetNamespace to use when generating XSD. Since Modello 1.0<ul>
<li>if this value is not set, <code>xml.namespace</code> or <code>xsd.namespace</code> is used instead,</li>
<li>this value can contain <code>${version}</code> placeholder, which will be replaced by the model version
during generation.</li></ul>
1.0.0+
A default setting for some of the property of this model.
1.0.0+
The key to this property. Can be one of: <code>checkDeprecation</code>,
<code>package</code>, <code>java.util.List</code>, <code>java.util.Map</code>,
<code>java.util.Properties</code>, <code>java.util.Set</code>.
1.0.0+
The value of this property.
1.0.0+
1.0.0+
The type of model version definition recognition. Can be one of: <code>field</code>,
<code>namespace</code>.
1.0.0+
If type is <code>field</code>, the name of the field containing the model
version.
1.0.0+
An interface provided by the model.
1.0.0+
The name of the super interface for this interface.
1.0.0+
The destination package name for this interface.
1.0.0+
List of code segments appended to this interface.
1.0.0+
The name of the element.
1.0.0+
A user-level description of the element.
1.0.0+
A private comment about the element.
1.0.0+
The versions related to this element.
Examples: <code>1.0.0</code> (a precise version), <code>1.0.0+</code> (a version or higher),
<code>1.0.0/2.0.0</code> (a version range).
1.0.0+
A segment of code to be appended to this element.
1.0.0+
The code block.
1.0.0+
The name of the element.
1.0.0+
A user-level description of the element.
1.0.0+
A private comment about the element.
1.0.0+
The versions related to this element.
Examples: <code>1.0.0</code> (a precise version), <code>1.0.0+</code> (a version or higher),
<code>1.0.0/2.0.0</code> (a version range).
1.0.0+
A class for this model.
1.0.0+
A set of interfaces implemented by this class.
1.0.0+
The name of the super class for this class.
1.0.0+
The destination package name for this class.
1.0.0+
Fields available in this class.
1.0.0+
List of code segments appended to this class.
1.0.0+
The name of the element.
1.0.0+
A user-level description of the element.
1.0.0+
A private comment about the element.
1.0.0+
The versions related to this element.
Examples: <code>1.0.0</code> (a precise version), <code>1.0.0+</code> (a version or higher),
<code>1.0.0/2.0.0</code> (a version range).
1.0.0+
Indicates that this class is the root of the model (only one class in a model can have this attribute set
to true).
1.0.0+
Define a tag name to be used in XML content, which can be different from the class name.
1.0.0+
Enable or disable generation of a java source for this class in the model.
1.0.0+
Mark this class as abstract.
1.1.0+
Controls the generation of a <code>clone()</code> method for this class. Allowed values are
<code>none</code>, <code>shallow</code> and <code>deep</code>. The value is inherited from super classes
and defaults to <code>none</code> if no super class declares otherwise. <em>Since Modello 1.1</em>
1.1.0+
Enables the usage of a custom hook method that will be called from the generated <code>clone()</code> method.
The value of this attribute specifies the simple name of the hook method which is assumed to be provided as
part of some code segment. For convenience, the boolean literal <code>true</code> can also be given to use
the default method name <code>cloneHook</code>. The hook method itself must have a single parameter whose
type matches this class in order to receive the cloned object for further manipulation before completion of
the clone operation. Besides, the hook method must not have a return value and must not throw a checked
exception. <em>Since Modello 1.1</em>
1.0.0+
Can be one of : <code>all</code>, <code>sequence</code>.
1.0.0+
A field to be defined in a class.
1.0.0+
Alias name for this field (a parser should allow for this name instead of the given name).
1.0.0+
Simple type for this field (or array of such type). Can be one of : <code>boolean</code>, <code>byte</code>,
<code>char</code>, <code>short</code>, <code>int</code>, <code>long</code>, <code>float</code>,
<code>double</code>, <code>String</code>, <code>Boolean</code>, <code>Date</code>, <code>DOM</code>,
<code>Content</code>.
1.0.0+
The default value for this field.
1.0.0+
Whether this field is required in model or not.
1.0.0+
Whether this field is part of the identification of the object or not.
1.0.0+
An association allows to map a field to a complex type
and/or to map a field to a many-multiplicity element.
1.0.0+
The name of the element.
1.0.0+
A user-level description of the element.
1.0.0+
A private comment about the element.
1.0.0+
The versions related to this element.
Examples: <code>1.0.0</code> (a precise version), <code>1.0.0+</code> (a version or higher),
<code>1.0.0/2.0.0</code> (a version range).
1.0.0+
Generate a getter method for this field.
1.0.0+
Generate a setter method for this field.
1.0.0+
Can be one of : <code>blank</code>.
1.0.0+
Consider this field as an XML attribute instead of an element.
1.0.0+
Trim the content when reading.
1.0.0+
Define a tag name to be used in XML content, which can be different from the field name.
1.0.0+
The date format to use when parsing/writing a date (see java SimpleDateFormat).
1.1.0+
Whether this field should be excluded from parsers and writers. Fields marked as transient carry runtime
state that is not meant to be persisted into XML. <em>Since Modello 1.1</em>
1.0.0+
An association allows for mapping of a field to a complex type,
or to a many-multiplicity field.
1.0.0+
1.0.0+
Can be 1 if only one such child is allowed, or * if any
number (0 to infinity) is allowed.
1.0.0+
Generate <code>add<i>FieldName</i>( <i>Type</i> )</code> and
<code>remove<i>FieldName</i>( <i>Type</i> )</code> methods for this field
(only for many multiplicity association).
1.0.0+
Generate <code>create<i>Type</i>Association( <i>Type</i> )</code> and
<code>break<i>Type</i>Association( <i>Type</i> )</code> methods for this field
(only for a bi-directional association: each class of the association has an association to the other,
either one or many multiplicity).
1.0.0+
Use specified interface in generated methods signatures (<code>add</code>, <code>remove</code>,
<code>createAssociation</code> and <code>breakAssociation</code>).
1.0.0+
Can be one of : <code>lazy</code>, <code>constructor</code>, <code>field</code>.
1.1.0+
Allows to override the clone mode for this assocation. Allowed values are <code>shallow</code> and
<code>deep</code>. If the value is not specified, the clone mode of the container class will be used.
<em>Since Modello 1.1</em>
1.0.0+
Define a tag name to be used for every element inside a multiple association. By default, the name is
calculated as the singular of the field tag name.
1.0.0+
Can be one of : <code>wrapped</code>, <code>flat</code>. <code>wrapped</code> means that the content items
will be wrapped into an element, where <code>flat</code> doesn't add this wrapping element. Example:
<pre><wrappedElements>
<wrappedElement><i>element type content</i></wrappedElement>
...
<wrappedElements>
<flatElement><i>element type content</i></flatElement>
...</pre>
1.0.0+
Can be one of : <code>inline</code>, <code>explode</code>. Example:
<pre><inlineProperties>
<<i>the key</i>><i>the value</i></<i>the key</i>>
...
</inlineProperties>
<explodeProperties>
<explodeProperty>
<key><i>the key</i></key>
<value><i>the value</i></value>
</explodeProperty>
...
</explodeProperties></pre>
1.0.0+