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

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

    • id

      protected Long id
      The id.
    • collectionId

      protected long collectionId
      collectionId param*.
    • name

      protected String name
      The name.
    • serviceName

      protected String serviceName
      The name.
    • notificationName

      protected String notificationName
      The name.
    • description

      protected String description
      The description.
    • status

      protected EventStatus status
      The collection status
    • updatedTime

      protected Date updatedTime
      The updated date time.
    • createdTime

      protected Date createdTime
      The created date time.
  • Constructor Details

    • Event

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

    • fromDomainObject

      public Event fromDomainObject(EventDomain eventDO)
      This function is used to map the parameters present in object EventDomain to Event
      Parameters:
      eventDO - It contains the attributes required to convert into the object of type Event
      Returns:
      It returns AccountTypes.
    • toDomainObject

      public EventDomain toDomainObject()
      To domain object. This function is used to map the parameters present in object Event to EventDomain
      Returns:
      the eventDO of type EventDomain