← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 398: Minor fix

 

------------------------------------------------------------
revno: 398
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Sun 2009-06-28 17:32:51 +0200
message:
  Minor fix
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnit.java
  dhis-2/dhis-services/dhis-service-organisationunit/src/main/resources/org/hisp/dhis/organisationunit/hibernate/OrganisationUnit.hbm.xml

=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnit.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnit.java	2009-06-25 11:18:23 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnit.java	2009-06-28 15:32:51 +0000
@@ -65,6 +65,8 @@
 
     private String comment;
     
+    private String geoCode;
+    
     private String polygonCoordinates;
     
     private String latitude;
@@ -304,6 +306,16 @@
         this.comment = comment;
     }
 
+    public String getGeoCode()
+    {
+        return geoCode;
+    }
+
+    public void setGeoCode( String geoCode )
+    {
+        this.geoCode = geoCode;
+    }
+
     public String getPolygonCoordinates()
     {
         return polygonCoordinates;

=== modified file 'dhis-2/dhis-services/dhis-service-organisationunit/src/main/resources/org/hisp/dhis/organisationunit/hibernate/OrganisationUnit.hbm.xml'
--- dhis-2/dhis-services/dhis-service-organisationunit/src/main/resources/org/hisp/dhis/organisationunit/hibernate/OrganisationUnit.hbm.xml	2009-06-25 11:18:23 +0000
+++ dhis-2/dhis-services/dhis-service-organisationunit/src/main/resources/org/hisp/dhis/organisationunit/hibernate/OrganisationUnit.hbm.xml	2009-06-28 15:32:51 +0000
@@ -43,6 +43,8 @@
 		
     <property name="comment" length="360"/>
     
+    <property name="geoCode"/>
+    
     <property name="polygonCoordinates" type="text"/>
     
     <property name="latitude"/>



--
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.