diff --git a/Party_APP/bin/model/User.class b/Party_APP/bin/model/User.class index 0f96ab6..135b7d7 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 370ae91..2ac175d 100644 --- a/Party_APP/src/model/User.java +++ b/Party_APP/src/model/User.java @@ -1,3 +1,17 @@ +/********************************************* + * Class: User + * Author: Gabriella Reggiano + * + * Revision Log: + * 02/26/2016 - start code + * 03/04/2016 - adding in this javadoc shit + * + ********************************************/ + + + + + package model; public class User @@ -9,26 +23,34 @@ public class User private Party[] _currentParties; private Party[] _pastParties; - //Constructor + /******************************************* + *User Constructor + ******************************************/ public User(String un, String pw) { _username = un; _password = pw; } - //getter for username + /******************************************* + *Username getter + ******************************************/ public String getUsername() { return _username; } - //setter for username + /******************************************* + *Username setter + ******************************************/ public void setUsername(String newUn) { _username = newUn; } - //setter for password, asking for old password first + /******************************************* + *Password setter, old password required + ******************************************/ public void setPassword(String oldPw, String newPw) { if (oldPw.equals(_password))