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 QName
COMPLEX_TYPE
static ItemName
F_CONDITION
static ItemName
F_DESCRIPTION
static ItemName
F_DOCUMENTATION
static ItemName
F_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 PrismContainerValue
asPrismContainerValue()
ExpressionType
beginCondition()
PolicyActionType
clone()
PolicyActionType
condition(ExpressionType value)
PolicyActionType
description(String value)
PolicyActionType
documentation(String value)
<X> X
end()
boolean
equals(Object object)
ExpressionType
getCondition()
String
getDescription()
String
getDocumentation()
Long
getId()
String
getName()
int
hashCode()
PolicyActionType
id(Long value)
PolicyActionType
name(String value)
void
setCondition(ExpressionType value)
void
setDescription(String value)
void
setDocumentation(String value)
void
setId(Long value)
void
setName(String value)
void
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.String
toString()
-
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:
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()
-
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()
-
-