continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcconn...@apache.org
Subject svn commit: r489928 - /maven/continuum/branches/key-based-refactor/continuum-model/src/main/mdo/continuum.xml
Date Sat, 23 Dec 2006 21:57:04 GMT
Author: jmcconnell
Date: Sat Dec 23 13:57:03 2006
New Revision: 489928

URL: http://svn.apache.org/viewvc?view=rev&rev=489928
Log:
model tweaks for keys

Modified:
    maven/continuum/branches/key-based-refactor/continuum-model/src/main/mdo/continuum.xml

Modified: maven/continuum/branches/key-based-refactor/continuum-model/src/main/mdo/continuum.xml
URL: http://svn.apache.org/viewvc/maven/continuum/branches/key-based-refactor/continuum-model/src/main/mdo/continuum.xml?view=diff&rev=489928&r1=489927&r2=489928
==============================================================================
--- maven/continuum/branches/key-based-refactor/continuum-model/src/main/mdo/continuum.xml
(original)
+++ maven/continuum/branches/key-based-refactor/continuum-model/src/main/mdo/continuum.xml
Sat Dec 23 13:57:03 2006
@@ -68,6 +68,12 @@
           <type>int</type>
           <identifier>true</identifier>
         </field>
+        <field jpox.column="groupKey">
+          <name>key</name>
+          <verison>1.1.0+</verison>
+          <required>true</required>
+          <type>String</type>
+        </field>
         <field>
           <name>groupId</name>
           <version>1.1.0+</version>
@@ -121,6 +127,18 @@
           <version>1.1.0+</version>
           <type>int</type>
         </field>
+        <field jpox.column="projectKey">
+          <name>key</name>
+          <verison>1.1.0+</verison>
+          <required>true</required>
+          <type>String</type>
+        </field>
+        <field>
+          <name>groupKey</name>
+          <verison>1.1.0+</verison>
+          <required>true</required>
+          <type>String</type>          
+        </field>
         <field>
           <name>groupId</name>
           <version>1.1.0+</version>
@@ -268,6 +286,19 @@
           </association>
         </field>
       </fields>
+      <codeSegments>
+        <codeSegment>
+          <version>1.1.0+</version>
+          <code><![CDATA[
+
+              public String getUniqueKey()
+              {
+                  return getGroupKey() + "::" + getKey();
+              }
+              
+          ]]></code>
+        </codeSegment>
+      </codeSegments>
     </class>
 
     <class>



Mime
View raw message