package cmput301.ajford.expense_tracker.models;

import java.util.Date;
import org.joda.money.Money;

public class ExpenseItem {
	private Date date;
	private String category;
	private String description;
	private Money amountSpent;

	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Money getAmountSpent() {
		return amountSpent;
	}
	public void setAmountSpent(Money amountSpent) {
		this.amountSpent = amountSpent;
	}
}

@@ -42,16 +42,44 @@
 odels;%0A%0A
+import java.util.ArrayList;%0A
 import j
@@ -93,16 +93,16 @@
 l.Date;%0A
-
 import o
@@ -150,16 +150,371 @@
 eItem %7B%0A
+%09private transient static final ArrayList%3CString%3E validCategories = new ArrayList%3CString%3E() %7B%7B%0A%09%09add(%22Air Fare%22);%0A%09%09add(%22Ground Transport%22);%0A%09%09add(%22Vehicle Rental%22);%0A%09%09add(%22Fuel%22);%0A%09%09add(%22Parking%22);%0A%09%09add(%22Registration%22);%0A%09%09add(%22Accomodiation%22);%0A%09%09add(%22Meal%22);%0A%09%7D%7D;%0A%09%0A%09public static ArrayList%3CString%3E getValidCategories() %7B%0A%09%09return validCategories;%0A%09%7D%0A%09%0A
 %09private
@@ -644,32 +644,33 @@
 return date;%0A%09%7D%0A
+%0A
 %09public void set
@@ -706,24 +706,25 @@
  = date;%0A%09%7D%0A
+%0A
 %09public Stri
@@ -756,32 +756,33 @@
 rn category;%0A%09%7D%0A
+%0A
 %09public void set
@@ -836,24 +836,25 @@
 ategory;%0A%09%7D%0A
+%0A
 %09public Stri
@@ -892,32 +892,33 @@
 description;%0A%09%7D%0A
+%0A
 %09public void set
@@ -984,24 +984,25 @@
 ription;%0A%09%7D%0A
+%0A
 %09public Mone
@@ -1044,19 +1044,20 @@
 tSpent;%0A
-
 %09%7D%0A
+%0A
 %09public 

Add valid categories