------------------------------------------------------------
revno: 21690
committer: Lars Helge Overland <[email protected]>
branch nick: dhis2
timestamp: Mon 2016-01-11 16:29:32 +0100
message:
Translations, renamed property objectUid to pbjectId for Translation. Good to
never expose the word uid.
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/translation/Translation.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/translation/Translation.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/translation/Translation.java 2016-01-04 02:27:49 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/translation/Translation.java 2016-01-11 15:29:32 +0000
@@ -85,6 +85,19 @@
// -------------------------------------------------------------------------
// Getters and setters
// -------------------------------------------------------------------------
+
+ @JsonProperty( value = "objectId" )
+ @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
+ public String getObjectUid()
+ {
+ return objectUid;
+ }
+
+ public void setObjectUid( String objectUid )
+ {
+ this.objectUid = objectUid;
+ }
+
@JsonProperty
@JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
public String getClassName()
@@ -133,18 +146,6 @@
this.value = value;
}
- @JsonProperty
- @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
- public String getObjectUid()
- {
- return objectUid;
- }
-
- public void setObjectUid( String objectUid )
- {
- this.objectUid = objectUid;
- }
-
// -------------------------------------------------------------------------
// hashCode, equals and toString
// -------------------------------------------------------------------------
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp