Class ApprovalContextType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ApprovalContextType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class ApprovalContextType extends Object implements Serializable, Cloneable, Containerable
Describes the approval context, i.e. what has to be approved, the approval schema, and so on.Java class for ApprovalContextType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ApprovalContextType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="changeAspect" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="deltasToApprove" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectTreeDeltasType" minOccurs="0"/> <element name="resultingDeltas" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectTreeDeltasType" minOccurs="0"/> <element name="immediateExecution" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="approvalSchema" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ApprovalSchemaType" minOccurs="0"/> <element name="policyRules" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}SchemaAttachedPolicyRulesType" 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_APPROVAL_SCHEMA
static ItemName
F_CHANGE_ASPECT
static ItemName
F_DELTAS_TO_APPROVE
static ItemName
F_IMMEDIATE_EXECUTION
static ItemName
F_POLICY_RULES
static ItemName
F_RESULTING_DELTAS
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ApprovalContextType()
ApprovalContextType(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_CHANGE_ASPECT
public static final ItemName F_CHANGE_ASPECT
-
F_DELTAS_TO_APPROVE
public static final ItemName F_DELTAS_TO_APPROVE
-
F_RESULTING_DELTAS
public static final ItemName F_RESULTING_DELTAS
-
F_IMMEDIATE_EXECUTION
public static final ItemName F_IMMEDIATE_EXECUTION
-
F_APPROVAL_SCHEMA
public static final ItemName F_APPROVAL_SCHEMA
-
F_POLICY_RULES
public static final ItemName F_POLICY_RULES
-
-
Constructor Detail
-
ApprovalContextType
public ApprovalContextType()
-
ApprovalContextType
public ApprovalContextType(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()
-
getChangeAspect
public String getChangeAspect()
-
setChangeAspect
public void setChangeAspect(String value)
-
getDeltasToApprove
public ObjectTreeDeltasType getDeltasToApprove()
-
setDeltasToApprove
public void setDeltasToApprove(ObjectTreeDeltasType value)
-
getResultingDeltas
public ObjectTreeDeltasType getResultingDeltas()
-
setResultingDeltas
public void setResultingDeltas(ObjectTreeDeltasType value)
-
isImmediateExecution
public Boolean isImmediateExecution()
-
setImmediateExecution
public void setImmediateExecution(Boolean value)
-
getApprovalSchema
public ApprovalSchemaType getApprovalSchema()
-
setApprovalSchema
public void setApprovalSchema(ApprovalSchemaType value)
-
getPolicyRules
public SchemaAttachedPolicyRulesType getPolicyRules()
-
setPolicyRules
public void setPolicyRules(SchemaAttachedPolicyRulesType value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
changeAspect
public ApprovalContextType changeAspect(String value)
-
deltasToApprove
public ApprovalContextType deltasToApprove(ObjectTreeDeltasType value)
-
beginDeltasToApprove
public ObjectTreeDeltasType beginDeltasToApprove()
-
resultingDeltas
public ApprovalContextType resultingDeltas(ObjectTreeDeltasType value)
-
beginResultingDeltas
public ObjectTreeDeltasType beginResultingDeltas()
-
immediateExecution
public ApprovalContextType immediateExecution(Boolean value)
-
approvalSchema
public ApprovalContextType approvalSchema(ApprovalSchemaType value)
-
beginApprovalSchema
public ApprovalSchemaType beginApprovalSchema()
-
policyRules
public ApprovalContextType policyRules(SchemaAttachedPolicyRulesType value)
-
beginPolicyRules
public SchemaAttachedPolicyRulesType beginPolicyRules()
-
id
public ApprovalContextType id(Long value)
-
clone
public ApprovalContextType clone()
-
-