=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/programrule/ProgramRule.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/programrule/ProgramRule.java 2015-03-13 08:24:36 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/programrule/ProgramRule.java 2015-04-28 13:03:32 +0000 @@ -44,16 +44,15 @@ import com.fasterxml.jackson.annotation.JsonView; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; /** * @author markusbekken */ - +@JacksonXmlRootElement( localName = "programRule", namespace = DxfNamespaces.DXF_2_0 ) public class ProgramRule extends BaseIdentifiableObject { - private static final long serialVersionUID = -2807997671779497354L; - /** * The program that the rule belongs to */ === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/programrule/ProgramRuleAction.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/programrule/ProgramRuleAction.java 2015-03-13 08:24:36 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/programrule/ProgramRuleAction.java 2015-04-28 13:03:32 +0000 @@ -41,16 +41,15 @@ import com.fasterxml.jackson.annotation.JsonView; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; /** * @author markusbekken */ - +@JacksonXmlRootElement( localName = "programRuleAction", namespace = DxfNamespaces.DXF_2_0 ) public class ProgramRuleAction extends BaseIdentifiableObject { - private static final long serialVersionUID = -2807997671779497354L; - /** * The programRule that the action belongs to */ @@ -89,7 +88,7 @@ private ProgramRuleActionType programRuleActionType; /** - * the dataelement that is affected by the ruleAction. + * The dataelement that is affected by the ruleAction. * Used for * hidefield * showwarning === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/programrule/ProgramRuleVariable.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/programrule/ProgramRuleVariable.java 2015-03-13 08:24:36 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/programrule/ProgramRuleVariable.java 2015-04-28 13:03:32 +0000 @@ -53,14 +53,11 @@ public class ProgramRuleVariable extends BaseIdentifiableObject { - private static final long serialVersionUID = -2807997671779497354L; - /** * The program that the variable belongs to */ private Program program; - /** * The source of the variables content. Allowed values are: * dataelement_newest_event_program_stage Get a specific data elements value