com.sun.j2ee.blueprints.customer.account.model
Class AccountModel

java.lang.Object
  |
  +--com.sun.j2ee.blueprints.customer.account.model.AccountModel
Direct Known Subclasses:
AccountWebImpl

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

This class provides methods to view and modify account information for a particular account.

See Also:
Serialized Form

Constructor Summary
AccountModel(java.lang.String userId, java.lang.String status, ContactInformation info)
           
 
Method Summary
 void copy(AccountModel other)
          shallow copy
 ContactInformation getContactInformation()
           
 java.lang.String getStatus()
           
 java.lang.String getUserId()
           
 boolean isLoggedIn()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccountModel

public AccountModel(java.lang.String userId,
                    java.lang.String status,
                    ContactInformation info)
Method Detail

getUserId

public java.lang.String getUserId()

getStatus

public java.lang.String getStatus()

isLoggedIn

public boolean isLoggedIn()

getContactInformation

public ContactInformation getContactInformation()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

copy

public void copy(AccountModel other)
shallow copy


Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.