CaseEvent
Wrapper class for convenience when a MotechEvent representing a CaseEvent is received.
Creates an instance of the CaseEvent class with the given caseId.
caseId
Creates an instance of the CaseEvent class based on the data passed as the given event parameters.
event
fromCaseInfo
Creates an instance of the CaseEvent class based on the given caseInfo and configName.
caseInfo
configName
an instance of the CaseEvent
fromCaseXml
Creates an instance of the CaseEvent class based on the given caseInstance and configName.
caseInstance
getAction
getApiKey
getCaseDataXmlns
getCaseId
getCaseName
getCaseType
getConfigName
getDateModified
getFieldValues
getOwnerId
getServerModifiedOn
getUserId
setAction
setApiKey
setCaseDataXmlns
setCaseId
setCaseName
setCaseType
setConfigName
setDateModified
setFieldValues
setOwnerId
setServerModifiedOn
setUserId
toMotechEventWithData
Creates an instance of the MotechEvent class based on this CaseEvent. All data stored by this CaseEvent will be included in the event as parameters.
MotechEvent
toMotechEventWithoutData
Creates an instance of the MotechEvent class based on this CaseEvent. No data but case ID, custom parser event key, case type and configuration name will be included in the event as parameters.