public class EventAttributes
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
EventAttributes() |
EventAttributes(boolean eventFinished,
java.lang.String dateFormat,
ChangeType changeType,
java.util.Date actionDate) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getActionDate() |
ChangeType |
getChangeType() |
java.lang.String |
getDateFormat() |
boolean |
isEventFinished() |
void |
setActionDate(java.util.Date actionDate)
A date on which the recon event is required to happen.
|
void |
setChangeType(ChangeType changeType) |
void |
setDateFormat(java.lang.String dateFormat)
Format to be used when processing the date.
|
void |
setEventFinished(boolean eventFinished)
Indicates whether child data is going to be provided or not.
|
java.lang.String |
toString() |
public EventAttributes()
public EventAttributes(boolean eventFinished, java.lang.String dateFormat, ChangeType changeType, java.util.Date actionDate)
eventFinished
- Indicates whether child data is going to be provided or not. It is set to false if child data is going to be added later to the event. If the
eventFinished is true that means event status is set to 'Data Received' otherwise it would be set to 'Event Received'dateFormat
- format to be used when processing the date. For example "yyyy-mm-dd hh:mm:ss".changeType
- actionDate
- A date on which the recon event is required to happen. If its "null" or less then the current system date then the processing is done
instantly otherwise diferred till the date is reachedpublic boolean isEventFinished()
public void setEventFinished(boolean eventFinished)
eventFinished
- public void setDateFormat(java.lang.String dateFormat)
dateFormat
- public java.lang.String getDateFormat()
public ChangeType getChangeType()
public void setChangeType(ChangeType changeType)
public java.util.Date getActionDate()
public void setActionDate(java.util.Date actionDate)
actionDate
- public java.lang.String toString()
toString
in class java.lang.Object