Class Action

java.lang.Object
com.skava.core.validation.InputModel
com.skava.model.datatransferobjects.Action
All Implemented Interfaces:
Serializable

public class Action extends com.skava.core.validation.InputModel
The Class Action.
Author:
Infosys Equinox This Class is used as the model object for Action.
See Also:
  • Field Details

    • id

      protected Long id
      The id.
    • name

      protected String name
      The name.
    • status

      protected EventStatus status
      The collection status
    • description

      protected String description
      The description.
    • eventId

      protected Long eventId
      The eventId
    • configName

      protected String configName
      The config Id
    • template

      protected String template
      The template Id
    • updatedTime

      protected Date updatedTime
      The updated date time.
    • createdTime

      protected Date createdTime
      The created date time.
  • Constructor Details

    • Action

      public Action()
      The default class constructor.
  • Method Details

    • fromDomainObject

      public Action fromDomainObject(ActionDomain actionDO)
      This function is used to map the params present in object ActionDomain to Action
      Parameters:
      actionDO - It contains the attributes required to convert into the object of type Action
      Returns:
      It returns Action.
    • toDomainObject

      public ActionDomain toDomainObject()
      To domain object. This function is used to map the parameters present in object Action to ActionDomain
      Returns:
      the actionDO of type ActionDomain