Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added getters and setters to user class for contact list and party lists
  • Loading branch information
Gabriella authored and Gabriella committed Mar 25, 2016
1 parent c31ff3d commit dab3e66
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
Binary file modified Party_APP/bin/model/User.class
Binary file not shown.
48 changes: 48 additions & 0 deletions Party_APP/src/model/User.java
Expand Up @@ -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
*
********************************************/

Expand Down Expand Up @@ -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;
}

}

0 comments on commit dab3e66

Please sign in to comment.