Package com.skava.accounts.model.domain
Class AccountPropertiesDO
java.lang.Object
com.skava.accounts.model.domain.AccountPropertiesDO
- All Implemented Interfaces:
Serializable
The Class AccountPropertiesDO is used as the domain model object for accountproperties entity.
- Author:
- Infosys Equinox
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAccountPropertiesDO
(long id, String filter, String attrId) Instantiates a new properties DO. -
Method Summary
Modifier and TypeMethodDescriptionfromEntity
(AccountPropertiesEntity properties) FromEntity - This method is used to set collcetionDO's Id from entity.toEntity
(AccountPropertiesEntity existingProperty, AccountsEntity account) toEntity - This method is used to build AccountPropertiesEntity object from old onetoEntity
(AccountsEntity account) toEntity - This method is used to build new AccountPropertiesEntity object
-
Field Details
-
attrId
name. -
value
value.
-
-
Constructor Details
-
AccountPropertiesDO
Instantiates a new properties DO.- Parameters:
id
- the idfilter
- the filterattrId
- the attrId
-
-
Method Details
-
fromEntity
FromEntity - This method is used to set collcetionDO's Id from entity.- Parameters:
properties
- It contains the attributes required for the set values.- Returns:
- It returns
AccountPropertiesDO
.
-
toEntity
toEntity - This method is used to build new AccountPropertiesEntity object- Parameters:
account
- the accounts entity object.- Returns:
- It returns
AccountPropertiesEntity
object.
-
toEntity
public AccountPropertiesEntity toEntity(AccountPropertiesEntity existingProperty, AccountsEntity account) toEntity - This method is used to build AccountPropertiesEntity object from old one- Parameters:
existingProperty
- the AccountPropertiesEntity object.account
- the account entity object.- Returns:
- It returns
AccountPropertiesEntity
object.
-