From 0dff02b8cb2b81716550c5837560890fba7e5dc5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 2 Nov 2017 20:50:11 +0100 Subject: [PATCH] Continued: - renamed all occurrences from headquarters to headquarter to reduce confusion between singlar and plural naming. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../AdminHeadquarterSessionBeanRemote.java} | 18 +++++++++--------- .../HeadquarterSessionBeanRemote.java} | 7 ++++--- 2 files changed, 13 insertions(+), 12 deletions(-) rename src/org/mxchange/jcontactsbusiness/model/{headquarters/AdminHeadquartersSessionBeanRemote.java => headquarter/AdminHeadquarterSessionBeanRemote.java} (61%) rename src/org/mxchange/jcontactsbusiness/model/{headquarters/HeadquartersSessionBeanRemote.java => headquarter/HeadquarterSessionBeanRemote.java} (79%) diff --git a/src/org/mxchange/jcontactsbusiness/model/headquarters/AdminHeadquartersSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/model/headquarter/AdminHeadquarterSessionBeanRemote.java similarity index 61% rename from src/org/mxchange/jcontactsbusiness/model/headquarters/AdminHeadquartersSessionBeanRemote.java rename to src/org/mxchange/jcontactsbusiness/model/headquarter/AdminHeadquarterSessionBeanRemote.java index 5ef695a..7292bef 100644 --- a/src/org/mxchange/jcontactsbusiness/model/headquarters/AdminHeadquartersSessionBeanRemote.java +++ b/src/org/mxchange/jcontactsbusiness/model/headquarter/AdminHeadquarterSessionBeanRemote.java @@ -14,32 +14,32 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.jcontactsbusiness.model.headquarters; +package org.mxchange.jcontactsbusiness.model.headquarter; import java.io.Serializable; import javax.ejb.Remote; -import org.mxchange.jcontactsbusiness.exceptions.headquarters.HeadquartersAlreadyAddedException; +import org.mxchange.jcontactsbusiness.exceptions.headquarter.HeadquarterAlreadyAddedException; /** - * An administrative remote interface for company headquarters data + * An administrative remote interface for company headquarter data *

* @author Roland Häder */ @Remote -public interface AdminHeadquartersSessionBeanRemote extends Serializable { +public interface AdminHeadquarterSessionBeanRemote extends Serializable { /** - * Adds given headquarters entity to persistence. If the headquarters' + * Adds given headquarter entity to persistence. If the headquarter' * address was already added, a proper exception is thrown. The parameter is * validated before being accepted like that branchId is not set. *

- * @param headquarters Headquarter instance + * @param headquarter Headquarter instance *

- * @return Updated headquarters instance + * @return Updated headquarter instance *

- * @throws HeadquartersAlreadyAddedException If the headquarters' address + * @throws HeadquarterAlreadyAddedException If the headquarter' address * was already added */ - Headquarter addHeadquarters (final Headquarter headquarters) throws HeadquartersAlreadyAddedException; + Headquarter addHeadquarter (final Headquarter headquarter) throws HeadquarterAlreadyAddedException; } diff --git a/src/org/mxchange/jcontactsbusiness/model/headquarters/HeadquartersSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/model/headquarter/HeadquarterSessionBeanRemote.java similarity index 79% rename from src/org/mxchange/jcontactsbusiness/model/headquarters/HeadquartersSessionBeanRemote.java rename to src/org/mxchange/jcontactsbusiness/model/headquarter/HeadquarterSessionBeanRemote.java index 9b70482..f37d7b4 100644 --- a/src/org/mxchange/jcontactsbusiness/model/headquarters/HeadquartersSessionBeanRemote.java +++ b/src/org/mxchange/jcontactsbusiness/model/headquarter/HeadquarterSessionBeanRemote.java @@ -14,19 +14,20 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.jcontactsbusiness.model.headquarters; +package org.mxchange.jcontactsbusiness.model.headquarter; +import org.mxchange.jcontactsbusiness.model.headquarter.Headquarter; import java.io.Serializable; import java.util.List; import javax.ejb.Remote; /** - * A general remote interface for company headquarters data + * A general remote interface for company headquarter data *

* @author Roland Häder */ @Remote -public interface HeadquartersSessionBeanRemote extends Serializable { +public interface HeadquarterSessionBeanRemote extends Serializable { /** * Returns a list of all headquarters -- 2.39.5