Class Event
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 Summary
FieldsModifier and TypeFieldDescriptionprotected long
collectionId param*.protected Date
The created date time.protected String
The description.protected Long
The id.protected String
The name.protected String
The name.protected String
The name.protected EventStatus
The collection statusprotected Date
The updated date time. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromDomainObject
(EventDomain eventDO) This function is used to map the parameters present in objectEventDomain
toEvent
To domain object.
-
Field Details
-
id
The id. -
collectionId
protected long collectionIdcollectionId param*. -
name
The name. -
serviceName
The name. -
notificationName
The name. -
description
The description. -
status
The collection status -
updatedTime
The updated date time. -
createdTime
The created date time.
-
-
Constructor Details
-
Event
public Event()The default class constructor.
-
-
Method Details
-
fromDomainObject
This function is used to map the parameters present in objectEventDomain
toEvent
- Parameters:
eventDO
- It contains the attributes required to convert into the object of typeEvent
- Returns:
- It returns
AccountTypes
.
-
toDomainObject
To domain object. This function is used to map the parameters present in objectEvent
toEventDomain
- Returns:
- the eventDO of type
EventDomain
-