ModelloFeaturesTest
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.5.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://codehaus-plexus.github.io/FEATURES/1.5.0 http://codehaus-plexus.github.io/features-1.5.0.xsd"> <versionField/> <comment/> <description/> <required/> <identifier/> <identifierPart2> <id/> </identifierPart2> <simpleTypes> <primitiveBoolean/> <primitiveChar/> <primitiveByte/> <primitiveShort/> <primitiveInt/> <primitiveLong/> <primitiveFloat/> <primitiveDouble/> <objectBoolean/> <objectCharacter/> <objectByte/> <objectShort/> <objectInteger/> <objectLong/> <objectFloat/> <objectDouble/> <objectString/> <objectDate/> <primitiveBooleanNoDefault/> <primitiveCharNoDefault/> <primitiveByteNoDefault/> <primitiveShortNoDefault/> <primitiveIntNoDefault/> <primitiveLongNoDefault/> <primitiveFloatNoDefault/> <primitiveDoubleNoDefault/> <objectBooleanNoDefault/> <objectCharacterNoDefault/> <objectByteNoDefault/> <objectShortNoDefault/> <objectIntegerNoDefault/> <objectLongNoDefault/> <objectFloatNoDefault/> <objectDoubleNoDefault/> <objectStringNoDefault/> <objectDateNoDefault/> <dom/> <content attr=.. attr2=.. /> </simpleTypes> <defaultValues> <primitiveBoolean/> <primitiveChar/> <primitiveByte/> <primitiveShort/> <primitiveInt/> <primitiveLong/> <primitiveFloat/> <primitiveDouble/> <objectBoolean/> <objectCharacter/> <objectByte/> <objectShort/> <objectInteger/> <objectLong/> <objectFloat/> <objectDouble/> <objectString/> <objectDate/> <primitiveBooleanNoDefault/> <primitiveCharNoDefault/> <primitiveByteNoDefault/> <primitiveShortNoDefault/> <primitiveIntNoDefault/> <primitiveLongNoDefault/> <primitiveFloatNoDefault/> <primitiveDoubleNoDefault/> <objectBooleanNoDefault/> <objectCharacterNoDefault/> <objectByteNoDefault/> <objectShortNoDefault/> <objectIntegerNoDefault/> <objectLongNoDefault/> <objectFloatNoDefault/> <objectDoubleNoDefault/> <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> <useInterface subAttribute1=.. baseAttribute=.. > <subElement1/> <baseElement/> </useInterface> <listUseInterfaces> <listUseInterface subAttribute1=.. baseAttribute=.. > <subElement1/> <baseElement/> </listUseInterface> </listUseInterfaces> <annotation> <anyField/> </annotation> </javaFeatures> <xmlFeatures tag-name.attribute=.. > <attributes primitiveBoolean=.. primitiveChar=.. primitiveByte=.. primitiveShort=.. primitiveInt=.. primitiveLong=.. primitiveFloat=.. primitiveDouble=.. objectBoolean=.. objectCharacter=.. objectByte=.. objectShort=.. objectInteger=.. objectLong=.. objectFloat=.. objectDouble=.. objectString=.. objectDate=.. tag-name=.. /> <attributesDefault primitiveBoolean=.. primitiveChar=.. primitiveByte=.. primitiveShort=.. primitiveInt=.. primitiveLong=.. primitiveFloat=.. primitiveDouble=.. objectBoolean=.. objectCharacter=.. objectByte=.. objectShort=.. objectInteger=.. objectLong=.. objectFloat=.. objectDouble=.. 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>
features-demo
No description.
Element | Type | Since | Description |
---|---|---|---|
versionField
|
String
|
1.0.0 | A field described as model's versionDefinition field: its value contains the version of the model used. |
comment
|
String
|
1.0.0 | No description. |
description
|
String
|
1.0.0 | Test of a description. |
required
|
String
|
1.0.0 | <field><required>true</required></field>: Test of a required field. |
identifier
|
String
|
1.0.0 | <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
|
1.0.0 | Multiple fields can be participate in an identifier, either simple types or complex ones. |
simpleTypes
|
SimpleTypes
|
1.0.0 | No description. |
defaultValues
|
SimpleTypes
|
1.0.0 | No description. |
arrays
|
ArrayFeatures
|
1.0.0 | No description. |
associationFeatures
|
AssociationFeatures
|
1.0.0 | Test of association features. |
javaFeatures
|
JavaFeatures
|
1.0.0 | No description. |
xmlFeatures
|
XmlFeatures
|
1.0.0 | No description. |
xdocFeatures
|
XdocFeatures
|
1.0.0 | No description. |
node
|
NodeItem
|
1.0.0 | No description. |
cloneable
|
Thing
|
1.0.0 | No description. |
file
|
File
|
1.0.0 | No description. |
action
|
Action
|
1.0.0 | No description. |
identifierPart2
A simple class for association demo.
Element | Type | Since | Description |
---|---|---|---|
id
|
String
|
1.0.0 | No description. |
simpleTypes
<field><type>chose a type</type><field>
: Test of every simple types supported.
Element | Type | Since | Description |
---|---|---|---|
primitiveBoolean
|
boolean
|
1.0.0 | boolean primitive.
Default value: |
primitiveChar
|
char
|
1.0.0 | char primitive.
Default value: |
primitiveByte
|
byte
|
1.0.0 | byte primitive.
Default value: |
primitiveShort
|
short
|
1.0.0 | short primitive.
Default value: |
primitiveInt
|
int
|
1.0.0 | int primitive.
Default value: |
primitiveLong
|
long
|
1.0.0 | long primitive.
Default value: |
primitiveFloat
|
float
|
1.0.0 | float primitive.
Default value: |
primitiveDouble
|
double
|
1.0.0 | double primitive.
Default value: |
objectBoolean
|
Boolean
|
1.5.0 | Boolean class.
Default value: |
objectCharacter
|
Character
|
1.5.0 | Char class.
Default value: |
objectByte
|
Byte
|
1.5.0 | Byte class.
Default value: |
objectShort
|
Short
|
1.5.0 | Short class.
Default value: |
objectInteger
|
Integer
|
1.5.0 | Integer class.
Default value: |
objectLong
|
Long
|
1.5.0 | Long class.
Default value: |
objectFloat
|
Float
|
1.5.0 | Float class.
Default value: |
objectDouble
|
Double
|
1.5.0 | Double class.
Default value: |
objectString
|
String
|
1.0.0 | String class.
Default value: |
objectDate
|
Date
|
1.0.0 | Date class.
Default value: |
primitiveBooleanNoDefault
|
boolean
|
1.0.0 | boolean primitive.
Default value: |
primitiveCharNoDefault
|
char
|
1.0.0 | char primitive.
Default value: |