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

import java.util.ArrayList;

public abstract class Customer {

	private String firstName;
	private String lastName;
	private String customerNbr; // Identification variable!
	private String adress;
	private String city;
	private String areaCode;
	private String phoneNbr;
	private String mailAdress;
	private int discountLevel; // What level of discount the customer has (10%, 20% ...)!
	private ArrayList<Order> previousOrders; // The previous orders!

	public Customer(String firstName, String lastName, String customerNbr,
			String adress, String city, String areaCode, String phoneNbr,
			String mailAdress, int discountLevel) {

		this.firstName = firstName;
		this.lastName = lastName;
		this.customerNbr = customerNbr;
		this.adress = adress;
		this.city = city;
		this.areaCode = areaCode;
		this.phoneNbr = phoneNbr;
		this.mailAdress = mailAdress;
		this.discountLevel = discountLevel;
		this.previousOrders = new ArrayList<Order>();
	}
	
	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 getCustomerNbr() {
		return customerNbr;
	}

	public void setCustomerNbr(String customerNbr) {
		this.customerNbr = customerNbr;
	}

	public String getAdress() {
		return adress;
	}

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

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getPhoneNbr() {
		return phoneNbr;
	}

	public void setPhoneNbr(String phoneNbr) {
		this.phoneNbr = phoneNbr;
	}

	public String getMailAdress() {
		return mailAdress;
	}

	public void setMailAdress(String mailAdress) {
		this.mailAdress = mailAdress;
	}

	public int getDiscountLevel() {
		return discountLevel;
	}

	public void setDiscountLevel(int discountLevel) {
		this.discountLevel = discountLevel;
	}

	public void addPreviousOrder(Order order) {
		previousOrders.add(order);
	}
}

@@ -336,67 +336,11 @@
 ate 
-String firstName;%0A%09private String lastName;%0A%09private String
+int
  cus
@@ -678,49 +678,11 @@
 mer(
-String firstName, String lastName, String
+int
  cus
@@ -804,66 +804,8 @@
  %7B%0A%0A
-%09%09this.firstName = firstName;%0A%09%09this.lastName = lastName;%0A
 %09%09th
@@ -1055,17 +1055,16 @@
 %3E();%0A%09%7D%0A
-%09
 %0A%09public
@@ -1068,280 +1068,11 @@
 lic 
-String getFirstName() %7B%0A%09%09return firstName;%0A%09%7D%0A%0A%09public void setFirstName(String firstName) %7B%0A%09%09this.firstName = firstName;%0A%09%7D%0A%0A%09public String getLastName() %7B%0A%09%09return lastName;%0A%09%7D%0A%0A%09public void setLastName(String lastName) %7B%0A%09%09this.lastName = lastName;%0A%09%7D%0A%0A%09public String
+int
  get
@@ -1141,22 +1141,19 @@
 omerNbr(
-Str
 in
-g
+t
  custome

Update Customer.java