# LinkTargetObjectSelectorType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Supertype: LinkedObjectSelectorType
Selects objects among link targets (for this object). EXPERIMENTAL

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
name | property string | [0,1] | Name of the selector (for troubleshooting).
description | property string | [0,1] |
documentation | property string | [0,1] | Technical documentation for a particular object or construct.
parent | container ObjectParentSelectorType | [0,1] | Requirements on the parent (owning) object + the position (path) of this object within the parent one.
type | property QName | [0,1] | Type of the object to select.
subtype | property string | [0,1] | Subtype of the object to select.
archetypeRef | reference ObjectReferenceType | [0,-1] | Archetype of the object to select.
orgRef | reference ObjectReferenceType | [0,1] | Top node of an organizational hierarchy.
filter | property SearchFilterType | [0,1] | Filter that an object must match to be considered selected by this statement.
relation | property QName | [0,-1] | Link matches if it has any of the relation specified.
changeSituation | property LinkChangeSituationType | [0,1] | In what situations (change-related) does the link match?
linkType | property string | [0,1] | Name of the link type.
matchesRuleAssignment | property boolean | [0,1] | The link target is related to the assignment that brought this policy rule to the focus object.
matchesConstraint | property boolean | [0,1] | The link target was matched by some constraint in this policy rule (e.

- ### Items

  - #### name

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Name of the selector (for troubleshooting).

  - #### description

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### documentation

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Technical documentation for a particular object or construct.

    The purpose of this element is to document system configuration and behavior. The documentation will not be presented to end users. In fact, it will probably not be presented at all in midPoint user interface. This documentation element is supposed to be a part of the technical documentation of midPoint deployment. The tools than generate deployment configuration will look for these elements and combine them to compiled documentation document.

    AsciiDoc formatting is assumed for this element. Any leading or trailing whitespace is skipped. Indentation equivalent to he indentation of the first non-blank line of text is also skipped.

  - #### parent

    Flags: elaborate,RAM,runtime

    Multiplicity: [0,1]

    Requirements on the parent (owning) object + the position (path) of this object within the parent one.

  - #### type

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Type of the object to select.

  - #### subtype

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Subtype of the object to select.

  - #### archetypeRef

    Flags: RAM

    Multiplicity: [0,-1]

    Archetype of the object to select.

  - #### orgRef

    Flags: RAM

    Multiplicity: [0,1]

    Top node of an organizational hierarchy. All the subnodes (transitively, unlimited depth, excluding the top node) are considered selected.

  - #### filter

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Filter that an object must match to be considered selected by this statement. This filter MUST NOT contain organization unit clauses. It may only contain property clauses, logical operations and so on.

  - #### relation

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Link matches if it has any of the relation specified. (If no relation is specified, all links match.)

  - #### changeSituation

    Flags: RAM,runtime,AVals:7

    Multiplicity: [0,1]

    In what situations (change-related) does the link match?

  - #### linkType

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Name of the link type. Not to be mixed with other linked object selector items. EXPERIMENTAL. UNSTABLE. DO NOT USE.

  - #### matchesRuleAssignment

    Flags: RAM,runtime

    Multiplicity: [0,1]

    The link target is related to the assignment that brought this policy rule to the focus object. This setting can eliminate the need to specify linked targets e.g. via archetype, if the archetype itself brings this policy rule to the object. This filter is approximate only! First, it ignores relations (for now). Second, it ignores whether the assignment that brought this policy rule was really the one that become listed in (old/new) roleMembershipRef. So please do not use it if you need absolute precision.

  - #### matchesConstraint

    Flags: RAM,runtime

    Multiplicity: [0,1]

    The link target was matched by some constraint in this policy rule (e.g. assignment modification constraint has a target object equal to assignment target). This setting can eliminate the need to specify linked targets e.g. using archetype. Highly experimental, probably will be removed.