Class ApprovalStageExecutionPreviewType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ApprovalStageExecutionPreviewType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class ApprovalStageExecutionPreviewType extends Object implements Serializable, Cloneable, Containerable
Preview of an execution of an approval stage. Contains estimation of what approvers there would be; also - if applicable - any result that is expected to be automatically determined, and so on.Java class for ApprovalStageExecutionPreviewType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ApprovalStageExecutionPreviewType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="expectedApproverRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/> <element name="expectedAutomatedOutcome" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ApprovalLevelOutcomeType" minOccurs="0"/> <element name="expectedAutomatedCompletionReason" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AutomatedCompletionReasonType" minOccurs="0"/> <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" 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_ERROR_MESSAGE
static ItemName
F_EXPECTED_APPROVER_REF
static ItemName
F_EXPECTED_AUTOMATED_COMPLETION_REASON
static ItemName
F_EXPECTED_AUTOMATED_OUTCOME
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ApprovalStageExecutionPreviewType()
ApprovalStageExecutionPreviewType(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_EXPECTED_APPROVER_REF
public static final ItemName F_EXPECTED_APPROVER_REF
-
F_EXPECTED_AUTOMATED_OUTCOME
public static final ItemName F_EXPECTED_AUTOMATED_OUTCOME
-
F_EXPECTED_AUTOMATED_COMPLETION_REASON
public static final ItemName F_EXPECTED_AUTOMATED_COMPLETION_REASON
-
F_ERROR_MESSAGE
public static final ItemName F_ERROR_MESSAGE
-
-
Constructor Detail
-
ApprovalStageExecutionPreviewType
public ApprovalStageExecutionPreviewType()
-
ApprovalStageExecutionPreviewType
public ApprovalStageExecutionPreviewType(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()
-
getExpectedApproverRef
public List<ObjectReferenceType> getExpectedApproverRef()
-
createExpectedApproverRefList
public List<ObjectReferenceType> createExpectedApproverRefList()
-
getExpectedAutomatedOutcome
public ApprovalLevelOutcomeType getExpectedAutomatedOutcome()
-
setExpectedAutomatedOutcome
public void setExpectedAutomatedOutcome(ApprovalLevelOutcomeType value)
-
getExpectedAutomatedCompletionReason
public AutomatedCompletionReasonType getExpectedAutomatedCompletionReason()
-
setExpectedAutomatedCompletionReason
public void setExpectedAutomatedCompletionReason(AutomatedCompletionReasonType value)
-
getErrorMessage
public String getErrorMessage()
-
setErrorMessage
public void setErrorMessage(String value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
expectedApproverRef
public ApprovalStageExecutionPreviewType expectedApproverRef(ObjectReferenceType value)
-
expectedApproverRef
public ApprovalStageExecutionPreviewType expectedApproverRef(String oid, QName type)
-
expectedApproverRef
public ApprovalStageExecutionPreviewType expectedApproverRef(String oid, QName type, QName relation)
-
beginExpectedApproverRef
public ObjectReferenceType beginExpectedApproverRef()
-
expectedAutomatedOutcome
public ApprovalStageExecutionPreviewType expectedAutomatedOutcome(ApprovalLevelOutcomeType value)
-
expectedAutomatedCompletionReason
public ApprovalStageExecutionPreviewType expectedAutomatedCompletionReason(AutomatedCompletionReasonType value)
-
errorMessage
public ApprovalStageExecutionPreviewType errorMessage(String value)
-
id
public ApprovalStageExecutionPreviewType id(Long value)
-
clone
public ApprovalStageExecutionPreviewType clone()
-
-