com.zphinx.spine.vo
Class AccountTypeBean

java.lang.Object
  extended by com.zphinx.spine.vo.AccountTypeBean
All Implemented Interfaces:
Serializable

public class AccountTypeBean
extends Object
implements Serializable

AccountTypeBean stores AccountTypes by referencing both the previous and the present value of the AccountType held by a user of this system.
The types of the account are derived from MemberAccount.

Version:
$1.0
Author:
David Ladapo
See Also:

Copyright ©Zphinx Software Solutions

, Serialized Form

Constructor Summary
AccountTypeBean()
          Public Constructor
AccountTypeBean(int presentType)
          Constructor which accepts the present type of the account as a parameter
AccountTypeBean(int previousType, int presentType)
          Constructor which accepts the present and previous values of this account type
 
Method Summary
 int getPresentType()
          Gets the presentType of this account
 int getPreviousType()
          Gets the previousType of this account
 void setPresentType(int presentType)
          Sets the presentType of this account
 void setPreviousType(int previousType)
          Sets the previousType of this account
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountTypeBean

public AccountTypeBean()
Public Constructor


AccountTypeBean

public AccountTypeBean(int presentType)
Constructor which accepts the present type of the account as a parameter

Parameters:
presentType - The present type of the account

AccountTypeBean

public AccountTypeBean(int previousType,
                       int presentType)
Constructor which accepts the present and previous values of this account type

Parameters:
previousType - The previous type of this account normally in specified in MemberAccount
presentType - The present type of the account normally in specified in MemberAccount
Method Detail

getPresentType

public int getPresentType()
Gets the presentType of this account

Returns:
the presentType

setPresentType

public void setPresentType(int presentType)
Sets the presentType of this account

Parameters:
presentType - the presentType to set

getPreviousType

public int getPreviousType()
Gets the previousType of this account

Returns:
the previousType

setPreviousType

public void setPreviousType(int previousType)
Sets the previousType of this account

Parameters:
previousType - the previousType to set