Class PolicyConstraintsType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractPolicyConstraintType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyConstraintsType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class PolicyConstraintsType extends AbstractPolicyConstraintType implements Serializable, Cloneable, Containerable
Set of governance, risk management, compliance (GRC) and similar policy constraints that influence the identity model. These constraints act as triggers for the rules.Java class for PolicyConstraintsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PolicyConstraintsType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AbstractPolicyConstraintType"> <sequence> <element name="objectState" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}StatePolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="assignmentState" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}StatePolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="hasAssignment" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}HasAssignmentPolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="hasNoAssignment" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}HasAssignmentPolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="exclusion" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExclusionPolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="minAssignees" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MultiplicityPolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="maxAssignees" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MultiplicityPolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="objectMinAssigneesViolation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MultiplicityPolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="objectMaxAssigneesViolation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MultiplicityPolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="modification" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ModificationPolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="assignment" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AssignmentModificationPolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="objectTimeValidity" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TimeValidityPolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="assignmentTimeValidity" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TimeValidityPolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="situation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicySituationPolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="collectionStats" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CollectionStatsPolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="alwaysTrue" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AlwaysTruePolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="orphaned" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OrphanedPolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="and" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicyConstraintsType" maxOccurs="unbounded" minOccurs="0"/> <element name="or" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicyConstraintsType" maxOccurs="unbounded" minOccurs="0"/> <element name="not" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicyConstraintsType" maxOccurs="unbounded" minOccurs="0"/> <element name="transition" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TransitionPolicyConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="ref" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicyConstraintReferenceType" 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_ALWAYS_TRUE
static ItemName
F_AND
static ItemName
F_ASSIGNMENT
static ItemName
F_ASSIGNMENT_STATE
static ItemName
F_ASSIGNMENT_TIME_VALIDITY
static ItemName
F_COLLECTION_STATS
static ItemName
F_EXCLUSION
static ItemName
F_HAS_ASSIGNMENT
static ItemName
F_HAS_NO_ASSIGNMENT
static ItemName
F_MAX_ASSIGNEES
static ItemName
F_MIN_ASSIGNEES
static ItemName
F_MODIFICATION
static ItemName
F_NOT
static ItemName
F_OBJECT_MAX_ASSIGNEES_VIOLATION
static ItemName
F_OBJECT_MIN_ASSIGNEES_VIOLATION
static ItemName
F_OBJECT_STATE
static ItemName
F_OBJECT_TIME_VALIDITY
static ItemName
F_OR
static ItemName
F_ORPHANED
static ItemName
F_REF
static ItemName
F_SITUATION
static ItemName
F_TRANSITION
-
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 PolicyConstraintsType()
PolicyConstraintsType(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
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_OBJECT_STATE
public static final ItemName F_OBJECT_STATE
-
F_ASSIGNMENT_STATE
public static final ItemName F_ASSIGNMENT_STATE
-
F_HAS_ASSIGNMENT
public static final ItemName F_HAS_ASSIGNMENT
-
F_HAS_NO_ASSIGNMENT
public static final ItemName F_HAS_NO_ASSIGNMENT
-
F_EXCLUSION
public static final ItemName F_EXCLUSION
-
F_MIN_ASSIGNEES
public static final ItemName F_MIN_ASSIGNEES
-
F_MAX_ASSIGNEES
public static final ItemName F_MAX_ASSIGNEES
-
F_OBJECT_MIN_ASSIGNEES_VIOLATION
public static final ItemName F_OBJECT_MIN_ASSIGNEES_VIOLATION
-
F_OBJECT_MAX_ASSIGNEES_VIOLATION
public static final ItemName F_OBJECT_MAX_ASSIGNEES_VIOLATION
-
F_MODIFICATION
public static final ItemName F_MODIFICATION
-
F_ASSIGNMENT
public static final ItemName F_ASSIGNMENT
-
F_OBJECT_TIME_VALIDITY
public static final ItemName F_OBJECT_TIME_VALIDITY
-
F_ASSIGNMENT_TIME_VALIDITY
public static final ItemName F_ASSIGNMENT_TIME_VALIDITY
-
F_SITUATION
public static final ItemName F_SITUATION
-
F_COLLECTION_STATS
public static final ItemName F_COLLECTION_STATS
-
F_ALWAYS_TRUE
public static final ItemName F_ALWAYS_TRUE
-
F_ORPHANED
public static final ItemName F_ORPHANED
-
F_AND
public static final ItemName F_AND
-
F_OR
public static final ItemName F_OR
-
F_NOT
public static final ItemName F_NOT
-
F_TRANSITION
public static final ItemName F_TRANSITION
-
F_REF
public static final ItemName F_REF
-
-
Constructor Detail
-
PolicyConstraintsType
public PolicyConstraintsType()
-
PolicyConstraintsType
public PolicyConstraintsType(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
-
getObjectState
public List<StatePolicyConstraintType> getObjectState()
-
createObjectStateList
public List<StatePolicyConstraintType> createObjectStateList()
-
getAssignmentState
public List<StatePolicyConstraintType> getAssignmentState()
-
createAssignmentStateList
public List<StatePolicyConstraintType> createAssignmentStateList()
-
getHasAssignment
public List<HasAssignmentPolicyConstraintType> getHasAssignment()
-
createHasAssignmentList
public List<HasAssignmentPolicyConstraintType> createHasAssignmentList()
-
getHasNoAssignment
public List<HasAssignmentPolicyConstraintType> getHasNoAssignment()
-
createHasNoAssignmentList
public List<HasAssignmentPolicyConstraintType> createHasNoAssignmentList()
-
getExclusion
public List<ExclusionPolicyConstraintType> getExclusion()
-
createExclusionList
public List<ExclusionPolicyConstraintType> createExclusionList()
-
getMinAssignees
public List<MultiplicityPolicyConstraintType> getMinAssignees()
-
createMinAssigneesList
public List<MultiplicityPolicyConstraintType> createMinAssigneesList()
-
getMaxAssignees
public List<MultiplicityPolicyConstraintType> getMaxAssignees()
-
createMaxAssigneesList
public List<MultiplicityPolicyConstraintType> createMaxAssigneesList()
-
getObjectMinAssigneesViolation
public List<MultiplicityPolicyConstraintType> getObjectMinAssigneesViolation()
-
createObjectMinAssigneesViolationList
public List<MultiplicityPolicyConstraintType> createObjectMinAssigneesViolationList()
-
getObjectMaxAssigneesViolation
public List<MultiplicityPolicyConstraintType> getObjectMaxAssigneesViolation()
-
createObjectMaxAssigneesViolationList
public List<MultiplicityPolicyConstraintType> createObjectMaxAssigneesViolationList()
-
getModification
public List<ModificationPolicyConstraintType> getModification()
-
createModificationList
public List<ModificationPolicyConstraintType> createModificationList()
-
getAssignment
public List<AssignmentModificationPolicyConstraintType> getAssignment()
-
createAssignmentList
public List<AssignmentModificationPolicyConstraintType> createAssignmentList()
-
getObjectTimeValidity
public List<TimeValidityPolicyConstraintType> getObjectTimeValidity()
-
createObjectTimeValidityList
public List<TimeValidityPolicyConstraintType> createObjectTimeValidityList()
-
getAssignmentTimeValidity
public List<TimeValidityPolicyConstraintType> getAssignmentTimeValidity()
-
createAssignmentTimeValidityList
public List<TimeValidityPolicyConstraintType> createAssignmentTimeValidityList()
-
getSituation
public List<PolicySituationPolicyConstraintType> getSituation()
-
createSituationList
public List<PolicySituationPolicyConstraintType> createSituationList()
-
getCollectionStats
public List<CollectionStatsPolicyConstraintType> getCollectionStats()
-
createCollectionStatsList
public List<CollectionStatsPolicyConstraintType> createCollectionStatsList()
-
getAlwaysTrue
public List<AlwaysTruePolicyConstraintType> getAlwaysTrue()
-
createAlwaysTrueList
public List<AlwaysTruePolicyConstraintType> createAlwaysTrueList()
-
getOrphaned
public List<OrphanedPolicyConstraintType> getOrphaned()
-
createOrphanedList
public List<OrphanedPolicyConstraintType> createOrphanedList()
-
getAnd
public List<PolicyConstraintsType> getAnd()
-
createAndList
public List<PolicyConstraintsType> createAndList()
-
getOr
public List<PolicyConstraintsType> getOr()
-
createOrList
public List<PolicyConstraintsType> createOrList()
-
getNot
public List<PolicyConstraintsType> getNot()
-
createNotList
public List<PolicyConstraintsType> createNotList()
-
getTransition
public List<TransitionPolicyConstraintType> getTransition()
-
createTransitionList
public List<TransitionPolicyConstraintType> createTransitionList()
-
getRef
public List<PolicyConstraintReferenceType> getRef()
-
createRefList
public List<PolicyConstraintReferenceType> createRefList()
-
objectState
public PolicyConstraintsType objectState(StatePolicyConstraintType value)
-
beginObjectState
public StatePolicyConstraintType beginObjectState()
-
assignmentState
public PolicyConstraintsType assignmentState(StatePolicyConstraintType value)
-
beginAssignmentState
public StatePolicyConstraintType beginAssignmentState()
-
hasAssignment
public PolicyConstraintsType hasAssignment(HasAssignmentPolicyConstraintType value)
-
beginHasAssignment
public HasAssignmentPolicyConstraintType beginHasAssignment()
-
hasNoAssignment
public PolicyConstraintsType hasNoAssignment(HasAssignmentPolicyConstraintType value)
-
beginHasNoAssignment
public HasAssignmentPolicyConstraintType beginHasNoAssignment()
-
exclusion
public PolicyConstraintsType exclusion(ExclusionPolicyConstraintType value)
-
beginExclusion
public ExclusionPolicyConstraintType beginExclusion()
-
minAssignees
public PolicyConstraintsType minAssignees(MultiplicityPolicyConstraintType value)
-
beginMinAssignees
public MultiplicityPolicyConstraintType beginMinAssignees()
-
maxAssignees
public PolicyConstraintsType maxAssignees(MultiplicityPolicyConstraintType value)
-
beginMaxAssignees
public MultiplicityPolicyConstraintType beginMaxAssignees()
-
objectMinAssigneesViolation
public PolicyConstraintsType objectMinAssigneesViolation(MultiplicityPolicyConstraintType value)
-
beginObjectMinAssigneesViolation
public MultiplicityPolicyConstraintType beginObjectMinAssigneesViolation()
-
objectMaxAssigneesViolation
public PolicyConstraintsType objectMaxAssigneesViolation(MultiplicityPolicyConstraintType value)
-
beginObjectMaxAssigneesViolation
public MultiplicityPolicyConstraintType beginObjectMaxAssigneesViolation()
-
modification
public PolicyConstraintsType modification(ModificationPolicyConstraintType value)
-
beginModification
public ModificationPolicyConstraintType beginModification()
-
assignment
public PolicyConstraintsType assignment(AssignmentModificationPolicyConstraintType value)
-
beginAssignment
public AssignmentModificationPolicyConstraintType beginAssignment()
-
objectTimeValidity
public PolicyConstraintsType objectTimeValidity(TimeValidityPolicyConstraintType value)
-
beginObjectTimeValidity
public TimeValidityPolicyConstraintType beginObjectTimeValidity()
-
assignmentTimeValidity
public PolicyConstraintsType assignmentTimeValidity(TimeValidityPolicyConstraintType value)
-
beginAssignmentTimeValidity
public TimeValidityPolicyConstraintType beginAssignmentTimeValidity()
-
situation
public PolicyConstraintsType situation(PolicySituationPolicyConstraintType value)
-
beginSituation
public PolicySituationPolicyConstraintType beginSituation()
-
collectionStats
public PolicyConstraintsType collectionStats(CollectionStatsPolicyConstraintType value)
-
beginCollectionStats
public CollectionStatsPolicyConstraintType beginCollectionStats()
-
alwaysTrue
public PolicyConstraintsType alwaysTrue(AlwaysTruePolicyConstraintType value)
-
beginAlwaysTrue
public AlwaysTruePolicyConstraintType beginAlwaysTrue()
-
orphaned
public PolicyConstraintsType orphaned(OrphanedPolicyConstraintType value)
-
beginOrphaned
public OrphanedPolicyConstraintType beginOrphaned()
-
and
public PolicyConstraintsType and(PolicyConstraintsType value)
-
beginAnd
public PolicyConstraintsType beginAnd()
-
or
public PolicyConstraintsType or(PolicyConstraintsType value)
-
beginOr
public PolicyConstraintsType beginOr()
-
not
public PolicyConstraintsType not(PolicyConstraintsType value)
-
beginNot
public PolicyConstraintsType beginNot()
-
transition
public PolicyConstraintsType transition(TransitionPolicyConstraintType value)
-
beginTransition
public TransitionPolicyConstraintType beginTransition()
-
ref
public PolicyConstraintsType ref(PolicyConstraintReferenceType value)
-
beginRef
public PolicyConstraintReferenceType beginRef()
-
name
public PolicyConstraintsType name(String value)
- Overrides:
name
in classAbstractPolicyConstraintType
-
description
public PolicyConstraintsType description(String value)
- Overrides:
description
in classAbstractPolicyConstraintType
-
documentation
public PolicyConstraintsType documentation(String value)
- Overrides:
documentation
in classAbstractPolicyConstraintType
-
presentation
public PolicyConstraintsType presentation(PolicyConstraintPresentationType value)
- Overrides:
presentation
in classAbstractPolicyConstraintType
-
beginPresentation
public PolicyConstraintPresentationType beginPresentation()
- Overrides:
beginPresentation
in classAbstractPolicyConstraintType
-
id
public PolicyConstraintsType id(Long value)
- Overrides:
id
in classAbstractPolicyConstraintType
-
clone
public PolicyConstraintsType clone()
- Overrides:
clone
in classAbstractPolicyConstraintType
-
-