← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2580: Minor fix in Target API

 

------------------------------------------------------------
revno: 2580
committer: Neeraj <neeraj.hisp@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2011-01-15 17:59:21 +0530
message:
  Minor fix in Target API
modified:
  local/in/dhis-in-api/src/main/java/org/hisp/dhis/detarget/DeTarget.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'local/in/dhis-in-api/src/main/java/org/hisp/dhis/detarget/DeTarget.java'
--- local/in/dhis-in-api/src/main/java/org/hisp/dhis/detarget/DeTarget.java	2011-01-13 07:06:44 +0000
+++ local/in/dhis-in-api/src/main/java/org/hisp/dhis/detarget/DeTarget.java	2011-01-15 12:29:21 +0000
@@ -27,9 +27,12 @@
 package org.hisp.dhis.detarget;
 
 import java.io.Serializable;
+import java.util.Collection;
 import java.util.HashSet;
 import java.util.Set;
 
+import org.hisp.dhis.dataelement.DataElement;
+import org.hisp.dhis.dataelement.DataElementCategoryOptionCombo;
 import org.hisp.dhis.source.Source;
 
 /**
@@ -58,12 +61,12 @@
     /**
      * All DataElements associated with this DataElement Target.
      */
-   // private Collection<DataElement> dataelements = new HashSet<DataElement>();
+    private Collection<DataElement> dataelements = new HashSet<DataElement>();
     
     /**
      * All DataElement Category Option Combo associated with this DataElement Target.
      */
-    //private Collection<DataElementCategoryOptionCombo> decategoryOptionCombo = new HashSet<DataElementCategoryOptionCombo>();
+    private Collection<DataElementCategoryOptionCombo> decategoryOptionCombo = new HashSet<DataElementCategoryOptionCombo>();
     
     
     /**
@@ -175,7 +178,7 @@
     {
         this.shortName = shortName;
     }
-/*
+
     public Collection<DataElement> getDataelements()
     {
         return dataelements;
@@ -195,7 +198,7 @@
     {
         this.decategoryOptionCombo = decategoryOptionCombo;
     }
-*/
+
     public Set<Source> getSources()
     {
         return sources;