dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #35787
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18321: VersionedObject, added setVersion
------------------------------------------------------------
revno: 18321
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-02-18 15:51:34 +0100
message:
VersionedObject, added setVersion
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/VersionedObject.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/common/VersionedObject.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/VersionedObject.java 2015-02-18 13:39:52 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/VersionedObject.java 2015-02-18 14:51:34 +0000
@@ -39,6 +39,11 @@
int getVersion();
/**
+ * Sets the version.
+ */
+ void setVersion( int version );
+
+ /**
* Increases the version and returns its new version.
*/
int increaseVersion();