# ResourceObjectReferenceType (Complex Type)

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

Reference to a resource object. This reference has many properties that influence when and how to look for the object. We assume that the search for resource objects is quite expensive, therefore we will need to optimize the number of searches. We also want this reference to be "sticky", e.g. to survive resource object renames.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
objectClass | property QName | [0,1] | Specifies the object class of the referenced object.
filter | property SearchFilterType | [0,1] | The filter used to look for the object.
shadowRef | reference ObjectReferenceType | [0,1] | Reference to shadow that represents the resource object.
resolutionStrategy | property ResourceObjectReferenceResolutionStrategyType | [0,1] |
resolutionFrequency | property ResourceObjectReferenceResolutionFrequencyType | [0,1] |

- ### Items

  - #### objectClass

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Specifies the object class of the referenced object. This clause for objectClass may be omitted if it can be determined by other means.

  - #### filter

    Flags: RAM,runtime

    Multiplicity: [0,1]

    The filter used to look for the object. This filter does NOT need to contain clauses for resource. This will be automatically added by midpoint.

  - #### shadowRef

    Flags: RAM

    Multiplicity: [0,1]

    Reference to shadow that represents the resource object. If present, then it will be used directly. If not present then the search filter will be used to locate the shadow and the the result will be set to this reference.

  - #### resolutionStrategy

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]

  - #### resolutionFrequency

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]