diff --git a/Party_APP/bin/model/User.class b/Party_APP/bin/model/User.class index 135b7d7..109ceaf 100644 Binary files a/Party_APP/bin/model/User.class and b/Party_APP/bin/model/User.class differ diff --git a/Party_APP/src/model/User.java b/Party_APP/src/model/User.java index 2ac175d..e96c1f9 100644 --- a/Party_APP/src/model/User.java +++ b/Party_APP/src/model/User.java @@ -5,6 +5,7 @@ * Revision Log: * 02/26/2016 - start code * 03/04/2016 - adding in this javadoc shit + * 03/25/2016 - getters and setters for contactList, and parties * ********************************************/ @@ -57,5 +58,52 @@ public class User _password = newPw; } + /******************************************* + *Contact getter + ******************************************/ + public Contact[] getContactList() + { + return _contactList; + } + + /******************************************* + *Contact setter + ******************************************/ + public void setContactList(Contact[] conList) + { + _contactList = conList; + } + + /******************************************* + *Current Party List getter + ******************************************/ + public Party[] getCurrPartyList() + { + return _currentParties; + } + + /******************************************* + *Current Party List setter + ******************************************/ + public void setCurrPartyList(Party[] parties) + { + _currentParties = parties; + } + + /******************************************* + *Past Party List getter + ******************************************/ + public Party[] getPastPartyList() + { + return _pastParties; + } + + /******************************************* + *Past Party List setter + ******************************************/ + public void setPastPartyList(Party[] parties) + { + _pastParties = parties; + } }