]> git.mxchange.org Git - jcontacts-business-core.git/commitdiff
Renaming season has started:
authorRoland Häder <roland@mxchange.org>
Tue, 16 Aug 2016 08:05:12 +0000 (10:05 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 16 Aug 2016 08:07:01 +0000 (10:07 +0200)
- renamed cellphone to mobile (all occurences)
- let's don't discrimite other mobile phones, right?

src/org/mxchange/jcontactsbusiness/employee/CompanyEmployee.java
src/org/mxchange/jcontactsbusiness/employee/Employee.java

index 6168d3faaf6ef776fca2fcd587f6316b5ca46d4a..50bc15b6b3ee37d7031944d318911fb4cc48fc0a 100644 (file)
@@ -43,8 +43,8 @@ import org.mxchange.jcontactsbusiness.headquarters.CompanyHeadQuartersData;
 import org.mxchange.jcontactsbusiness.headquarters.HeadQuartersData;
 import org.mxchange.jcontactsbusiness.jobposition.EmployeePosition;
 import org.mxchange.jcontactsbusiness.jobposition.JobPosition;
-import org.mxchange.jphone.phonenumbers.cellphone.CellphoneNumber;
-import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber;
+import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
+import org.mxchange.jphone.phonenumbers.mobile.MobileNumber;
 import org.mxchange.jusercore.model.user.LoginUser;
 import org.mxchange.jusercore.model.user.User;
 
@@ -118,8 +118,8 @@ public class CompanyEmployee implements Employee {
         * Employee's business mobile number
         */
        @JoinColumn (name = "employee_mobile_number_id")
-       @OneToOne (targetEntity = CellphoneNumber.class, cascade = CascadeType.ALL)
-       private DialableCellphoneNumber employeeMobileNumber;
+       @OneToOne (targetEntity = MobileNumber.class, cascade = CascadeType.ALL)
+       private DialableMobileNumber employeeMobileNumber;
 
        /**
         * Employee's number
@@ -257,12 +257,12 @@ public class CompanyEmployee implements Employee {
        }
 
        @Override
-       public DialableCellphoneNumber getEmployeeMobileNumber () {
+       public DialableMobileNumber getEmployeeMobileNumber () {
                return this.employeeMobileNumber;
        }
 
        @Override
-       public void setEmployeeMobileNumber (final DialableCellphoneNumber employeeMobileNumber) {
+       public void setEmployeeMobileNumber (final DialableMobileNumber employeeMobileNumber) {
                this.employeeMobileNumber = employeeMobileNumber;
        }
 
index 6e519376c0b0ab9225a6cf7732c94c9fcba4c409..57e5b7516a54750a92cd047b7d0f31e61ff47004 100644 (file)
@@ -24,7 +24,7 @@ import org.mxchange.jcontactsbusiness.branch.BranchOffice;
 import org.mxchange.jcontactsbusiness.department.Department;
 import org.mxchange.jcontactsbusiness.headquarters.HeadQuartersData;
 import org.mxchange.jcontactsbusiness.jobposition.JobPosition;
-import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber;
+import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
 import org.mxchange.jusercore.model.user.User;
 
 /**
@@ -123,14 +123,14 @@ public interface Employee extends Serializable {
         * <p>
         * @return Employee's mobile number
         */
-       DialableCellphoneNumber getEmployeeMobileNumber ();
+       DialableMobileNumber getEmployeeMobileNumber ();
 
        /**
         * Setter for employee's mobile number
         * <p>
         * @param employeeMobileNumber Employee's mobile number
         */
-       void setEmployeeMobileNumber (final DialableCellphoneNumber employeeMobileNumber);
+       void setEmployeeMobileNumber (final DialableMobileNumber employeeMobileNumber);
 
        /**
         * Getter for employee's number