com.sas.hls.security.user
Class AccountInfo

java.lang.Object
  extended by com.sas.hls.security.user.AccountInfo
All Implemented Interfaces:
Serializable

public class AccountInfo
extends Object
implements Serializable

A data transfer object listing more detailed information about a user's account.

See Also:
Serialized Form

Nested Class Summary
static class AccountInfo.AccountType
          The list of account types currently supported.
 
Constructor Summary
AccountInfo()
          Zero-arg constructor.
AccountInfo(AccountInfo.AccountType accountType)
          Constructor
 
Method Summary
 AccountInfo.AccountType getAccountType()
          Get the type of account specified in the AccountInfo.
 Date getActivationDate()
          Get the activation date of this account.
 boolean getActive()
          Get the boolean value indicating if this account is currently active.
 Date getDeactivationDate()
          Get the deactivation date of this account.
 String getStatusBy()
          Get the identity of the person who last changed the status of this account.
 Date getStatusDate()
          Get the date that this account was put into its current status.
 boolean isActive()
          Get the boolean value indicating if this account is currently active.
 void setAccountType(AccountInfo.AccountType accountType)
          Set the type of account specified in the AccountInfo.
 void setActivationDate(Date activationDate)
          Set the activation date of this account.
 void setActive(boolean active)
          Set the boolean value indicating if this account is currently active.
 void setDeactivationDate(Date deactivationDate)
          Set the deactivation date of this account.
 void setStatusBy(String statusBy)
          Set the identity of the person who last changed the status of this account.
 void setStatusDate(Date statusDate)
          Set the date that this account was put into its current status.
 String toString()
          Return a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccountInfo

public AccountInfo()
Zero-arg constructor.


AccountInfo

public AccountInfo(AccountInfo.AccountType accountType)
Constructor

Parameters:
accountType - The type of account being created.
Method Detail

getAccountType

public AccountInfo.AccountType getAccountType()
Get the type of account specified in the AccountInfo.

Returns:
the type of account specified in the AccountInfo.

setAccountType

public void setAccountType(AccountInfo.AccountType accountType)
Set the type of account specified in the AccountInfo.

Parameters:
accountType - the type of account to specify in the AccountInfo.

getActivationDate

public Date getActivationDate()
Get the activation date of this account.

Returns:
The activation date of this account.

setActivationDate

public void setActivationDate(Date activationDate)
Set the activation date of this account.

Parameters:
activationDate - The activation date of this account.

getDeactivationDate

public Date getDeactivationDate()
Get the deactivation date of this account.

Returns:
The deactivation date of this account.

setDeactivationDate

public void setDeactivationDate(Date deactivationDate)
Set the deactivation date of this account.

Parameters:
deactivationDate - The deactivation date of this account.

isActive

public boolean isActive()
Get the boolean value indicating if this account is currently active.

Returns:
The boolean value indicating if this account is currently active.

getActive

public boolean getActive()
Get the boolean value indicating if this account is currently active.

Returns:
The boolean value indicating if this account is currently active.

setActive

public void setActive(boolean active)
Set the boolean value indicating if this account is currently active.

Parameters:
active - The boolean value indicating if this account is currently active.

getStatusBy

public String getStatusBy()
Get the identity of the person who last changed the status of this account.

Returns:
The identity of the person who last changed the status of this account.

setStatusBy

public void setStatusBy(String statusBy)
Set the identity of the person who last changed the status of this account.

Parameters:
statusBy - The identity of the person who last changed the status of this account.

getStatusDate

public Date getStatusDate()
Get the date that this account was put into its current status.

Returns:
The date that this account was put into its current status.

setStatusDate

public void setStatusDate(Date statusDate)
Set the date that this account was put into its current status.

Parameters:
statusDate - The date that this account was put into its current status.

toString

public String toString()
Return a string representation of the object.

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright (c) 2014, SAS Institute Inc., Cary, NC, USA