powerquotes.common
Class UserProfile

java.lang.Object
  |
  +--powerquotes.common.UserProfile
All Implemented Interfaces:
java.io.Serializable

public class UserProfile
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
UserProfile()
          Default Constructor.
UserProfile(java.lang.String name, int[] list)
          Constructor with user name and stock list.
 
Method Summary
 int getProfileId()
          Gets the profileId.
 java.lang.String getProfileName()
          Gets the profileName
 int[] getStockList()
          Gets the stockList array.
 int getUserId()
          Gets the userId.
 java.lang.String getUserName()
          Gets the userName.
 void setProfileId(int id)
          Sets the profileId.
 void setProfileName(java.lang.String name)
          Sets the profileName
 void setStockList(int[] list)
          Sets the stockList array.
 void setUserId(int id)
          Sets the userId.
 void setUserName(java.lang.String name)
          Sets the userName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserProfile

public UserProfile()
Default Constructor.

UserProfile

public UserProfile(java.lang.String name,
                   int[] list)
Constructor with user name and stock list.
Parameters:
name - user name associated with profile
list - list of stocks the user is interested in seeing updates for
Method Detail

setUserName

public void setUserName(java.lang.String name)
Sets the userName.
Parameters:
name - user name associated with profile

getUserName

public java.lang.String getUserName()
Gets the userName.
Returns:
returns the user name associated with profile

setUserId

public void setUserId(int id)
Sets the userId.
Parameters:
id - ID number associated with profile

getUserId

public int getUserId()
Gets the userId.
Returns:
returns the ID number associated with profile

setProfileName

public void setProfileName(java.lang.String name)
Sets the profileName

getProfileName

public java.lang.String getProfileName()
Gets the profileName

setProfileId

public void setProfileId(int id)
Sets the profileId.

getProfileId

public int getProfileId()
Gets the profileId.

setStockList

public void setStockList(int[] list)
Sets the stockList array.
Parameters:
list - list of stocks the user is interested in seeing updates for

getStockList

public int[] getStockList()
Gets the stockList array.
Returns:
returns the list of stocks the user is interested in seeing updates for