public class GenericEventSource extends Object implements EventSource
| Constructor and Description |
|---|
GenericEventSource()
Required for JSON de-serialization.
|
GenericEventSource(String clientId)
Required for JSON de-serialization (backward compatibility with old serialization where, instead of the
plan item instance Id, the client Id was serialized).
|
GenericEventSource(String id,
String instanceId,
int instanceIntId,
PlanItem planItem,
CaseFileItemInstance caseFileItemInstance) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTriggeredPlanItem(PlanItem planItem) |
int |
compareTo(EventSource o) |
CaseFileItemInstance |
getCaseFileItemInstance() |
CaseFileItemTransition |
getCaseFileItemTransition() |
String |
getClientId() |
String |
getId() |
String |
getInstanceId() |
int |
getInstanceIntId() |
PlanItem |
getPlanItem() |
PlanItemTransition |
getPlanItemTransition() |
void |
initIds() |
boolean |
isTriggeredPlanItem(PlanItem planItem) |
void |
setCaseFileItemInstance(CaseFileItemInstance caseFileItemInstance) |
void |
setInstanceId(String instanceId) |
void |
setPlanItem(PlanItem planItem) |
String |
toString() |
public GenericEventSource()
Required for JSON de-serialization.
public GenericEventSource(String clientId)
Required for JSON de-serialization (backward compatibility with old serialization where, instead of the plan item instance Id, the client Id was serialized).
public GenericEventSource(String id, String instanceId, int instanceIntId, PlanItem planItem, CaseFileItemInstance caseFileItemInstance)
public void initIds()
public String getInstanceId()
getInstanceId in interface EventSourcepublic void setInstanceId(String instanceId)
public String getId()
getId in interface EventSourcepublic int getInstanceIntId()
getInstanceIntId in interface EventSourcepublic String getClientId()
getClientId in interface EventSourcepublic PlanItem getPlanItem()
getPlanItem in interface EventSourcepublic CaseFileItemInstance getCaseFileItemInstance()
getCaseFileItemInstance in interface EventSourcepublic PlanItemTransition getPlanItemTransition()
getPlanItemTransition in interface EventSourcepublic CaseFileItemTransition getCaseFileItemTransition()
getCaseFileItemTransition in interface EventSourcepublic void setPlanItem(PlanItem planItem)
public void setCaseFileItemInstance(CaseFileItemInstance caseFileItemInstance)
public boolean isTriggeredPlanItem(PlanItem planItem)
isTriggeredPlanItem in interface EventSourcepublic void addTriggeredPlanItem(PlanItem planItem)
addTriggeredPlanItem in interface EventSourcepublic int compareTo(EventSource o)
compareTo in interface Comparable<EventSource>Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.