← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16898: minor fix, add analytical object to BASE_ALIAS_MAP

 

------------------------------------------------------------
revno: 16898
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-10-01 17:06:49 +0700
message:
  minor fix, add analytical object to BASE_ALIAS_MAP
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/AbstractPropertyIntrospectorService.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 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/AbstractPropertyIntrospectorService.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/AbstractPropertyIntrospectorService.java	2014-06-15 13:33:54 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/AbstractPropertyIntrospectorService.java	2014-10-01 10:06:49 +0000
@@ -31,6 +31,8 @@
 import com.google.common.collect.ImmutableMap;
 import com.google.common.collect.Lists;
 import com.google.common.collect.Maps;
+import org.hisp.dhis.common.AnalyticalObject;
+import org.hisp.dhis.common.BaseAnalyticalObject;
 import org.hisp.dhis.common.BaseDimensionalObject;
 import org.hisp.dhis.common.BaseIdentifiableObject;
 import org.hisp.dhis.common.BaseNameableObject;
@@ -51,6 +53,7 @@
         .put( IdentifiableObject.class, BaseIdentifiableObject.class )
         .put( NameableObject.class, BaseNameableObject.class )
         .put( DimensionalObject.class, BaseDimensionalObject.class )
+        .put( AnalyticalObject.class, BaseAnalyticalObject.class )
         .build();
 
     private Map<Class<?>, Map<String, Property>> classMapCache = Maps.newHashMap();