Class AbstractWorkItemType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkItemType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
AccessCertificationWorkItemType
,CaseWorkItemType
public class AbstractWorkItemType extends Object implements Serializable, Cloneable, Containerable
Common superclass for workflow (approval) work item, certification work item and case management work item.Java class for AbstractWorkItemType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractWorkItemType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://prism.evolveum.com/xml/ns/public/types-3}PolyStringType" minOccurs="0"/> <element name="stageNumber" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="createTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="deadline" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="originalAssigneeRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="assigneeRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/> <element name="candidateRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/> <element name="performerRef" 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="output" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AbstractWorkItemOutputType" minOccurs="0"/> <element name="closeTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" 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_ASSIGNEE_REF
static ItemName
F_CANDIDATE_REF
static ItemName
F_CLOSE_TIMESTAMP
static ItemName
F_CREATE_TIMESTAMP
static ItemName
F_DEADLINE
static ItemName
F_ESCALATION_LEVEL
static ItemName
F_NAME
static ItemName
F_ORIGINAL_ASSIGNEE_REF
static ItemName
F_OUTPUT
static ItemName
F_PERFORMER_REF
static ItemName
F_STAGE_NUMBER
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description AbstractWorkItemType()
AbstractWorkItemType(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_NAME
public static final ItemName F_NAME
-
F_STAGE_NUMBER
public static final ItemName F_STAGE_NUMBER
-
F_CREATE_TIMESTAMP
public static final ItemName F_CREATE_TIMESTAMP
-
F_DEADLINE
public static final ItemName F_DEADLINE
-
F_ORIGINAL_ASSIGNEE_REF
public static final ItemName F_ORIGINAL_ASSIGNEE_REF
-
F_ASSIGNEE_REF
public static final ItemName F_ASSIGNEE_REF
-
F_CANDIDATE_REF
public static final ItemName F_CANDIDATE_REF
-
F_PERFORMER_REF
public static final ItemName F_PERFORMER_REF
-
F_ESCALATION_LEVEL
public static final ItemName F_ESCALATION_LEVEL
-
F_OUTPUT
public static final ItemName F_OUTPUT
-
F_CLOSE_TIMESTAMP
public static final ItemName F_CLOSE_TIMESTAMP
-
-
Constructor Detail
-
AbstractWorkItemType
public AbstractWorkItemType()
-
AbstractWorkItemType
public AbstractWorkItemType(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()
-
getName
public PolyStringType getName()
-
setName
public void setName(PolyStringType value)
-
getStageNumber
public Integer getStageNumber()
-
setStageNumber
public void setStageNumber(Integer value)
-
getCreateTimestamp
public XMLGregorianCalendar getCreateTimestamp()
-
setCreateTimestamp
public void setCreateTimestamp(XMLGregorianCalendar value)
-
getDeadline
public XMLGregorianCalendar getDeadline()
-
setDeadline
public void setDeadline(XMLGregorianCalendar value)
-
getOriginalAssigneeRef
public ObjectReferenceType getOriginalAssigneeRef()
-
setOriginalAssigneeRef
public void setOriginalAssigneeRef(ObjectReferenceType value)
-
getAssigneeRef
public List<ObjectReferenceType> getAssigneeRef()
-
createAssigneeRefList
public List<ObjectReferenceType> createAssigneeRefList()
-
getCandidateRef
public List<ObjectReferenceType> getCandidateRef()
-
createCandidateRefList
public List<ObjectReferenceType> createCandidateRefList()
-
getPerformerRef
public ObjectReferenceType getPerformerRef()
-
setPerformerRef
public void setPerformerRef(ObjectReferenceType value)
-
getEscalationLevel
public WorkItemEscalationLevelType getEscalationLevel()
-
setEscalationLevel
public void setEscalationLevel(WorkItemEscalationLevelType value)
-
getOutput
public AbstractWorkItemOutputType getOutput()
-
setOutput
public void setOutput(AbstractWorkItemOutputType value)
-
getCloseTimestamp
public XMLGregorianCalendar getCloseTimestamp()
-
setCloseTimestamp
public void setCloseTimestamp(XMLGregorianCalendar value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
name
public AbstractWorkItemType name(PolyStringType value)
-
name
public AbstractWorkItemType name(String value)
-
beginName
public PolyStringType beginName()
-
stageNumber
public AbstractWorkItemType stageNumber(Integer value)
-
createTimestamp
public AbstractWorkItemType createTimestamp(XMLGregorianCalendar value)
-
createTimestamp
public AbstractWorkItemType createTimestamp(String value)
-
deadline
public AbstractWorkItemType deadline(XMLGregorianCalendar value)
-
deadline
public AbstractWorkItemType deadline(String value)
-
originalAssigneeRef
public AbstractWorkItemType originalAssigneeRef(ObjectReferenceType value)
-
originalAssigneeRef
public AbstractWorkItemType originalAssigneeRef(String oid, QName type)
-
originalAssigneeRef
public AbstractWorkItemType originalAssigneeRef(String oid, QName type, QName relation)
-
beginOriginalAssigneeRef
public ObjectReferenceType beginOriginalAssigneeRef()
-
assigneeRef
public AbstractWorkItemType assigneeRef(ObjectReferenceType value)
-
assigneeRef
public AbstractWorkItemType assigneeRef(String oid, QName type)
-
assigneeRef
public AbstractWorkItemType assigneeRef(String oid, QName type, QName relation)
-
beginAssigneeRef
public ObjectReferenceType beginAssigneeRef()
-
candidateRef
public AbstractWorkItemType candidateRef(ObjectReferenceType value)
-
candidateRef
public AbstractWorkItemType candidateRef(String oid, QName type)
-
candidateRef
public AbstractWorkItemType candidateRef(String oid, QName type, QName relation)
-
beginCandidateRef
public ObjectReferenceType beginCandidateRef()
-
performerRef
public AbstractWorkItemType performerRef(ObjectReferenceType value)
-
performerRef
public AbstractWorkItemType performerRef(String oid, QName type)
-
performerRef
public AbstractWorkItemType performerRef(String oid, QName type, QName relation)
-
beginPerformerRef
public ObjectReferenceType beginPerformerRef()
-
escalationLevel
public AbstractWorkItemType escalationLevel(WorkItemEscalationLevelType value)
-
beginEscalationLevel
public WorkItemEscalationLevelType beginEscalationLevel()
-
output
public AbstractWorkItemType output(AbstractWorkItemOutputType value)
-
beginOutput
public AbstractWorkItemOutputType beginOutput()
-
closeTimestamp
public AbstractWorkItemType closeTimestamp(XMLGregorianCalendar value)
-
closeTimestamp
public AbstractWorkItemType closeTimestamp(String value)
-
id
public AbstractWorkItemType id(Long value)
-
clone
public AbstractWorkItemType clone()
-
-