Class ActivityDefinitionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ActivityDefinitionType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class ActivityDefinitionType extends Object implements Serializable, Cloneable, Containerable
Describes an activity, i.e. something that has to be carried out within a task. It can be either simple (i.e. single action executed on a set of objects) or complex, i.e. a sequence of sub-activities. Note that in 4.4 midPoint supports only a plain list of activities. This means that a root activity can have sub-activities, but none of these can have any.Java class for ActivityDefinitionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ActivityDefinitionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="order" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <choice> <element name="work" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}WorkDefinitionsType" minOccurs="0"/> <element name="composition" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivityCompositionType" minOccurs="0"/> </choice> <element name="executionMode" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExecutionModeType" minOccurs="0"/> <element name="controlFlow" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivityControlFlowDefinitionType" minOccurs="0"/> <element name="distribution" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivityDistributionDefinitionType" minOccurs="0"/> <element name="reporting" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivityReportingDefinitionType" minOccurs="0"/> <element name="tailoring" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivitiesTailoringType" 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_COMPOSITION
static ItemName
F_CONTROL_FLOW
static ItemName
F_DISTRIBUTION
static ItemName
F_EXECUTION_MODE
static ItemName
F_IDENTIFIER
static ItemName
F_ORDER
static ItemName
F_REPORTING
static ItemName
F_TAILORING
static ItemName
F_WORK
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ActivityDefinitionType()
ActivityDefinitionType(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_ORDER
public static final ItemName F_ORDER
-
F_IDENTIFIER
public static final ItemName F_IDENTIFIER
-
F_WORK
public static final ItemName F_WORK
-
F_COMPOSITION
public static final ItemName F_COMPOSITION
-
F_EXECUTION_MODE
public static final ItemName F_EXECUTION_MODE
-
F_CONTROL_FLOW
public static final ItemName F_CONTROL_FLOW
-
F_DISTRIBUTION
public static final ItemName F_DISTRIBUTION
-
F_REPORTING
public static final ItemName F_REPORTING
-
F_TAILORING
public static final ItemName F_TAILORING
-
-
Constructor Detail
-
ActivityDefinitionType
public ActivityDefinitionType()
-
ActivityDefinitionType
public ActivityDefinitionType(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()
-
getOrder
public Integer getOrder()
-
setOrder
public void setOrder(Integer value)
-
getIdentifier
public String getIdentifier()
-
setIdentifier
public void setIdentifier(String value)
-
getWork
public WorkDefinitionsType getWork()
-
setWork
public void setWork(WorkDefinitionsType value)
-
getComposition
public ActivityCompositionType getComposition()
-
setComposition
public void setComposition(ActivityCompositionType value)
-
getExecutionMode
public ExecutionModeType getExecutionMode()
-
setExecutionMode
public void setExecutionMode(ExecutionModeType value)
-
getControlFlow
public ActivityControlFlowDefinitionType getControlFlow()
-
setControlFlow
public void setControlFlow(ActivityControlFlowDefinitionType value)
-
getDistribution
public ActivityDistributionDefinitionType getDistribution()
-
setDistribution
public void setDistribution(ActivityDistributionDefinitionType value)
-
getReporting
public ActivityReportingDefinitionType getReporting()
-
setReporting
public void setReporting(ActivityReportingDefinitionType value)
-
getTailoring
public ActivitiesTailoringType getTailoring()
-
setTailoring
public void setTailoring(ActivitiesTailoringType value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
order
public ActivityDefinitionType order(Integer value)
-
identifier
public ActivityDefinitionType identifier(String value)
-
work
public ActivityDefinitionType work(WorkDefinitionsType value)
-
beginWork
public WorkDefinitionsType beginWork()
-
composition
public ActivityDefinitionType composition(ActivityCompositionType value)
-
beginComposition
public ActivityCompositionType beginComposition()
-
executionMode
public ActivityDefinitionType executionMode(ExecutionModeType value)
-
controlFlow
public ActivityDefinitionType controlFlow(ActivityControlFlowDefinitionType value)
-
beginControlFlow
public ActivityControlFlowDefinitionType beginControlFlow()
-
distribution
public ActivityDefinitionType distribution(ActivityDistributionDefinitionType value)
-
beginDistribution
public ActivityDistributionDefinitionType beginDistribution()
-
reporting
public ActivityDefinitionType reporting(ActivityReportingDefinitionType value)
-
beginReporting
public ActivityReportingDefinitionType beginReporting()
-
tailoring
public ActivityDefinitionType tailoring(ActivitiesTailoringType value)
-
beginTailoring
public ActivitiesTailoringType beginTailoring()
-
id
public ActivityDefinitionType id(Long value)
-
clone
public ActivityDefinitionType clone()
-
-