]> git.mxchange.org Git - jcontacts-business-core.git/blobdiff - src/org/mxchange/jcontactsbusiness/model/employee/Employable.java
Continued:
[jcontacts-business-core.git] / src / org / mxchange / jcontactsbusiness / model / employee / Employable.java
index c724c021bbd021f990cf3dc14d088b016328fb46..7d9e16dc49ed1120f72304cae47822a4b4387865 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016, 2017 Roland Häder
+ * Copyright (C) 2016 - 2018 Free Software Foundation
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -19,20 +19,20 @@ package org.mxchange.jcontactsbusiness.model.employee;
 import java.io.Serializable;
 import java.util.Date;
 import org.mxchange.jcontacts.model.contact.Contact;
+import org.mxchange.jcontactsbusiness.model.basicdata.BasicData;
 import org.mxchange.jcontactsbusiness.model.branchoffice.BranchOffice;
 import org.mxchange.jcontactsbusiness.model.department.Department;
-import org.mxchange.jcontactsbusiness.model.jobposition.JobPosition;
+import org.mxchange.jcontactsbusiness.model.headquarter.Headquarter;
+import org.mxchange.jcontactsbusiness.model.jobposition.HireableJobPosition;
 import org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber;
 import org.mxchange.jusercore.model.user.User;
-import org.mxchange.jcontactsbusiness.model.basicdata.BasicData;
-import org.mxchange.jcontactsbusiness.model.headquarters.Headquarters;
 
 /**
  * A POJI for employees
  * <p>
  * @author Roland Häder<roland@mxchange.org>
  */
-public interface Employable extends Serializable {
+public interface Employable extends Comparable<Employable>, Serializable {
 
        /**
         * Getter for employee's branch office
@@ -53,14 +53,14 @@ public interface Employable extends Serializable {
         * <p>
         * @return Company instance
         */
-       BasicData getEmployeeCompany ();
+       BasicData getEmployeeBasicData ();
 
        /**
         * Setter for employee's company
         * <p>
         * @param employeeCompany Company instance
         */
-       void setEmployeeCompany (final BasicData employeeCompany);
+       void setEmployeeBasicData (final BasicData employeeCompany);
 
        /**
         * Getter for employee's department
@@ -81,14 +81,14 @@ public interface Employable extends Serializable {
         * <p>
         * @return Employable's head quarters
         */
-       Headquarters getEmployeeHeadquarter ();
+       Headquarter getEmployeeHeadquarter ();
 
        /**
         * Getter for employee's head quarters
         * <p>
         * @param employeeHeadquarter Employable's head quarters
         */
-       void setEmployeeHeadquarter (final Headquarters employeeHeadquarter);
+       void setEmployeeHeadquarter (final Headquarter employeeHeadquarter);
 
        /**
         * Getter for employee's email address
@@ -179,14 +179,14 @@ public interface Employable extends Serializable {
         * <p>
         * @return Employable's position
         */
-       JobPosition getEmployeePosition ();
+       HireableJobPosition getEmployeeJobPosition ();
 
        /**
         * Setter for employee's position
         * <p>
         * @param employeePosition Employable's position
         */
-       void setEmployeePosition (final JobPosition employeePosition);
+       void setEmployeeJobPosition (final HireableJobPosition employeePosition);
 
        /**
         * Getter for user owner instance