Class WorkItemEventType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CaseEventType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemEventType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
WorkItemCompletionEventType
,WorkItemDelegationEventType
public class WorkItemEventType extends CaseEventType implements Serializable, Cloneable, Containerable
Process event related to a specific work item.Java class for WorkItemEventType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WorkItemEventType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CaseEventType"> <sequence> <element name="workItemId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> <element name="externalWorkItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="originalAssigneeRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="escalationLevel" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}WorkItemEscalationLevelType" minOccurs="0"/> <element name="cause" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}WorkItemEventCauseInformationType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_CAUSE
static ItemName
F_ESCALATION_LEVEL
static ItemName
F_EXTERNAL_WORK_ITEM_ID
static ItemName
F_ORIGINAL_ASSIGNEE_REF
static ItemName
F_WORK_ITEM_ID
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.CaseEventType
F_ATTORNEY_REF, F_INITIATOR_REF, F_ITERATION, F_STAGE_NUMBER, F_TIMESTAMP
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description WorkItemEventType()
WorkItemEventType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.CaseEventType
getAttorneyRef, getId, getInitiatorRef, getIteration, getStageNumber, getTimestamp, setAttorneyRef, setId, setInitiatorRef, setIteration, setStageNumber, setTimestamp
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_WORK_ITEM_ID
public static final ItemName F_WORK_ITEM_ID
-
F_EXTERNAL_WORK_ITEM_ID
public static final ItemName F_EXTERNAL_WORK_ITEM_ID
-
F_ORIGINAL_ASSIGNEE_REF
public static final ItemName F_ORIGINAL_ASSIGNEE_REF
-
F_ESCALATION_LEVEL
public static final ItemName F_ESCALATION_LEVEL
-
F_CAUSE
public static final ItemName F_CAUSE
-
-
Constructor Detail
-
WorkItemEventType
public WorkItemEventType()
-
WorkItemEventType
public WorkItemEventType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
- Overrides:
asPrismContainerValue
in classCaseEventType
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
- Overrides:
setupContainerValue
in classCaseEventType
-
toString
public String toString()
- Overrides:
toString
in classCaseEventType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classCaseEventType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCaseEventType
-
end
public <X> X end()
- Overrides:
end
in classCaseEventType
-
getWorkItemId
public Long getWorkItemId()
-
setWorkItemId
public void setWorkItemId(Long value)
-
getExternalWorkItemId
public String getExternalWorkItemId()
-
setExternalWorkItemId
public void setExternalWorkItemId(String value)
-
getOriginalAssigneeRef
public ObjectReferenceType getOriginalAssigneeRef()
-
setOriginalAssigneeRef
public void setOriginalAssigneeRef(ObjectReferenceType value)
-
getEscalationLevel
public WorkItemEscalationLevelType getEscalationLevel()
-
setEscalationLevel
public void setEscalationLevel(WorkItemEscalationLevelType value)
-
getCause
public WorkItemEventCauseInformationType getCause()
-
setCause
public void setCause(WorkItemEventCauseInformationType value)
-
workItemId
public WorkItemEventType workItemId(Long value)
-
externalWorkItemId
public WorkItemEventType externalWorkItemId(String value)
-
originalAssigneeRef
public WorkItemEventType originalAssigneeRef(ObjectReferenceType value)
-
originalAssigneeRef
public WorkItemEventType originalAssigneeRef(String oid, QName type)
-
originalAssigneeRef
public WorkItemEventType originalAssigneeRef(String oid, QName type, QName relation)
-
beginOriginalAssigneeRef
public ObjectReferenceType beginOriginalAssigneeRef()
-
escalationLevel
public WorkItemEventType escalationLevel(WorkItemEscalationLevelType value)
-
beginEscalationLevel
public WorkItemEscalationLevelType beginEscalationLevel()
-
cause
public WorkItemEventType cause(WorkItemEventCauseInformationType value)
-
beginCause
public WorkItemEventCauseInformationType beginCause()
-
timestamp
public WorkItemEventType timestamp(XMLGregorianCalendar value)
- Overrides:
timestamp
in classCaseEventType
-
timestamp
public WorkItemEventType timestamp(String value)
- Overrides:
timestamp
in classCaseEventType
-
initiatorRef
public WorkItemEventType initiatorRef(ObjectReferenceType value)
- Overrides:
initiatorRef
in classCaseEventType
-
initiatorRef
public WorkItemEventType initiatorRef(String oid, QName type)
- Overrides:
initiatorRef
in classCaseEventType
-
initiatorRef
public WorkItemEventType initiatorRef(String oid, QName type, QName relation)
- Overrides:
initiatorRef
in classCaseEventType
-
beginInitiatorRef
public ObjectReferenceType beginInitiatorRef()
- Overrides:
beginInitiatorRef
in classCaseEventType
-
attorneyRef
public WorkItemEventType attorneyRef(ObjectReferenceType value)
- Overrides:
attorneyRef
in classCaseEventType
-
attorneyRef
public WorkItemEventType attorneyRef(String oid, QName type)
- Overrides:
attorneyRef
in classCaseEventType
-
attorneyRef
public WorkItemEventType attorneyRef(String oid, QName type, QName relation)
- Overrides:
attorneyRef
in classCaseEventType
-
beginAttorneyRef
public ObjectReferenceType beginAttorneyRef()
- Overrides:
beginAttorneyRef
in classCaseEventType
-
stageNumber
public WorkItemEventType stageNumber(Integer value)
- Overrides:
stageNumber
in classCaseEventType
-
iteration
public WorkItemEventType iteration(Integer value)
- Overrides:
iteration
in classCaseEventType
-
id
public WorkItemEventType id(Long value)
- Overrides:
id
in classCaseEventType
-
clone
public WorkItemEventType clone()
- Overrides:
clone
in classCaseEventType
-
-