+++ /dev/null
-/*
- * Copyright (C) 2016, 2017 Roland Häder
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.jcountry.data;
-
-import java.io.Serializable;
-import java.util.List;
-import javax.ejb.Remote;
-import org.mxchange.jcountry.exceptions.CountryAlreadyAddedException;
-
-/**
- * A remote interface for country informations
- * <p>
- * @author Roland Häder<roland@mxchange.org>
- */
-@Remote
-public interface CountrySingletonBeanRemote extends Serializable {
-
- /**
- * Adds given country to database. A pre-check is always done and if found,
- * a checked exception is thrown.
- * <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
- */
- Country addCountry (final Country country) throws CountryAlreadyAddedException;
-
- /**
- * All registered countries
- * <p>
- * @return A list of all countries
- */
- List<Country> allCountries ();
-
-}
--- /dev/null
+/*
+ * Copyright (C) 2016, 2017 Roland Häder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jcountry.model.data;
+
+import org.mxchange.jcountry.model.data.Country;
+import java.io.Serializable;
+import java.util.List;
+import javax.ejb.Remote;
+import org.mxchange.jcountry.exceptions.CountryAlreadyAddedException;
+
+/**
+ * A remote interface for country informations
+ * <p>
+ * @author Roland Häder<roland@mxchange.org>
+ */
+@Remote
+public interface CountrySingletonBeanRemote extends Serializable {
+
+ /**
+ * Adds given country to database. A pre-check is always done and if found,
+ * a checked exception is thrown.
+ * <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
+ */
+ Country addCountry (final Country country) throws CountryAlreadyAddedException;
+
+ /**
+ * All registered countries
+ * <p>
+ * @return A list of all countries
+ */
+ List<Country> allCountries ();
+
+}