=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/Attribute.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/Attribute.java 2016-01-04 02:27:49 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/Attribute.java 2016-01-25 05:47:49 +0000 @@ -154,7 +154,9 @@ { return false; } + final Attribute other = (Attribute) obj; + return Objects.equals( this.valueType, other.valueType ) && Objects.equals( this.dataElementAttribute, other.dataElementAttribute ) && Objects.equals( this.dataElementGroupAttribute, other.dataElementGroupAttribute ) @@ -490,6 +492,8 @@ this.sortOrder = sortOrder; } + + public List> getSupportedClasses() { List> klasses = new ArrayList<>(); @@ -517,7 +521,6 @@ return klasses; } - @Override public void mergeWith( IdentifiableObject other, MergeStrategy strategy ) { === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseIdentifiableObject.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseIdentifiableObject.java 2016-01-04 02:27:49 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseIdentifiableObject.java 2016-01-25 05:47:49 +0000 @@ -279,6 +279,7 @@ this.lastUpdated = lastUpdated; } + @Override @JsonProperty( "attributeValues" ) @JsonView( { DetailedView.class, ExportView.class } ) @JacksonXmlElementWrapper( localName = "attributeValues", namespace = DxfNamespaces.DXF_2_0 ) === modified file 'dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/attribute/hibernate/Attribute.hbm.xml' --- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/attribute/hibernate/Attribute.hbm.xml 2015-12-17 13:36:30 +0000 +++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/attribute/hibernate/Attribute.hbm.xml 2016-01-25 05:47:49 +0000 @@ -69,11 +69,14 @@ +