Class AssignmentRelationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentRelationType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class AssignmentRelationType extends Object implements Serializable, Cloneable, Containerable
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 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). </p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 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). </p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 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. </p>
Java class for AssignmentRelationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AssignmentRelationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}documentation" minOccurs="0"/> <element name="holderType" type="{http://www.w3.org/2001/XMLSchema}QName" maxOccurs="unbounded" minOccurs="0"/> <element name="holderArchetypeRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/> <element name="relation" type="{http://www.w3.org/2001/XMLSchema}QName" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_DESCRIPTION
static ItemName
F_DOCUMENTATION
static ItemName
F_HOLDER_ARCHETYPE_REF
static ItemName
F_HOLDER_TYPE
static ItemName
F_RELATION
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description AssignmentRelationType()
AssignmentRelationType(PrismContext prismContext)
-
Method Summary
-
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_DESCRIPTION
public static final ItemName F_DESCRIPTION
-
F_DOCUMENTATION
public static final ItemName F_DOCUMENTATION
-
F_HOLDER_TYPE
public static final ItemName F_HOLDER_TYPE
-
F_HOLDER_ARCHETYPE_REF
public static final ItemName F_HOLDER_ARCHETYPE_REF
-
F_RELATION
public static final ItemName F_RELATION
-
-
Constructor Detail
-
AssignmentRelationType
public AssignmentRelationType()
-
AssignmentRelationType
public AssignmentRelationType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
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
-
end
public <X> X end()
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String value)
-
getDocumentation
public String getDocumentation()
-
setDocumentation
public void setDocumentation(String value)
-
getHolderArchetypeRef
public List<ObjectReferenceType> getHolderArchetypeRef()
-
createHolderArchetypeRefList
public List<ObjectReferenceType> createHolderArchetypeRefList()
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
description
public AssignmentRelationType description(String value)
-
documentation
public AssignmentRelationType documentation(String value)
-
holderType
public AssignmentRelationType holderType(QName value)
-
holderArchetypeRef
public AssignmentRelationType holderArchetypeRef(ObjectReferenceType value)
-
holderArchetypeRef
public AssignmentRelationType holderArchetypeRef(String oid, QName type)
-
holderArchetypeRef
public AssignmentRelationType holderArchetypeRef(String oid, QName type, QName relation)
-
beginHolderArchetypeRef
public ObjectReferenceType beginHolderArchetypeRef()
-
relation
public AssignmentRelationType relation(QName value)
-
id
public AssignmentRelationType id(Long value)
-
clone
public AssignmentRelationType clone()
-
-