Class CaseEventType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CaseEventType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
CaseCompletionEventType
,CaseCreationEventType
,StageCompletionEventType
,WorkItemEventType
public class CaseEventType extends Object implements Serializable, Cloneable, Containerable
Any event occurring during case lifetime that needs to be recorded, e.g. an action done by a user.Java class for CaseEventType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CaseEventType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="initiatorRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="attorneyRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="stageNumber" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="iteration" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_ATTORNEY_REF
static ItemName
F_INITIATOR_REF
static ItemName
F_ITERATION
static ItemName
F_STAGE_NUMBER
static ItemName
F_TIMESTAMP
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description CaseEventType()
CaseEventType(PrismContext prismContext)
-
Method Summary
-
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_TIMESTAMP
public static final ItemName F_TIMESTAMP
-
F_INITIATOR_REF
public static final ItemName F_INITIATOR_REF
-
F_ATTORNEY_REF
public static final ItemName F_ATTORNEY_REF
-
F_STAGE_NUMBER
public static final ItemName F_STAGE_NUMBER
-
F_ITERATION
public static final ItemName F_ITERATION
-
-
Constructor Detail
-
CaseEventType
public CaseEventType()
-
CaseEventType
public CaseEventType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
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
-
end
public <X> X end()
-
getTimestamp
public XMLGregorianCalendar getTimestamp()
-
setTimestamp
public void setTimestamp(XMLGregorianCalendar value)
-
getInitiatorRef
public ObjectReferenceType getInitiatorRef()
-
setInitiatorRef
public void setInitiatorRef(ObjectReferenceType value)
-
getAttorneyRef
public ObjectReferenceType getAttorneyRef()
-
setAttorneyRef
public void setAttorneyRef(ObjectReferenceType value)
-
getStageNumber
public Integer getStageNumber()
-
setStageNumber
public void setStageNumber(Integer value)
-
getIteration
public Integer getIteration()
-
setIteration
public void setIteration(Integer value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
timestamp
public CaseEventType timestamp(XMLGregorianCalendar value)
-
timestamp
public CaseEventType timestamp(String value)
-
initiatorRef
public CaseEventType initiatorRef(ObjectReferenceType value)
-
initiatorRef
public CaseEventType initiatorRef(String oid, QName type)
-
initiatorRef
public CaseEventType initiatorRef(String oid, QName type, QName relation)
-
beginInitiatorRef
public ObjectReferenceType beginInitiatorRef()
-
attorneyRef
public CaseEventType attorneyRef(ObjectReferenceType value)
-
attorneyRef
public CaseEventType attorneyRef(String oid, QName type)
-
attorneyRef
public CaseEventType attorneyRef(String oid, QName type, QName relation)
-
beginAttorneyRef
public ObjectReferenceType beginAttorneyRef()
-
stageNumber
public CaseEventType stageNumber(Integer value)
-
iteration
public CaseEventType iteration(Integer value)
-
id
public CaseEventType id(Long value)
-
clone
public CaseEventType clone()
-
-