Class ModificationPolicyConstraintType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractPolicyConstraintType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ModificationPolicyConstraintType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
AssignmentModificationPolicyConstraintType
public class ModificationPolicyConstraintType extends AbstractPolicyConstraintType implements Serializable, Cloneable, Containerable
Constraint that triggers the rule on object modification, addition or deletion.Java class for ModificationPolicyConstraintType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ModificationPolicyConstraintType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AbstractPolicyConstraintType"> <sequence> <element name="operation" type="{http://prism.evolveum.com/xml/ns/public/types-3}ChangeTypeType" maxOccurs="unbounded" minOccurs="0"/> <element name="item" type="{http://prism.evolveum.com/xml/ns/public/types-3}ItemPathType" maxOccurs="unbounded" minOccurs="0"/> <element name="exactPathMatch" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="expression" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" 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_EXACT_PATH_MATCH
static ItemName
F_EXPRESSION
static ItemName
F_ITEM
static ItemName
F_OPERATION
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractPolicyConstraintType
F_DESCRIPTION, F_DOCUMENTATION, F_NAME, F_PRESENTATION
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ModificationPolicyConstraintType()
ModificationPolicyConstraintType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractPolicyConstraintType
getDescription, getDocumentation, getId, getName, getPresentation, setDescription, setDocumentation, setId, setName, setPresentation
-
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
-
ModificationPolicyConstraintType
public ModificationPolicyConstraintType()
-
ModificationPolicyConstraintType
public ModificationPolicyConstraintType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
- Overrides:
asPrismContainerValue
in classAbstractPolicyConstraintType
-
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 classAbstractPolicyConstraintType
-
toString
public String toString()
- Overrides:
toString
in classAbstractPolicyConstraintType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classAbstractPolicyConstraintType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractPolicyConstraintType
-
end
public <X> X end()
- Overrides:
end
in classAbstractPolicyConstraintType
-
getOperation
public List<ChangeTypeType> getOperation()
-
createOperationList
public List<ChangeTypeType> createOperationList()
-
getItem
public List<ItemPathType> getItem()
-
createItemList
public List<ItemPathType> createItemList()
-
isExactPathMatch
public Boolean isExactPathMatch()
-
setExactPathMatch
public void setExactPathMatch(Boolean value)
-
getExpression
public ExpressionType getExpression()
-
setExpression
public void setExpression(ExpressionType value)
-
operation
public ModificationPolicyConstraintType operation(ChangeTypeType value)
-
item
public ModificationPolicyConstraintType item(ItemPathType value)
-
beginItem
public ItemPathType beginItem()
-
exactPathMatch
public ModificationPolicyConstraintType exactPathMatch(Boolean value)
-
expression
public ModificationPolicyConstraintType expression(ExpressionType value)
-
beginExpression
public ExpressionType beginExpression()
-
name
public ModificationPolicyConstraintType name(String value)
- Overrides:
name
in classAbstractPolicyConstraintType
-
description
public ModificationPolicyConstraintType description(String value)
- Overrides:
description
in classAbstractPolicyConstraintType
-
documentation
public ModificationPolicyConstraintType documentation(String value)
- Overrides:
documentation
in classAbstractPolicyConstraintType
-
presentation
public ModificationPolicyConstraintType presentation(PolicyConstraintPresentationType value)
- Overrides:
presentation
in classAbstractPolicyConstraintType
-
beginPresentation
public PolicyConstraintPresentationType beginPresentation()
- Overrides:
beginPresentation
in classAbstractPolicyConstraintType
-
id
public ModificationPolicyConstraintType id(Long value)
- Overrides:
id
in classAbstractPolicyConstraintType
-
clone
public ModificationPolicyConstraintType clone()
- Overrides:
clone
in classAbstractPolicyConstraintType
-
-