org.apache.geronimo.samples.daytrader
Class AccountProfileDataBean

java.lang.Object
  extended by org.apache.geronimo.samples.daytrader.AccountProfileDataBean
All Implemented Interfaces:
Serializable

public class AccountProfileDataBean
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
AccountProfileDataBean()
           
AccountProfileDataBean(String userID, String password, String fullName, String address, String email, String creditCard)
           
 
Method Summary
 AccountDataBean getAccount()
           
 String getAddress()
          Gets the address
 String getCreditCard()
          Gets the creditCard
 String getEmail()
          Gets the email
 String getFullName()
          Gets the fullName
 String getPassword()
          Gets the passwd
static AccountProfileDataBean getRandomInstance()
           
 String getUserID()
          Gets the userID
 void print()
           
 void setAccount(AccountDataBean account)
           
 void setAddress(String address)
          Sets the address
 void setCreditCard(String creditCard)
          Sets the creditCard
 void setEmail(String email)
          Sets the email
 void setFullName(String fullName)
          Sets the fullName
 void setPassword(String password)
          Sets the passwd
 void setUserID(String userID)
          Sets the userID
 String toHTML()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccountProfileDataBean

public AccountProfileDataBean()

AccountProfileDataBean

public AccountProfileDataBean(String userID,
                              String password,
                              String fullName,
                              String address,
                              String email,
                              String creditCard)
Method Detail

getRandomInstance

public static AccountProfileDataBean getRandomInstance()

toString

public String toString()
Overrides:
toString in class Object

toHTML

public String toHTML()

print

public void print()

getUserID

public String getUserID()
Gets the userID

Returns:
Returns a String

setUserID

public void setUserID(String userID)
Sets the userID

Parameters:
userID - The userID to set

getPassword

public String getPassword()
Gets the passwd

Returns:
Returns a String

setPassword

public void setPassword(String password)
Sets the passwd

Parameters:
password - The passwd to set

getFullName

public String getFullName()
Gets the fullName

Returns:
Returns a String

setFullName

public void setFullName(String fullName)
Sets the fullName

Parameters:
fullName - The fullName to set

getAddress

public String getAddress()
Gets the address

Returns:
Returns a String

setAddress

public void setAddress(String address)
Sets the address

Parameters:
address - The address to set

getEmail

public String getEmail()
Gets the email

Returns:
Returns a String

setEmail

public void setEmail(String email)
Sets the email

Parameters:
email - The email to set

getCreditCard

public String getCreditCard()
Gets the creditCard

Returns:
Returns a String

setCreditCard

public void setCreditCard(String creditCard)
Sets the creditCard

Parameters:
creditCard - The creditCard to set

getAccount

public AccountDataBean getAccount()

setAccount

public void setAccount(AccountDataBean account)


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.