Class AssignmentConstraintsType
java.lang.Object
com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentConstraintsType
- All Implemented Interfaces:
PlainStructured
,JaxbVisitable
,Serializable
,Cloneable
public class AssignmentConstraintsType
extends com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
Specifies constraints on assignments that are placed in the same focus. It can be used
to prohibit multiple assignment of the same role and for similar cases.
There are several individual constraints in the type. There is a logical AND between them.
This means that if no constraint can be violated. All active constraints must be satisfied
at the same time.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.binding.PlainStructured
PlainStructured.WithoutStrategy
-
Field Summary
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(JaxbVisitor visitor) allowSameRelation
(Boolean value) allowSameTarget
(Boolean value) clone()
description
(String value) documentation
(String value) boolean
equals
(Object other, StructuredEqualsStrategy strategy) int
hashCode
(StructuredHashCodeStrategy strategy) void
setAllowSameRelation
(Boolean value) void
setAllowSameTarget
(Boolean value) void
setDescription
(String value) void
setDocumentation
(String value) Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
equals, hashCode, toString
-
Field Details
-
description
-
documentation
-
allowSameTarget
-
allowSameRelation
-
COMPLEX_TYPE
-
F_DESCRIPTION
-
F_DOCUMENTATION
-
F_ALLOW_SAME_TARGET
-
F_ALLOW_SAME_RELATION
-
-
Constructor Details
-
AssignmentConstraintsType
public AssignmentConstraintsType() -
AssignmentConstraintsType
-
-
Method Details
-
getDescription
-
setDescription
-
getDocumentation
-
setDocumentation
-
isAllowSameTarget
-
setAllowSameTarget
-
isAllowSameRelation
-
setAllowSameRelation
-
hashCode
- Specified by:
hashCode
in interfacePlainStructured
- Overrides:
hashCode
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
equals
- Specified by:
equals
in interfacePlainStructured
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
description
-
documentation
-
allowSameTarget
-
allowSameRelation
-
accept
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
clone
- Specified by:
clone
in interfacePlainStructured
- Specified by:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-