public class AccountModel
extends java.lang.Object
Constructor and Description |
---|
AccountModel() |
Modifier and Type | Method and Description |
---|---|
AccountStatusId |
getAccountStatusId()
Getter for accountStatusId - The current status of this account.
|
java.util.Date |
getCreatedDate()
Getter for createdDate - The date when this record was created.
|
java.lang.Integer |
getCreatedUserId()
Getter for createdUserId - The User ID of the user who created this record.
|
java.util.Date |
getEffectiveDate()
Getter for effectiveDate - The earliest date on which this account may be used.
|
java.util.Date |
getEndDate()
Getter for endDate - If this account has been closed, this is the last date the account was open.
|
java.lang.Integer |
getId()
Getter for id - The unique ID number assigned to this account.
|
java.util.Date |
getModifiedDate()
Getter for modifiedDate - The date/time when this record was last modified.
|
java.lang.Integer |
getModifiedUserId()
Getter for modifiedUserId - The user ID of the user who last modified this record.
|
java.lang.String |
getName()
Getter for name - The name of this account.
|
java.util.ArrayList<SubscriptionModel> |
getSubscriptions()
Getter for subscriptions - Optional: A list of subscriptions granted to this account.
|
java.util.ArrayList<UserModel> |
getUsers()
Getter for users - Optional: A list of all the users belonging to this account.
|
void |
setAccountStatusId(AccountStatusId accountStatusId)
Setter for accountStatusId - The current status of this account.
|
void |
setCreatedDate(java.util.Date createdDate)
Setter for createdDate - The date when this record was created.
|
void |
setCreatedUserId(java.lang.Integer createdUserId)
Setter for createdUserId - The User ID of the user who created this record.
|
void |
setEffectiveDate(java.util.Date effectiveDate)
Setter for effectiveDate - The earliest date on which this account may be used.
|
void |
setEndDate(java.util.Date endDate)
Setter for endDate - If this account has been closed, this is the last date the account was open.
|
void |
setId(java.lang.Integer id)
Setter for id - The unique ID number assigned to this account.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Setter for modifiedDate - The date/time when this record was last modified.
|
void |
setModifiedUserId(java.lang.Integer modifiedUserId)
Setter for modifiedUserId - The user ID of the user who last modified this record.
|
void |
setName(java.lang.String name)
Setter for name - The name of this account.
|
void |
setSubscriptions(java.util.ArrayList<SubscriptionModel> subscriptions)
Setter for subscriptions - Optional: A list of subscriptions granted to this account.
|
void |
setUsers(java.util.ArrayList<UserModel> users)
Setter for users - Optional: A list of all the users belonging to this account.
|
java.lang.String |
toString()
Returns a JSON string representation of AccountModel.
|
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.Date getEndDate()
public void setEndDate(java.util.Date endDate)
public java.util.ArrayList<UserModel> getUsers()
public void setUsers(java.util.ArrayList<UserModel> users)
public java.util.Date getModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
public AccountStatusId getAccountStatusId()
public void setAccountStatusId(AccountStatusId accountStatusId)
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
public java.lang.Integer getModifiedUserId()
public void setModifiedUserId(java.lang.Integer modifiedUserId)
public java.util.Date getEffectiveDate()
public void setEffectiveDate(java.util.Date effectiveDate)
public java.lang.Integer getCreatedUserId()
public void setCreatedUserId(java.lang.Integer createdUserId)
public java.util.ArrayList<SubscriptionModel> getSubscriptions()
public void setSubscriptions(java.util.ArrayList<SubscriptionModel> subscriptions)
public java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date createdDate)
public java.lang.String toString()
toString
in class java.lang.Object