/* This class describes an employee with the following attributes and methods! The employee class
 * is abstract as the employee needs to be either a wage employee or a permanent employee. All
 * variables and methods which define the employee and are inherited! */

public abstract class Employee {

	private String employeeNbr;
	private String personalNbr;
	private String firstName;
	private String lastName;
	private String adress;
	private String email;
	private String telephoneNbr;

	public Employee(String employeeNbr, String personalNbr, String firstName, 
					String lastName, String adress, String email, String telephoneNbr) {
		
		this.setEmployeeNbr(employeeNbr);
		this.setPersonalNbr(personalNbr);
		this.setFirstName(firstName);
		this.setLastName(lastName);
		this.setAdress(adress);
		this.setEmail(email);
		this.setTelephoneNbr(telephoneNbr);
	}

	public String getEmployeeNbr() {
		return employeeNbr;
	}

	public void setEmployeeNbr(String employeeNbr) {
		this.employeeNbr = employeeNbr;
	}

	public String getPersonalNbr() {
		return personalNbr;
	}

	public void setPersonalNbr(String personalNbr) {
		this.personalNbr = personalNbr;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getAdress() {
		return adress;
	}

	public void setAdress(String adress) {
		this.adress = adress;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getTelephoneNbr() {
		return telephoneNbr;
	}

	public void setTelephoneNbr(String telephoneNbr) {
		this.telephoneNbr = telephoneNbr;
	}

}

@@ -341,26 +341,24 @@
 tring person
-al
 Nbr;%0A%09privat
@@ -423,37 +423,20 @@
 ing 
-adress;%0A%09private String email
+telephoneNbr
 ;%0A%09p
@@ -449,28 +449,21 @@
  String 
-telephoneNbr
+email
 ;%0A%0A%09publ
@@ -507,18 +507,16 @@
 g person
-al
 Nbr, Str
@@ -615,20 +615,17 @@
 %0A%09%09this.
-setE
+e
 mployeeN
@@ -626,17 +626,19 @@
 loyeeNbr
-(
+ = 
 employee
@@ -640,17 +640,16 @@
 loyeeNbr
-)
 ;%0A%09%09this
@@ -653,35 +653,29 @@
 his.
-setP
+p
 erson
-al
 Nbr
-(
+ = 
 person
-al
 Nbr
-)
 ;%0A%09%09
@@ -679,28 +679,25 @@
 %0A%09%09this.
-setF
+f
 irstName
 (firstNa
@@ -688,17 +688,19 @@
 irstName
-(
+ = 
 firstNam
@@ -696,25 +696,24 @@
  = firstName
-)
 ;%0A%09%09this.set
@@ -713,28 +713,27 @@
 his.
-setL
+l
 astName
-(
+ = 
 lastName
 );%0A%09
@@ -728,17 +728,16 @@
 lastName
-)
 ;%0A%09%09this
@@ -741,49 +741,21 @@
 his.
-setAdress(adress);%0A%09%09this.setE
+e
 mail
-(
+ = 
 email
-)
 ;%0A%09%09
@@ -759,20 +759,17 @@
 %0A%09%09this.
-setT
+t
 elephone
@@ -771,17 +771,19 @@
 phoneNbr
-(
+ = 
 telephon
@@ -786,17 +786,16 @@
 phoneNbr
-)
 ;%0A%09%7D%0A%0A%09p
@@ -985,26 +985,24 @@
 eturn person
-al
 Nbr;%0A%09%7D%0A%0A%09pu
@@ -1061,18 +1061,16 @@
 s.person
-al
 Nbr = pe
@@ -1368,22 +1368,28 @@
 ring get
-Adress
+TelephoneNbr
 () %7B%0A%09%09r
@@ -1394,22 +1394,28 @@
 %09return 
-adress
+telephoneNbr
 ;%0A%09%7D%0A%0A%09p
@@ -1432,59 +1432,84 @@
  set
-Adress(String adress) %7B%0A%09%09this.adress = adress
+TelephoneNbr(String telephoneNbr) %7B%0A%09%09this.telephoneNbr = telephoneNbr
 ;%0A%09%7D%0A
+%09
 %0A%09pu
@@ -1620,161 +1620,6 @@
 %0A%09%7D%0A
-%0A%09public String getTelephoneNbr() %7B%0A%09%09return telephoneNbr;%0A%09%7D%0A%0A%09public void setTelephoneNbr(String telephoneNbr) %7B%0A%09%09this.telephoneNbr = telephoneNbr;%0A%09%7D%0A%0A
 %7D%0A

Update Employee.java