Class AccountsDO

java.lang.Object
com.skava.accounts.model.domain.AccountsDO
All Implemented Interfaces:
Serializable

public class AccountsDO extends Object implements Serializable
The class AccountsDO is used as the domain model object for accounts entity.
Author:
Infosys Equinox
See Also:
  • Field Details

    • createdTime

      protected Date createdTime
      createdTime param*.
    • updatedTime

      protected Date updatedTime
      updatedTime param*.
  • Constructor Details

    • AccountsDO

      public AccountsDO()
  • Method Details

    • fromEntity

      public AccountsDO fromEntity(AccountsEntity account, String service)
      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 object
      service - service
      Returns:
      It returns AccountsDO.
    • fromEntity

      public AccountsDO fromEntity(AccountsEntity account)
      fromEntity
      Parameters:
      account - the object account of type AccountsEntity.
      Returns:
      an object of type AccountsDO.
    • toEntity

      public AccountsEntity toEntity()
      This method is used to convert AccountsDO object to AccountsEntity object.
      Returns:
      It returns an object of type AccountsEntity.