A model to test Modello features with every plugin and point to plugin specific features.
<features-demo xmlns="http://codehaus-plexus.github.io/FEATURES/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://codehaus-plexus.github.io/FEATURES/1.0.0 http://codehaus-plexus.github.io/features-1.0.0.xsd"> <versionField/> <comment/> <description/> <required/> <identifier/> <identifierPart2> <id/> </identifierPart2> <simpleTypes> <primitiveBoolean/> <primitiveChar/> <primitiveByte/> <primitiveShort/> <primitiveInt/> <primitiveLong/> <primitiveFloat/> <primitiveDouble/> <objectString/> <objectDate/> <primitiveBooleanNoDefault/> <primitiveCharNoDefault/> <primitiveByteNoDefault/> <primitiveShortNoDefault/> <primitiveIntNoDefault/> <primitiveLongNoDefault/> <primitiveFloatNoDefault/> <primitiveDoubleNoDefault/> <objectStringNoDefault/> <objectDateNoDefault/> <dom/> <content attr=.. attr2=.. /> </simpleTypes> <defaultValues> <primitiveBoolean/> <primitiveChar/> <primitiveByte/> <primitiveShort/> <primitiveInt/> <primitiveLong/> <primitiveFloat/> <primitiveDouble/> <objectString/> <objectDate/> <primitiveBooleanNoDefault/> <primitiveCharNoDefault/> <primitiveByteNoDefault/> <primitiveShortNoDefault/> <primitiveIntNoDefault/> <primitiveLongNoDefault/> <primitiveFloatNoDefault/> <primitiveDoubleNoDefault/> <objectStringNoDefault/> <objectDateNoDefault/> <dom/> <content attr=.. attr2=.. /> </defaultValues> <arrays/> <associationFeatures> <listReferences> <listReference> <id/> </listReference> </listReferences> <setReferences> <setReference> <id/> </setReference> </setReferences> <listStrings/> <setStrings/> <properties> <key>value</key> </properties> <bidi> <parent> <listReferences> <listReference> <id/> </listReference> </listReferences> <setReferences> <setReference> <id/> </setReference> </setReferences> <listStrings/> <setStrings/> <properties> <key>value</key> </properties> <bidi>...recursion...<bidi> <listOfBidis> <listOfBidi> <parent>...recursion...<parent> </listOfBidi> </listOfBidis> <setOfBidis> <setOfBidi> <parent>...recursion...<parent> </setOfBidi> </setOfBidis> </parent> </bidi> <listOfBidis> <listOfBidi> <parent> <listReferences> <listReference> <id/> </listReference> </listReferences> <setReferences> <setReference> <id/> </setReference> </setReferences> <listStrings/> <setStrings/> <properties> <key>value</key> </properties> <bidi> <parent>...recursion...<parent> </bidi> <listOfBidis> <listOfBidi>...recursion...<listOfBidi> </listOfBidis> <setOfBidis> <setOfBidi> <parent>...recursion...<parent> </setOfBidi> </setOfBidis> </parent> </listOfBidi> </listOfBidis> <setOfBidis> <setOfBidi> <parent> <listReferences> <listReference> <id/> </listReference> </listReferences> <setReferences> <setReference> <id/> </setReference> </setReferences> <listStrings/> <setStrings/> <properties> <key>value</key> </properties> <bidi> <parent>...recursion...<parent> </bidi> <listOfBidis> <listOfBidi> <parent>...recursion...<parent> </listOfBidi> </listOfBidis> <setOfBidis> <setOfBidi>...recursion...<setOfBidi> </setOfBidis> </parent> </setOfBidi> </setOfBidis> </associationFeatures> <javaFeatures> <interfaces> <id/> </interfaces> <packageName> <reference> <id/> </reference> </packageName> <base baseAttribute=.. > <baseElement/> </base> <subClass subAttribute1=.. baseAttribute=.. > <subElement1/> <baseElement/> </subClass> <subClass2 subAttribute2=.. subAttribute1=.. baseAttribute=.. > <subElement2/> <subElement1/> <baseElement/> </subClass2> <subClass3 subAttribute3=.. subAttribute2=.. subAttribute1=.. baseAttribute=.. > <subElement3/> <subElement2/> <subElement1/> <baseElement/> </subClass3> <annotation> <anyField/> </annotation> </javaFeatures> <xmlFeatures tag-name.attribute=.. > <attributes primitiveBoolean=.. primitiveChar=.. primitiveByte=.. primitiveShort=.. primitiveInt=.. primitiveLong=.. primitiveFloat=.. primitiveDouble=.. objectString=.. objectDate=.. tag-name=.. /> <attributesDefault primitiveBoolean=.. primitiveChar=.. primitiveByte=.. primitiveShort=.. primitiveInt=.. primitiveLong=.. primitiveFloat=.. primitiveDouble=.. objectString=.. objectDate=.. tag-name=.. /> <content> <content.long/> <content.long-with-attributes attr=.. attr2=.. /> </content> <fieldTrim/> <fieldNoTrim/> <dom/> <domNoTrim/> <tag-name/> <dateXmlFormat/> <dateLong/> <xmlItemsStyleFlat> <id/> </xmlItemsStyleFlat> <xmlAssociationTagNames> <association.tag-name> <id/> </association.tag-name> </xmlAssociationTagNames> <field.tag-names> <field.tag-name> <id/> </field.tag-name> </field.tag-names> <field.tag-name> <association.tag-name> <id/> </association.tag-name> </field.tag-name> <association.tag-name> <id/> </association.tag-name> <explodeProperties> <key/> <value/> </explodeProperties> <inlineProperties> <key>value</key> </inlineProperties> <xmlTransientFields> <persistentField/> </xmlTransientFields> <xmlFieldsOrder> <field1/> <field-2/> <field3/> <field4/> <field5/> <field6/> <field7/> </xmlFieldsOrder> <xsdFeatures attribute=.. /> </xmlFeatures> <xdocFeatures> <field/> <xdocSeparatorNone/> <xdocSeparatorBlank/> </xdocFeatures> <node> <value/> <child> <value/> <child>...recursion...<child> </child> </node> <cloneable> <someBoolean/> <someChar/> <someByte/> <someShort/> <someInt/> <someLong/> <someFloat/> <someDouble/> <someString/> <someDate/> <someDom/> <someProperties> <key>value</key> </someProperties> <someStringList/> <someStringSet/> <deepThingy/> <deepThingyList> <deepThingyList/> </deepThingyList> <deepThingySet> <deepThingySet/> </deepThingySet> <shallowThingy/> <shallowThingyList> <shallowThingyList/> </shallowThingyList> <shallowThingySet> <shallowThingySet/> </shallowThingySet> </cloneable> <file> <file/> </file> <action dev=.. /> </features-demo>
No description.
Element | Type | Description |
---|---|---|
versionField | String | A field described as model's versionDefinition field: its value contains the version of the model used. |
comment | String | No description. |
description | String | Test of a description. |
required | String | <field><required>true</required></field>: Test of a required field. |
identifier | String | <field><identifier>true</identifier></field>: a field taking part in instance identifier. This field is used to generate toString(), hashCode() and equals() methods. |
identifierPart2 | Reference | Multiple fields can be participate in an identifier, either simple types or complex ones. |
simpleTypes | SimpleTypes | No description. |
defaultValues | SimpleTypes | No description. |
arrays | ArrayFeatures | No description. |
associationFeatures | AssociationFeatures | Test of association features. |
javaFeatures | JavaFeatures | No description. |
xmlFeatures | XmlFeatures | No description. |
xdocFeatures | XdocFeatures | No description. |
node | NodeItem | No description. |
cloneable | Thing | No description. |
file | File | No description. |
action | Action | No description. |
A simple class for association demo.
Element | Type | Description |
---|---|---|
id | String | No description. |
<field><type>chose a type</type><field>: Test of every simple types supported.
Element | Type | Description |
---|---|---|
primitiveBoolean | boolean | boolean primitive.
Default value: true |
primitiveChar | char | char primitive.
Default value: H |
primitiveByte | byte | byte primitive.
Default value: 12 |
primitiveShort | short | short primitive.
Default value: 1212 |
primitiveInt | int | int primitive.
Default value: 121212 |
primitiveLong | long | long primitive.
Default value: 1234567890123 |
primitiveFloat | float | float primitive.
Default value: 12.12 |
primitiveDouble | double | double primitive.
Default value: 12.12 |
objectString | String | String class.
Default value: default value |
objectDate | Date | Date class.
Default value: 2012-12-24T22:12:12.012 |
primitiveBooleanNoDefault | boolean | boolean primitive.
Default value: false |
primitiveCharNoDefault | char | char primitive.
Default value: |