| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one |
| ~ or more contributor license agreements. See the NOTICE file |
| ~ distributed with this work for additional information |
| ~ regarding copyright ownership. The ASF licenses this file |
| ~ to you under the Apache License, Version 2.0 (the |
| ~ "License"); you may not use this file except in compliance |
| ~ with the License. You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, |
| ~ software distributed under the License is distributed on an |
| ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| ~ KIND, either express or implied. See the License for the |
| ~ specific language governing permissions and limitations |
| ~ under the License. |
| --> |
| <model> |
| <id>plexus-jdo2-test-objects</id> |
| <name>Plexus JDO2 Component Test Model</name> |
| <description>Test Object for Plexus JDO2 Component object model.</description> |
| <defaults> |
| <default> |
| <key>package</key> |
| <value>org.apache.archiva.redback.components.jdo</value> |
| </default> |
| </defaults> |
| |
| <classes> |
| <class stash.storable="true"> |
| <name>Basic</name> |
| <version>1.0.0+</version> |
| <fields> |
| <field> |
| <name>id</name> |
| <identifier>true</identifier> |
| <version>1.0.0+</version> |
| <type>int</type> |
| </field> |
| <field> |
| <name>name</name> |
| <version>1.0.0+</version> |
| <type>String</type> |
| </field> |
| <field> |
| <name>description</name> |
| <version>1.0.0+</version> |
| <type>String</type> |
| </field> |
| </fields> |
| </class> |
| <class stash.storable="true"> |
| <name>Parent</name> |
| <version>1.0.0+</version> |
| <fields> |
| <field> |
| <name>id</name> |
| <identifier>true</identifier> |
| <version>1.0.0+</version> |
| <type>int</type> |
| </field> |
| <field> |
| <name>price</name> |
| <version>1.0.0+</version> |
| <type>double</type> |
| </field> |
| <field> |
| <name>name</name> |
| <version>1.0.0+</version> |
| <type>String</type> |
| </field> |
| <field> |
| <name>description</name> |
| <version>1.0.0+</version> |
| <type>String</type> |
| </field> |
| <field> |
| <name>children</name> |
| <version>1.0.0+</version> |
| <association stash.part="true"> |
| <type>Child</type> |
| <multiplicity>*</multiplicity> |
| </association> |
| </field> |
| </fields> |
| </class> |
| <class stash.storable="true"> |
| <name>Child</name> |
| <version>1.0.0+</version> |
| <fields> |
| <field> |
| <name>id</name> |
| <identifier>true</identifier> |
| <version>1.0.0+</version> |
| <type>int</type> |
| </field> |
| <field> |
| <name>name</name> |
| <version>1.0.0+</version> |
| <type>String</type> |
| </field> |
| <field> |
| <name>description</name> |
| <version>1.0.0+</version> |
| <type>String</type> |
| </field> |
| </fields> |
| </class> |
| </classes> |
| </model> |