Class AssignmentRelationType
java.lang.Object
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentRelationType
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
public class AssignmentRelationType
extends com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
Specifies what types of assignments can be made to the focal object when it is a target of an assignment.
This specifies possible relations of the assignment, type of assignment holder and so on.
Simply speaking, this specifies "who can have assignment to me" or "who can hold assignment with me as a target".
Limitations: assignmentRelation can appear only in archetype. It can appear in assignment or inducements, but
it must not have any order specification (i.e. it must be order 0 or 1).
Assignment relation specification can be "wildcard", i.e. they can apply to a range of conditions.
E.g. if no relation is specified, the specification applies to all the relations. An extreme case is
an empty assignment relation, which is the ultimate wildcard. Such specification means that any
type, any archetype can be assigned with any relation. Which in fact means "open" assignment policy.
However, processing of wildcard assignment relations is limited in midPoint 4.0 (see documentation).
Assignment relation applies only to assignments by default. Therefore it controls when an assignment
can be made. It does not apply to inducements - yet. In later midPoint versions there will be an
element that can specify "order constraints". In that case assignment relation could specify properties
of inducements, including high-order inducements. However, the implementation in midPoint 4.0 is
limited to assignments.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final Producer<AssignmentRelationType>
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
description
(String value) documentation
(String value) <X> X
end()
boolean
holderArchetypeRef
(String oid, QName type) holderArchetypeRef
(String oid, QName type, QName relation) holderType
(QName value) void
setDescription
(String value) void
setDocumentation
(String value) Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, 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, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
Field Details
-
COMPLEX_TYPE
-
F_DESCRIPTION
-
F_DOCUMENTATION
-
F_HOLDER_TYPE
-
F_HOLDER_ARCHETYPE_REF
-
F_RELATION
-
FACTORY
-
-
Constructor Details
-
AssignmentRelationType
public AssignmentRelationType() -
AssignmentRelationType
Deprecated.
-
-
Method Details
-
getDescription
-
setDescription
-
getDocumentation
-
setDocumentation
-
getHolderType
-
getHolderArchetypeRef
-
getRelation
-
equals
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
-
description
-
documentation
-
holderType
-
holderArchetypeRef
-
holderArchetypeRef
-
holderArchetypeRef
-
beginHolderArchetypeRef
-
relation
-
end
public <X> X end() -
clone
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-