]> git.mxchange.org Git - jcountry-lib.git/commitdiff
Let addCountry() return the updated instance which should have a countryId field...
authorRoland Haeder <roland@mxchange.org>
Mon, 11 Apr 2016 17:51:02 +0000 (19:51 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 11 Apr 2016 17:51:02 +0000 (19:51 +0200)
src/org/mxchange/jcountry/data/CountrySingletonBeanRemote.java

index 175f58b482b880bd54fe588d677ae0fb53943bfc..da3732c4c2c4d22a73b762955b3aaef9fedf9c52 100644 (file)
@@ -35,9 +35,11 @@ public interface CountrySingletonBeanRemote extends Serializable {
         * <p>
         * @param country Country instance to add (persist)
         * <p>
+        * @return Updated country instance with timestamp and id number
+        * <p>
         * @throws org.mxchange.jcountry.exceptions.CountryAlreadyAddedException If the country is already added
         */
-       void addCountry (final Country country) throws CountryAlreadyAddedException;
+       Country addCountry (final Country country) throws CountryAlreadyAddedException;
 
        /**
         * All registered countries