dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #42412
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21690: Translations, renamed property objectUid to pbjectId for Translation. Good to never expose the wo...
------------------------------------------------------------
revno: 21690
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
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
// -------------------------------------------------------------------------