Class WorkItemResultType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkItemOutputType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemResultType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class WorkItemResultType extends AbstractWorkItemOutputType implements Serializable, Cloneable, Containerable
Overall output from a work item: outcome (approve/reject/...), comment, additional delta, and probably other things in the future. TODO devise an extension mechanism for thisJava class for WorkItemResultType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WorkItemResultType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AbstractWorkItemOutputType"> <sequence> <element name="additionalDeltas" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectTreeDeltasType" 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_ADDITIONAL_DELTAS
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkItemOutputType
F_COMMENT, F_EVIDENCE, F_EVIDENCE_CONTENT_TYPE, F_EVIDENCE_FILENAME, F_OUTCOME
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description WorkItemResultType()
WorkItemResultType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkItemResultType
additionalDeltas(ObjectTreeDeltasType value)
PrismContainerValue
asPrismContainerValue()
ObjectTreeDeltasType
beginAdditionalDeltas()
WorkItemResultType
clone()
WorkItemResultType
comment(String value)
<X> X
end()
boolean
equals(Object object)
WorkItemResultType
evidence(byte[] value)
WorkItemResultType
evidenceContentType(String value)
WorkItemResultType
evidenceFilename(String value)
ObjectTreeDeltasType
getAdditionalDeltas()
int
hashCode()
WorkItemResultType
id(Long value)
WorkItemResultType
outcome(String value)
void
setAdditionalDeltas(ObjectTreeDeltasType value)
void
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.String
toString()
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkItemOutputType
getComment, getEvidence, getEvidenceContentType, getEvidenceFilename, getId, getOutcome, setComment, setEvidence, setEvidenceContentType, setEvidenceFilename, setId, setOutcome
-
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
-
-
-
-
Constructor Detail
-
WorkItemResultType
public WorkItemResultType()
-
WorkItemResultType
public WorkItemResultType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
- Overrides:
asPrismContainerValue
in classAbstractWorkItemOutputType
-
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 classAbstractWorkItemOutputType
-
toString
public String toString()
- Overrides:
toString
in classAbstractWorkItemOutputType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classAbstractWorkItemOutputType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractWorkItemOutputType
-
end
public <X> X end()
- Overrides:
end
in classAbstractWorkItemOutputType
-
getAdditionalDeltas
public ObjectTreeDeltasType getAdditionalDeltas()
-
setAdditionalDeltas
public void setAdditionalDeltas(ObjectTreeDeltasType value)
-
additionalDeltas
public WorkItemResultType additionalDeltas(ObjectTreeDeltasType value)
-
beginAdditionalDeltas
public ObjectTreeDeltasType beginAdditionalDeltas()
-
outcome
public WorkItemResultType outcome(String value)
- Overrides:
outcome
in classAbstractWorkItemOutputType
-
comment
public WorkItemResultType comment(String value)
- Overrides:
comment
in classAbstractWorkItemOutputType
-
evidence
public WorkItemResultType evidence(byte[] value)
- Overrides:
evidence
in classAbstractWorkItemOutputType
-
evidenceFilename
public WorkItemResultType evidenceFilename(String value)
- Overrides:
evidenceFilename
in classAbstractWorkItemOutputType
-
evidenceContentType
public WorkItemResultType evidenceContentType(String value)
- Overrides:
evidenceContentType
in classAbstractWorkItemOutputType
-
id
public WorkItemResultType id(Long value)
- Overrides:
id
in classAbstractWorkItemOutputType
-
clone
public WorkItemResultType clone()
- Overrides:
clone
in classAbstractWorkItemOutputType
-
-