Class DelegateWorkItemActionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkItemActionType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.DelegateWorkItemActionType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
EscalateWorkItemActionType
public class DelegateWorkItemActionType extends AbstractWorkItemActionType implements Serializable, Cloneable, Containerable
TODO EXPERIMENTALJava class for DelegateWorkItemActionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DelegateWorkItemActionType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AbstractWorkItemActionType"> <sequence> <element name="approverRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" 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="outcomeIfNoApprovers" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> <element name="duration" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/> <element name="delegationMethod" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}WorkItemDelegationMethodType" minOccurs="0"/> <element name="notifyBeforeAction" type="{http://www.w3.org/2001/XMLSchema}duration" maxOccurs="unbounded" 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_APPROVER_EXPRESSION
static ItemName
F_APPROVER_REF
static ItemName
F_DELEGATION_METHOD
static ItemName
F_DURATION
static ItemName
F_NOTIFY_BEFORE_ACTION
static ItemName
F_OUTCOME_IF_NO_APPROVERS
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkItemActionType
F_CONDITION, F_DESCRIPTION, F_DISPLAY_NAME, F_DOCUMENTATION, F_NAME
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description DelegateWorkItemActionType()
DelegateWorkItemActionType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkItemActionType
getCondition, getDescription, getDisplayName, getDocumentation, getId, getName, setCondition, setDescription, setDisplayName, setDocumentation, setId, setName
-
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_APPROVER_REF
public static final ItemName F_APPROVER_REF
-
F_APPROVER_EXPRESSION
public static final ItemName F_APPROVER_EXPRESSION
-
F_OUTCOME_IF_NO_APPROVERS
public static final ItemName F_OUTCOME_IF_NO_APPROVERS
-
F_DURATION
public static final ItemName F_DURATION
-
F_DELEGATION_METHOD
public static final ItemName F_DELEGATION_METHOD
-
F_NOTIFY_BEFORE_ACTION
public static final ItemName F_NOTIFY_BEFORE_ACTION
-
-
Constructor Detail
-
DelegateWorkItemActionType
public DelegateWorkItemActionType()
-
DelegateWorkItemActionType
public DelegateWorkItemActionType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
- Overrides:
asPrismContainerValue
in classAbstractWorkItemActionType
-
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 classAbstractWorkItemActionType
-
toString
public String toString()
- Overrides:
toString
in classAbstractWorkItemActionType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classAbstractWorkItemActionType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractWorkItemActionType
-
end
public <X> X end()
- Overrides:
end
in classAbstractWorkItemActionType
-
getApproverRef
public List<ObjectReferenceType> getApproverRef()
-
createApproverRefList
public List<ObjectReferenceType> createApproverRefList()
-
getApproverExpression
public List<ExpressionType> getApproverExpression()
-
createApproverExpressionList
public List<ExpressionType> createApproverExpressionList()
-
getOutcomeIfNoApprovers
public String getOutcomeIfNoApprovers()
-
setOutcomeIfNoApprovers
public void setOutcomeIfNoApprovers(String value)
-
getDuration
public Duration getDuration()
-
setDuration
public void setDuration(Duration value)
-
getDelegationMethod
public WorkItemDelegationMethodType getDelegationMethod()
-
setDelegationMethod
public void setDelegationMethod(WorkItemDelegationMethodType value)
-
approverRef
public DelegateWorkItemActionType approverRef(ObjectReferenceType value)
-
approverRef
public DelegateWorkItemActionType approverRef(String oid, QName type)
-
approverRef
public DelegateWorkItemActionType approverRef(String oid, QName type, QName relation)
-
beginApproverRef
public ObjectReferenceType beginApproverRef()
-
approverExpression
public DelegateWorkItemActionType approverExpression(ExpressionType value)
-
beginApproverExpression
public ExpressionType beginApproverExpression()
-
outcomeIfNoApprovers
public DelegateWorkItemActionType outcomeIfNoApprovers(String value)
-
duration
public DelegateWorkItemActionType duration(Duration value)
-
delegationMethod
public DelegateWorkItemActionType delegationMethod(WorkItemDelegationMethodType value)
-
notifyBeforeAction
public DelegateWorkItemActionType notifyBeforeAction(Duration value)
-
name
public DelegateWorkItemActionType name(String value)
- Overrides:
name
in classAbstractWorkItemActionType
-
displayName
public DelegateWorkItemActionType displayName(String value)
- Overrides:
displayName
in classAbstractWorkItemActionType
-
description
public DelegateWorkItemActionType description(String value)
- Overrides:
description
in classAbstractWorkItemActionType
-
documentation
public DelegateWorkItemActionType documentation(String value)
- Overrides:
documentation
in classAbstractWorkItemActionType
-
condition
public DelegateWorkItemActionType condition(ExpressionType value)
- Overrides:
condition
in classAbstractWorkItemActionType
-
beginCondition
public ExpressionType beginCondition()
- Overrides:
beginCondition
in classAbstractWorkItemActionType
-
id
public DelegateWorkItemActionType id(Long value)
- Overrides:
id
in classAbstractWorkItemActionType
-
clone
public DelegateWorkItemActionType clone()
- Overrides:
clone
in classAbstractWorkItemActionType
-
-