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;
* 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
}
@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;
}
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;
/**
* <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