From: Chris M. <cm...@us...> - 2007-10-05 14:06:56
|
User: cmicali Date: 07/10/05 07:07:00 Modified: andromda-cs/src/main/resources/META-INF/andromda cartridge.xml namespace.xml Log: [NETCART-17] Applied Jens' patch to enable attribute to set prefix on value object member variable names. Revision Changes Path 1.3 +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.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- cartridge.xml 15 Aug 2006 22:48:43 -0000 1.2 +++ cartridge.xml 5 Oct 2007 14:06:59 -0000 1.3 @@ -5,6 +5,8 @@ <property reference="serializable"/> <property reference="enablePropertyConstructors"/> + <property reference="attributeNamePrefix"/> + <!-- cartridge-property merge-point--> <!-- cartridge-resource merge-point --> 1.4 +7 -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.3 retrieving revision 1.4 diff -u -w -r1.3 -r1.4 --- namespace.xml 15 Aug 2006 22:48:43 -0000 1.3 +++ namespace.xml 5 Oct 2007 14:07:00 -0000 1.4 @@ -47,6 +47,13 @@ be generated or not (on the value object for example). </documentation> </property> + <property name="attributeNamePrefix"> + <default>m_</default> + <documentation> + The prefix leading each attribute and association name for generated value objects + (does not affect the generated property names). + </documentation> + </property> </propertyGroup> </properties> </namespace> \ No newline at end of file |
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 |