Class ApprovalStageDefinitionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ApprovalStageDefinitionType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class ApprovalStageDefinitionType extends Object implements Serializable, Cloneable, Containerable
One "level" (or stage) in the approval process. <p>Java class for ApprovalStageDefinitionType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="ApprovalStageDefinitionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="number" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}documentation" minOccurs="0"/> <element name="approverRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/> <element name="approverRelation" type="{http://www.w3.org/2001/XMLSchema}QName" maxOccurs="unbounded" minOccurs="0"/> <element name="approverExpression" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" maxOccurs="unbounded" minOccurs="0"/> <element name="evaluationStrategy" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LevelEvaluationStrategyType" minOccurs="0"/> <element name="outcomeIfNoApprovers" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ApprovalLevelOutcomeType" minOccurs="0"/> <element name="groupExpansion" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}GroupExpansionType" minOccurs="0"/> <element name="formRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="additionalInformation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" minOccurs="0"/> <element name="automaticallyCompleted" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" minOccurs="0"/> <element name="duration" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/> <element name="timedActions" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}WorkItemTimedActionsType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_ADDITIONAL_INFORMATION
static ItemName
F_APPROVER_EXPRESSION
static ItemName
F_APPROVER_REF
static ItemName
F_APPROVER_RELATION
static ItemName
F_AUTOMATICALLY_COMPLETED
static ItemName
F_DESCRIPTION
static ItemName
F_DISPLAY_NAME
static ItemName
F_DOCUMENTATION
static ItemName
F_DURATION
static ItemName
F_EVALUATION_STRATEGY
static ItemName
F_FORM_REF
static ItemName
F_GROUP_EXPANSION
static ItemName
F_NAME
static ItemName
F_NUMBER
static ItemName
F_OUTCOME_IF_NO_APPROVERS
static ItemName
F_TIMED_ACTIONS
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ApprovalStageDefinitionType()
ApprovalStageDefinitionType(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
debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_NUMBER
public static final ItemName F_NUMBER
-
F_NAME
public static final ItemName F_NAME
-
F_DISPLAY_NAME
public static final ItemName F_DISPLAY_NAME
-
F_DESCRIPTION
public static final ItemName F_DESCRIPTION
-
F_DOCUMENTATION
public static final ItemName F_DOCUMENTATION
-
F_APPROVER_REF
public static final ItemName F_APPROVER_REF
-
F_APPROVER_RELATION
public static final ItemName F_APPROVER_RELATION
-
F_APPROVER_EXPRESSION
public static final ItemName F_APPROVER_EXPRESSION
-
F_EVALUATION_STRATEGY
public static final ItemName F_EVALUATION_STRATEGY
-
F_OUTCOME_IF_NO_APPROVERS
public static final ItemName F_OUTCOME_IF_NO_APPROVERS
-
F_GROUP_EXPANSION
public static final ItemName F_GROUP_EXPANSION
-
F_FORM_REF
public static final ItemName F_FORM_REF
-
F_ADDITIONAL_INFORMATION
public static final ItemName F_ADDITIONAL_INFORMATION
-
F_AUTOMATICALLY_COMPLETED
public static final ItemName F_AUTOMATICALLY_COMPLETED
-
F_DURATION
public static final ItemName F_DURATION
-
F_TIMED_ACTIONS
public static final ItemName F_TIMED_ACTIONS
-
-
Constructor Detail
-
ApprovalStageDefinitionType
public ApprovalStageDefinitionType()
-
ApprovalStageDefinitionType
public ApprovalStageDefinitionType(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()
-
getNumber
public Integer getNumber()
-
setNumber
public void setNumber(Integer value)
-
getName
public String getName()
-
setName
public void setName(String value)
-
getDisplayName
public String getDisplayName()
-
setDisplayName
public void setDisplayName(String value)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String value)
-
getDocumentation
public String getDocumentation()
-
setDocumentation
public void setDocumentation(String value)
-
getApproverRef
public List<ObjectReferenceType> getApproverRef()
-
createApproverRefList
public List<ObjectReferenceType> createApproverRefList()
-
getApproverExpression
public List<ExpressionType> getApproverExpression()
-
createApproverExpressionList
public List<ExpressionType> createApproverExpressionList()
-
getEvaluationStrategy
public LevelEvaluationStrategyType getEvaluationStrategy()
-
setEvaluationStrategy
public void setEvaluationStrategy(LevelEvaluationStrategyType value)
-
getOutcomeIfNoApprovers
public ApprovalLevelOutcomeType getOutcomeIfNoApprovers()
-
setOutcomeIfNoApprovers
public void setOutcomeIfNoApprovers(ApprovalLevelOutcomeType value)
-
getGroupExpansion
public GroupExpansionType getGroupExpansion()
-
setGroupExpansion
public void setGroupExpansion(GroupExpansionType value)
-
getFormRef
public ObjectReferenceType getFormRef()
-
setFormRef
public void setFormRef(ObjectReferenceType value)
-
getAdditionalInformation
public ExpressionType getAdditionalInformation()
-
setAdditionalInformation
public void setAdditionalInformation(ExpressionType value)
-
getAutomaticallyCompleted
public ExpressionType getAutomaticallyCompleted()
-
setAutomaticallyCompleted
public void setAutomaticallyCompleted(ExpressionType value)
-
getDuration
public Duration getDuration()
-
setDuration
public void setDuration(Duration value)
-
getTimedActions
public List<WorkItemTimedActionsType> getTimedActions()
-
createTimedActionsList
public List<WorkItemTimedActionsType> createTimedActionsList()
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
number
public ApprovalStageDefinitionType number(Integer value)
-
name
public ApprovalStageDefinitionType name(String value)
-
displayName
public ApprovalStageDefinitionType displayName(String value)
-
description
public ApprovalStageDefinitionType description(String value)
-
documentation
public ApprovalStageDefinitionType documentation(String value)
-
approverRef
public ApprovalStageDefinitionType approverRef(ObjectReferenceType value)
-
approverRef
public ApprovalStageDefinitionType approverRef(String oid, QName type)
-
approverRef
public ApprovalStageDefinitionType approverRef(String oid, QName type, QName relation)
-
beginApproverRef
public ObjectReferenceType beginApproverRef()
-
approverRelation
public ApprovalStageDefinitionType approverRelation(QName value)
-
approverExpression
public ApprovalStageDefinitionType approverExpression(ExpressionType value)
-
beginApproverExpression
public ExpressionType beginApproverExpression()
-
evaluationStrategy
public ApprovalStageDefinitionType evaluationStrategy(LevelEvaluationStrategyType value)
-
outcomeIfNoApprovers
public ApprovalStageDefinitionType outcomeIfNoApprovers(ApprovalLevelOutcomeType value)
-
groupExpansion
public ApprovalStageDefinitionType groupExpansion(GroupExpansionType value)
-
formRef
public ApprovalStageDefinitionType formRef(ObjectReferenceType value)
-
formRef
public ApprovalStageDefinitionType formRef(String oid, QName type)
-
formRef
public ApprovalStageDefinitionType formRef(String oid, QName type, QName relation)
-
beginFormRef
public ObjectReferenceType beginFormRef()
-
additionalInformation
public ApprovalStageDefinitionType additionalInformation(ExpressionType value)
-
beginAdditionalInformation
public ExpressionType beginAdditionalInformation()
-
automaticallyCompleted
public ApprovalStageDefinitionType automaticallyCompleted(ExpressionType value)
-
beginAutomaticallyCompleted
public ExpressionType beginAutomaticallyCompleted()
-
duration
public ApprovalStageDefinitionType duration(Duration value)
-
timedActions
public ApprovalStageDefinitionType timedActions(WorkItemTimedActionsType value)
-
beginTimedActions
public WorkItemTimedActionsType beginTimedActions()
-
id
public ApprovalStageDefinitionType id(Long value)
-
clone
public ApprovalStageDefinitionType clone()
-
-