Class PolicyActionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyActionType
-
- All Implemented Interfaces:
Containerable,DebugDumpable,Serializable,Cloneable
- Direct Known Subclasses:
ApprovalPolicyActionType,CertificationPolicyActionType,EnforcementPolicyActionType,NotificationPolicyActionType,PrunePolicyActionType,RecordPolicyActionType,RemediationPolicyActionType,ScriptExecutionPolicyActionType,SuspendTaskPolicyActionType
public class PolicyActionType extends Object implements Serializable, Cloneable, Containerable
Common supertype for policy actions.Java class for PolicyActionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PolicyActionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" 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="condition" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" 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 QNameCOMPLEX_TYPEstatic ItemNameF_CONDITIONstatic ItemNameF_DESCRIPTIONstatic ItemNameF_DOCUMENTATIONstatic ItemNameF_NAME-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description PolicyActionType()PolicyActionType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValueasPrismContainerValue()ExpressionTypebeginCondition()PolicyActionTypeclone()PolicyActionTypecondition(ExpressionType value)PolicyActionTypedescription(String value)PolicyActionTypedocumentation(String value)<X> Xend()booleanequals(Object object)ExpressionTypegetCondition()StringgetDescription()StringgetDocumentation()LonggetId()StringgetName()inthashCode()PolicyActionTypeid(Long value)PolicyActionTypename(String value)voidsetCondition(ExpressionType value)voidsetDescription(String value)voidsetDocumentation(String value)voidsetId(Long value)voidsetName(String value)voidsetupContainerValue(PrismContainerValue containerValue)Setup value to the containerable representation.StringtoString()-
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
-
-
-
-
Constructor Detail
-
PolicyActionType
public PolicyActionType()
-
PolicyActionType
public PolicyActionType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValuein interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:ContainerableSetup 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:
setupContainerValuein interfaceContainerable
-
end
public <X> X end()
-
getName
public String getName()
-
setName
public void setName(String value)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String value)
-
getDocumentation
public String getDocumentation()
-
setDocumentation
public void setDocumentation(String value)
-
getCondition
public ExpressionType getCondition()
-
setCondition
public void setCondition(ExpressionType value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
name
public PolicyActionType name(String value)
-
description
public PolicyActionType description(String value)
-
documentation
public PolicyActionType documentation(String value)
-
condition
public PolicyActionType condition(ExpressionType value)
-
beginCondition
public ExpressionType beginCondition()
-
id
public PolicyActionType id(Long value)
-
clone
public PolicyActionType clone()
-
-