
public class Warehouse {
	// Vi måste ha med Warehouse klassen för att vet var de olika fordonen befinner sig och hur mycket dem rymmer.
	private String location;
	private int capacity;
	
		public Warehouse(String location, int capacity){
			this.location = location;
			this.capacity = capacity;
		}
	
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public int getCapacity() {
		return capacity;
	}
	public void setCapacity(int capacity) {
		this.capacity = capacity;
	}
	// Skapar getter och setter precis som vanligt för att kunna lägga in olika info.
}

/* The class acts as a location tracker for vehicles! Vehicles uses the class as a definition
 * of where they are located! The accessories and the employees may in the 
 * future also use this service! */

public class Warehouse {

	private String adress;
	private String city;
	private String areaCode;
	
	public Warehouse(String adress, String city, String areaCode) {
		super();
		this.adress = adress;
		this.city = city;
		this.areaCode = areaCode;
	}

	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;
	}	
}

Update Warehouse.java