public class Vehicle {
	private String regNbr;
	private String model;
	private String type;
	private String licenseReq;
	private int price;
	private String info;
	private boolean hasHook;
	private String expiryDate;
	// Ange alla variablar som vi ska använda i klassen Vehicle (se UML diagrammet).
	
	public String getRegNbr() {
		return regNbr;
	}
	public void setRegNbr(String regNbr) {
		this.regNbr = regNbr;
	}
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getLicenseReq() {
		return licenseReq;
	}
	public void setLicenseReq(String licenseReq) {
		this.licenseReq = licenseReq;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public boolean isHasHook() {
		return hasHook;
	}
	public void setHasHook(boolean hasHook) {
		this.hasHook = hasHook;
	}
	public String getExpiryDate(){
		return expiryDate;
	}
	public void setExpiryDate(String expiryDate){
		this.expiryDate = expiryDate;
	}
	// Skapa getter och setter för de olika variablarna för att de ska kunna lagra olika information om fordonet!!
}

@@ -1,12 +1,13 @@
+%0A
 public class
@@ -294,16 +294,371 @@
 met).%0A%09%0A
+%09%09public Vehicle(String reNbr, String model, String type, String lecesnseReq,%0A%09%09%09%09int price, String info, boolean hasHook, String expiryDate)%7B%0A%09%09%09this.regNbr = regNbr;%0A%09%09%09this.model = model;%0A%09%09%09this.type = type;%0A%09%09%09this.licenseReq = licenseReq;%0A%09%09%09this.price = price;%0A%09%09%09this.info = info;%0A%09%09%09this.hasHook = hasHook;%0A%09%09%09this.expiryDate = expiryDate;%0A%09%09%7D%0A%09%0A
 %09public 
@@ -1701,9 +1701,11 @@
 onet
-!!
+.
 %0A%7D%0A
+%09%09%0A

Update Vehicle.java