Class ExclusionPolicyConstraintType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractPolicyConstraintType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ExclusionPolicyConstraintType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class ExclusionPolicyConstraintType extends AbstractPolicyConstraintType implements Serializable, Cloneable, Containerable
Container that defines exclusion of entities (e.g. roles). It is a part of Segregation of Duties (SoD) mechanism.Java class for ExclusionPolicyConstraintType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ExclusionPolicyConstraintType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AbstractPolicyConstraintType"> <sequence> <element name="targetRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="orderConstraint" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OrderConstraintsType" maxOccurs="unbounded" minOccurs="0"/> <element name="targetOrderConstraint" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OrderConstraintsType" maxOccurs="unbounded" 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_ORDER_CONSTRAINT
static ItemName
F_TARGET_ORDER_CONSTRAINT
static ItemName
F_TARGET_REF
-
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 ExclusionPolicyConstraintType()
ExclusionPolicyConstraintType(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
-
ExclusionPolicyConstraintType
public ExclusionPolicyConstraintType()
-
ExclusionPolicyConstraintType
public ExclusionPolicyConstraintType(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
-
getTargetRef
public ObjectReferenceType getTargetRef()
-
setTargetRef
public void setTargetRef(ObjectReferenceType value)
-
getOrderConstraint
public List<OrderConstraintsType> getOrderConstraint()
-
createOrderConstraintList
public List<OrderConstraintsType> createOrderConstraintList()
-
getTargetOrderConstraint
public List<OrderConstraintsType> getTargetOrderConstraint()
-
createTargetOrderConstraintList
public List<OrderConstraintsType> createTargetOrderConstraintList()
-
targetRef
public ExclusionPolicyConstraintType targetRef(ObjectReferenceType value)
-
targetRef
public ExclusionPolicyConstraintType targetRef(String oid, QName type)
-
targetRef
public ExclusionPolicyConstraintType targetRef(String oid, QName type, QName relation)
-
beginTargetRef
public ObjectReferenceType beginTargetRef()
-
orderConstraint
public ExclusionPolicyConstraintType orderConstraint(OrderConstraintsType value)
-
beginOrderConstraint
public OrderConstraintsType beginOrderConstraint()
-
targetOrderConstraint
public ExclusionPolicyConstraintType targetOrderConstraint(OrderConstraintsType value)
-
beginTargetOrderConstraint
public OrderConstraintsType beginTargetOrderConstraint()
-
name
public ExclusionPolicyConstraintType name(String value)
- Overrides:
name
in classAbstractPolicyConstraintType
-
description
public ExclusionPolicyConstraintType description(String value)
- Overrides:
description
in classAbstractPolicyConstraintType
-
documentation
public ExclusionPolicyConstraintType documentation(String value)
- Overrides:
documentation
in classAbstractPolicyConstraintType
-
presentation
public ExclusionPolicyConstraintType presentation(PolicyConstraintPresentationType value)
- Overrides:
presentation
in classAbstractPolicyConstraintType
-
beginPresentation
public PolicyConstraintPresentationType beginPresentation()
- Overrides:
beginPresentation
in classAbstractPolicyConstraintType
-
id
public ExclusionPolicyConstraintType id(Long value)
- Overrides:
id
in classAbstractPolicyConstraintType
-
clone
public ExclusionPolicyConstraintType clone()
- Overrides:
clone
in classAbstractPolicyConstraintType
-
-