From 34b1764ffce4e1da38f74d69ee2ad34d06460dff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 16 Aug 2016 10:02:53 +0200 Subject: [PATCH] Renaming season has started: - renamed cellphone to mobile (all occurences) - let's don't discrimite other mobile phones, right? --- .../phonenumbers/phone/AdminPhoneSessionBeanRemote.java | 6 +++--- .../jphone/phonenumbers/phone/PhoneSessionBeanRemote.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java b/src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java index 7c7398f..7ecb759 100644 --- a/src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java +++ b/src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java @@ -18,7 +18,7 @@ package org.mxchange.jphone.phonenumbers.phone; import java.io.Serializable; import javax.ejb.Remote; -import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber; +import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber; /** * A remote administrative interface for any kind of phone numbers. @@ -33,7 +33,7 @@ public interface AdminPhoneSessionBeanRemote extends Serializable { *

* @param cellPhoneNumber Cell phone data to be deleted */ - void deleteCellphoneData (final DialableCellphoneNumber cellPhoneNumber); + void deleteMobileData (final DialableMobileNumber cellPhoneNumber); /** * Updates data from given cell phone number instance in database @@ -42,6 +42,6 @@ public interface AdminPhoneSessionBeanRemote extends Serializable { *

* @return Updated cell phone number instance */ - DialableCellphoneNumber updateCellphoneData (final DialableCellphoneNumber cellPhoneNumber); + DialableMobileNumber updateMobileData (final DialableMobileNumber cellPhoneNumber); } diff --git a/src/org/mxchange/jphone/phonenumbers/phone/PhoneSessionBeanRemote.java b/src/org/mxchange/jphone/phonenumbers/phone/PhoneSessionBeanRemote.java index 8037bc5..da9a72c 100644 --- a/src/org/mxchange/jphone/phonenumbers/phone/PhoneSessionBeanRemote.java +++ b/src/org/mxchange/jphone/phonenumbers/phone/PhoneSessionBeanRemote.java @@ -20,9 +20,9 @@ import java.io.Serializable; import java.util.List; import javax.ejb.Remote; import org.mxchange.jphone.exceptions.PhoneEntityNotFoundException; -import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber; import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber; import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber; +import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber; /** * A remote interface for phone numbers (any kind) @@ -41,14 +41,14 @@ public interface PhoneSessionBeanRemote extends Serializable { *

* @throws PhoneEntityNotFoundException If the entity was not found */ - DialableCellphoneNumber findCellphoneById (Long cellphoneId) throws PhoneEntityNotFoundException; + DialableMobileNumber findMobileNumberById (Long cellphoneId) throws PhoneEntityNotFoundException; /** * Returns a list of all cell phone numbers *

* @return All cell phone numbers */ - List allCellphoneNumbers (); + List allMobileNumbers (); /** * Returns a list of all land-line numbers -- 2.39.5