@Entity
public class AccountJPA
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
AccountJPA()
Class constructor methods.
|
AccountJPA(int id,
java.lang.String name,
java.lang.String description,
java.lang.String userName,
java.lang.String userPassword,
java.lang.String userEmail,
java.lang.String urnAccess,
java.util.Date expirationDate,
AccountGroupJPA ownerGroup)
Instantiates a new account jpa.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<AdditionalAccountInfoJPA> |
getAdditionalInfo()
Gets the additional info.
|
java.lang.String |
getDescription()
Gets the description.
|
java.util.Date |
getExpirationDate()
Gets the expiration date.
|
int |
getId()
Gets the id.
|
java.lang.String |
getName()
Methods get/set the fields of database.
|
AccountGroupJPA |
getOwnerGroup()
Methods get/set persistent relationships.
|
java.lang.String |
getUrnAccess()
Gets the urn access.
|
java.lang.String |
getUserEmail()
Gets the user email.
|
java.lang.String |
getUserName()
Gets the user name.
|
java.lang.String |
getUserPassword()
Gets the user password.
|
void |
setAdditionalInfo(java.util.Collection<AdditionalAccountInfoJPA> additionalInfo)
Sets the additional info.
|
void |
setDescription(java.lang.String description)
Sets the description.
|
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date.
|
void |
setId(int id)
Sets the id.
|
void |
setName(java.lang.String accountName)
Sets the name.
|
void |
setOwnerGroup(AccountGroupJPA ownerGroup)
Sets the owner group.
|
void |
setUrnAccess(java.lang.String urnAccess)
Sets the urn access.
|
void |
setUserEmail(java.lang.String userEmail)
Sets the user email.
|
void |
setUserName(java.lang.String userName)
Sets the user name.
|
void |
setUserPassword(java.lang.String userPassword)
Sets the user password.
|
public AccountJPA()
public AccountJPA(int id, java.lang.String name, java.lang.String description, java.lang.String userName, java.lang.String userPassword, java.lang.String userEmail, java.lang.String urnAccess, java.util.Date expirationDate, AccountGroupJPA ownerGroup)
id
- the idname
- the namedescription
- the descriptionuserName
- the user nameuserPassword
- the user passworduserEmail
- the user emailurnAccess
- the urn accessexpirationDate
- the expiration dateownerGroup
- the owner grouppublic int getId()
public void setId(int id)
id
- the new idpublic java.lang.String getName()
public void setName(java.lang.String accountName)
accountName
- the new namepublic java.lang.String getUserName()
public void setUserName(java.lang.String userName)
userName
- the new user namepublic java.lang.String getUserPassword()
public void setUserPassword(java.lang.String userPassword)
userPassword
- the new user passwordpublic java.lang.String getUserEmail()
public void setUserEmail(java.lang.String userEmail)
userEmail
- the new user emailpublic java.lang.String getUrnAccess()
public void setUrnAccess(java.lang.String urnAccess)
urnAccess
- the new urn accesspublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the new descriptionpublic java.util.Date getExpirationDate()
public void setExpirationDate(java.util.Date expirationDate)
expirationDate
- the new expiration datepublic AccountGroupJPA getOwnerGroup()
public void setOwnerGroup(AccountGroupJPA ownerGroup)
ownerGroup
- the new owner grouppublic java.util.Collection<AdditionalAccountInfoJPA> getAdditionalInfo()
public void setAdditionalInfo(java.util.Collection<AdditionalAccountInfoJPA> additionalInfo)
additionalInfo
- the new additional info