From 33b71358686963acf0f59b59b1bb9e31ef56a6cb Mon Sep 17 00:00:00 2001
From: =?utf8?q?Roland=20H=C3=A4der?= <roland@mxchange.org>
Date: Sun, 8 Oct 2017 00:21:35 +0200
Subject: [PATCH] Continued: - renamed OpeningTimes -> OpeningTime as other
 interfaces/classes are single - renamed opening_times -> opening_time
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

Signed-off-by: Roland Häder <roland@mxchange.org>
---
 .../AdminOpeningTimeSessionBeanRemote.java}          |  6 +++---
 .../OpeningTimeSessionBeanRemote.java}               | 12 ++++++------
 2 files changed, 9 insertions(+), 9 deletions(-)
 rename src/org/mxchange/jcontactsbusiness/model/{opening_times/AdminOpeningTimesSessionBeanRemote.java => opening_time/AdminOpeningTimeSessionBeanRemote.java} (85%)
 rename src/org/mxchange/jcontactsbusiness/model/{opening_times/OpeningTimesSessionBeanRemote.java => opening_time/OpeningTimeSessionBeanRemote.java} (75%)

diff --git a/src/org/mxchange/jcontactsbusiness/model/opening_times/AdminOpeningTimesSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/model/opening_time/AdminOpeningTimeSessionBeanRemote.java
similarity index 85%
rename from src/org/mxchange/jcontactsbusiness/model/opening_times/AdminOpeningTimesSessionBeanRemote.java
rename to src/org/mxchange/jcontactsbusiness/model/opening_time/AdminOpeningTimeSessionBeanRemote.java
index 515faa1..00dccf3 100644
--- a/src/org/mxchange/jcontactsbusiness/model/opening_times/AdminOpeningTimesSessionBeanRemote.java
+++ b/src/org/mxchange/jcontactsbusiness/model/opening_time/AdminOpeningTimeSessionBeanRemote.java
@@ -14,7 +14,7 @@
  * 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.jcontactsbusiness.model.opening_times;
+package org.mxchange.jcontactsbusiness.model.opening_time;
 
 import java.io.Serializable;
 import javax.ejb.Remote;
@@ -25,7 +25,7 @@ import javax.ejb.Remote;
  * @author Roland Häder<roland@mxchange.org>
  */
 @Remote
-public interface AdminOpeningTimesSessionBeanRemote extends Serializable {
+public interface AdminOpeningTimeSessionBeanRemote extends Serializable {
 
 	/**
 	 * Adds a given opening time instance to the database. Please note that this
@@ -36,6 +36,6 @@ public interface AdminOpeningTimesSessionBeanRemote extends Serializable {
 	 * <p>
 	 * @return Updated opening time instance
 	 */
-	OpeningTimes addOpeningTime (final OpeningTimes openingTime);
+	OpeningTime addOpeningTime (final OpeningTime openingTime);
 
 }
diff --git a/src/org/mxchange/jcontactsbusiness/model/opening_times/OpeningTimesSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/model/opening_time/OpeningTimeSessionBeanRemote.java
similarity index 75%
rename from src/org/mxchange/jcontactsbusiness/model/opening_times/OpeningTimesSessionBeanRemote.java
rename to src/org/mxchange/jcontactsbusiness/model/opening_time/OpeningTimeSessionBeanRemote.java
index 8172557..249668c 100644
--- a/src/org/mxchange/jcontactsbusiness/model/opening_times/OpeningTimesSessionBeanRemote.java
+++ b/src/org/mxchange/jcontactsbusiness/model/opening_time/OpeningTimeSessionBeanRemote.java
@@ -14,12 +14,12 @@
  * 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.jcontactsbusiness.model.opening_times;
+package org.mxchange.jcontactsbusiness.model.opening_time;
 
 import java.io.Serializable;
 import java.util.List;
 import javax.ejb.Remote;
-import org.mxchange.jcontactsbusiness.exceptions.opening_times.OpeningTimesNotFoundException;
+import org.mxchange.jcontactsbusiness.exceptions.opening_time.OpeningTimeNotFoundException;
 
 /**
  * A remote interface for opening times
@@ -27,7 +27,7 @@ import org.mxchange.jcontactsbusiness.exceptions.opening_times.OpeningTimesNotFo
  * @author Roland Häder<roland@mxchange.org>
  */
 @Remote
-public interface OpeningTimesSessionBeanRemote extends Serializable {
+public interface OpeningTimeSessionBeanRemote extends Serializable {
 
 	/**
 	 * Retrieves a single company department entity for given id number or
@@ -37,10 +37,10 @@ public interface OpeningTimesSessionBeanRemote extends Serializable {
 	 * <p>
 	 * @return Company department instance
 	 * <p>
-	 * @throws OpeningTimesNotFoundException If the id number could not be looked
+	 * @throws OpeningTimeNotFoundException If the id number could not be looked
 	 * up and solved into an entity
 	 */
-	OpeningTimes findOpeningTimesById (final Long openingId) throws OpeningTimesNotFoundException;
+	OpeningTime findOpeningTimesById (final Long openingId) throws OpeningTimeNotFoundException;
 
 	/**
 	 * Returns a list, even empty if not thing found, from all opening times.
@@ -48,6 +48,6 @@ public interface OpeningTimesSessionBeanRemote extends Serializable {
 	 * <p>
 	 * @return A list with all opening times
 	 */
-	List<OpeningTimes> allOpeningTimes ();
+	List<OpeningTime> allOpeningTimes ();
 
 }
-- 
2.39.5