From: Chris M. <cm...@us...> - 2007-10-10 20:48:16
|
User: cmicali Date: 07/10/10 13:48:19 Modified: andromda-cs/src/main/resources/META-INF/andromda cartridge.xml namespace.xml Log: - Added properties enableXmlInclude and enableICloneableImplementation to toggle output of the XmlInclude attributes and serialization-based implementation of Clone() method Revision Changes Path 1.4 +2 -0 cartridges/andromda-cs/src/main/resources/META-INF/andromda/cartridge.xml Index: cartridge.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-cs/src/main/resources/META-INF/andromda/cartridge.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -r1.3 -r1.4 --- cartridge.xml 5 Oct 2007 14:06:59 -0000 1.3 +++ cartridge.xml 10 Oct 2007 20:48:19 -0000 1.4 @@ -6,6 +6,8 @@ <property reference="serializable"/> <property reference="enablePropertyConstructors"/> <property reference="attributeNamePrefix"/> + <property reference="enableXmlInclude"/> + <property reference="enableIClonableImplementation"/> <!-- cartridge-property merge-point--> 1.5 +15 -0 cartridges/andromda-cs/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-cs/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -w -r1.4 -r1.5 --- namespace.xml 5 Oct 2007 14:07:00 -0000 1.4 +++ namespace.xml 10 Oct 2007 20:48:19 -0000 1.5 @@ -54,6 +54,21 @@ (does not affect the generated property names). </documentation> </property> + <property name="enableXmlInclude"> + <default>true</default> + <documentation> + Enabled [XmlInclude()] attributes for child classes + in base class value objects. If set to false these + statements will not be output. + </documentation> + </property> + <property name="enableIClonableImplementation"> + <default>true</default> + <documentation> + Enable a simple binary serialization-based implementation + of ICloneable for valueobjects + </documentation> + </property> </propertyGroup> </properties> </namespace> \ No newline at end of file |