public class AccountInfo extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
AccountInfo.AccountType
The list of account types currently supported.
|
Constructor and Description |
---|
AccountInfo()
Zero-arg constructor.
|
AccountInfo(AccountInfo.AccountType accountType)
Constructor
|
AccountInfo(String authenticator,
String authenticatorUsername) |
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getAuthenticator()
Get the authenticator of this account.
|
String |
getAuthenticatorUsername()
Get the authenticator username of this account.
|
Date |
getDeactivationDate()
Get the deactivation date of this account.
|
String |
getLicenseType()
Get the name of the license type 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 |
setAuthenticator(String authenticator)
Deprecated.
As of Java API 1.8. There is no replacement. Object type is immutable.
|
void |
setAuthenticatorUsername(String authenticatorUsername)
Deprecated.
As of Java API 1.8. There is no replacement. Object type is immutable.
|
void |
setDeactivationDate(Date deactivationDate)
Set the deactivation date of this account.
|
void |
setLicenseType(String licenseType)
Set the name of the license type 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.
|
public AccountInfo()
public AccountInfo(AccountInfo.AccountType accountType)
accountType
- The type of account being created.public AccountInfo.AccountType getAccountType()
public void setAccountType(AccountInfo.AccountType accountType)
accountType
- the type of account to specify in the AccountInfo.public Date getActivationDate()
public void setActivationDate(Date activationDate)
activationDate
- The activation date of this account.public Date getDeactivationDate()
public void setDeactivationDate(Date deactivationDate)
deactivationDate
- The deactivation date of this account.public boolean isActive()
public boolean getActive()
public void setActive(boolean active)
active
- The boolean value indicating if this account is currently active.public String getStatusBy()
public void setStatusBy(String statusBy)
statusBy
- The identity of the person who last changed the status of this account.public Date getStatusDate()
public void setStatusDate(Date statusDate)
statusDate
- The date that this account was put into its current status.public String getAuthenticator()
@Deprecated public void setAuthenticator(String authenticator)
authenticator
- The authenticator of this account.public String getAuthenticatorUsername()
@Deprecated public void setAuthenticatorUsername(String authenticatorUsername)
authenticatorUsername
- The authenticator username of this account.public String getLicenseType()
public void setLicenseType(String licenseType)
UserService.getLicenseTypes()
licenseType
- The name of the license type to set for this account.public String toString()
toString
in class Object
Object.toString()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA