# CollectionRefSpecificationType (Complex Type)

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

Supertype: CollectionSpecificationType
Specification of an explicit or implicit object collection (including reference to the collection).

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
interpretation | property CollectionSpecificationInterpretationType | [0,1] | Method how implicit or explicit object collection should be interpreted.
relation | property QName | [0,1] | Relation parameter for collection interpretations that depend on relation.
depth | property CollectionSpecificationDepthType | [0,1] | Depth parameter for collection interpretations that allow distinction between direct and indirect relation.
collectionRef | reference ObjectReferenceType | [0,1] | Reference to an object that defines the base of implicit or explicit collection.
filter | property SearchFilterType | [0,1] | Filter for objectType.
baseCollectionRef | container CollectionRefSpecificationType | [0,1] | Reference to an object that defines the base of implicit or explicit collection.

- ### Items

  - #### interpretation

    Flags: RAM,runtime,AVals:4

    Multiplicity: [0,1]

    Display order:

    Method how implicit or explicit object collection should be interpreted.

    If no interpretation is defined then the interpretation depends on the type of object referenced in collectionRef. The default favors "native", the most specific interpretation. Therefore if collectionRef points to an archetype then "archetype" interpretation is assumed. Similarly for orgs and collections where "org" and "explicit" interpretations are assumed. For roles and services only "assignment" interpretation is possible.

  - #### relation

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Relation parameter for collection interpretations that depend on relation.

  - #### depth

    Flags: RAM,runtime,AVals:2

    Multiplicity: [0,1]

    Display order:

    Depth parameter for collection interpretations that allow distinction between direct and indirect relation.

  - #### collectionRef

    Flags: RAM

    Multiplicity: [0,1]

    Display order: 10

    Reference to an object that defines the base of implicit or explicit collection. This may be ObjectCollectionType or any subclass of AbstractRoleType.

  - #### filter

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Filter for objectType. This filter can be used instead of reference of collection.

  - #### baseCollectionRef

    Flags: elaborate,RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Reference to an object that defines the base of implicit or explicit collection. This may be ObjectCollectionType or any subclass of AbstractRoleType. This collection is merge with filter.