Package com.skava.accounts.model.domain
Class AccountsDO
java.lang.Object
com.skava.accounts.model.domain.AccountsDO
- All Implemented Interfaces:
Serializable
The class AccountsDO is used as the domain model object for accounts entity.
- Author:
- Infosys Equinox
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromEntity
(AccountsEntity account) fromEntityfromEntity
(AccountsEntity account, String service) This method is used to set collcetionDO's Id from entity.toEntity()
This method is used to convert AccountsDO object to AccountsEntity object.
-
Field Details
-
createdTime
createdTime param*. -
updatedTime
updatedTime param*.
-
-
Constructor Details
-
AccountsDO
public AccountsDO()
-
-
Method Details
-
fromEntity
This method is used to set collcetionDO's Id from entity.- Parameters:
account
- It contains the attributes required for the set values. This returns an AccountDO objectservice
- service- Returns:
- It returns
AccountsDO
.
-
fromEntity
fromEntity- Parameters:
account
- the object account of type AccountsEntity.- Returns:
- an object of type AccountsDO.
-
toEntity
This method is used to convert AccountsDO object to AccountsEntity object.- Returns:
- It returns an object of type
AccountsEntity
.
-