| <!-- |
| ~ Copyright (c) 2007, Codehaus.org |
| ~ |
| ~ Permission is hereby granted, free of charge, to any person obtaining a copy of |
| ~ this software and associated documentation files (the "Software"), to deal in |
| ~ the Software without restriction, including without limitation the rights to |
| ~ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies |
| ~ of the Software, and to permit persons to whom the Software is furnished to do |
| ~ so, subject to the following conditions: |
| ~ |
| ~ The above copyright notice and this permission notice shall be included in all |
| ~ copies or substantial portions of the Software. |
| ~ |
| ~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| ~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| ~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| ~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| ~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| ~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| ~ SOFTWARE. |
| --> |
| |
| <model> |
| <id>model</id> |
| <name>Model</name> |
| <defaults> |
| <default> |
| <key>package</key> |
| <value>org.codehaus.modello.test.model</value> |
| </default> |
| </defaults> |
| <classes> |
| <class rootElement="true"> |
| <name>Model</name> |
| <version>1.0.0+</version> |
| <fields> |
| <field> |
| <name>name</name> |
| <version>1.0.0+</version> |
| <type>String</type> |
| </field> |
| <field> |
| <name>repository</name> |
| <version>1.0.0+</version> |
| <type>String</type> |
| </field> |
| <field> |
| <name>numeric</name> |
| <version>1.0.0+</version> |
| <type>int</type> |
| </field> |
| <field> |
| <name>defString</name> |
| <version>1.0.0+</version> |
| <type>String</type> |
| <defaultValue>def</defaultValue> |
| </field> |
| <field> |
| <name>defNumeric</name> |
| <version>1.0.0+</version> |
| <type>int</type> |
| <defaultValue>8080</defaultValue> |
| </field> |
| <field> |
| <name>defBoolean</name> |
| <version>1.0.0+</version> |
| <type>boolean</type> |
| <defaultValue>true</defaultValue> |
| </field> |
| <field> |
| <name>reference</name> |
| <version>1.0.0+</version> |
| <association> |
| <type>Reference</type> |
| </association> |
| </field> |
| <field> |
| <name>missingReference</name> |
| <version>1.0.0+</version> |
| <association> |
| <type>Reference</type> |
| </association> |
| </field> |
| <field> |
| <name>emptyReference</name> |
| <version>1.0.0+</version> |
| <association> |
| <type>EmptyReference</type> |
| </association> |
| </field> |
| <field> |
| <name>listReferences</name> |
| <version>1.0.0+</version> |
| <association> |
| <type>Reference</type> |
| <multiplicity>*</multiplicity> |
| </association> |
| </field> |
| <field> |
| <name>setReferences</name> |
| <version>1.0.0+</version> |
| <type>Set</type> |
| <association> |
| <type>Reference</type> |
| <multiplicity>*</multiplicity> |
| </association> |
| </field> |
| <field> |
| <name>stringReferences</name> |
| <version>1.0.0+</version> |
| <association> |
| <type>String</type> |
| <multiplicity>*</multiplicity> |
| </association> |
| </field> |
| <field> |
| <name>map</name> |
| <version>1.0.0+</version> |
| <type>Map</type> |
| <association> |
| <type>String</type> |
| <multiplicity>*</multiplicity> |
| </association> |
| </field> |
| <field> |
| <name>properties</name> |
| <version>1.0.0+</version> |
| <type>Properties</type> |
| <association> |
| <type>String</type> |
| <multiplicity>*</multiplicity> |
| </association> |
| </field> |
| </fields> |
| </class> |
| <class> |
| <name>Reference</name> |
| <version>1.0.0+</version> |
| <fields> |
| <field> |
| <name>name</name> |
| <version>1.0.0+</version> |
| <type>String</type> |
| </field> |
| </fields> |
| </class> |
| <class> |
| <name>EmptyReference</name> |
| <version>1.0.0+</version> |
| </class> |
| </classes> |
| </model> |