# ShadowAssociationTypeSubjectDefinitionType (Complex Type)

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

Supertype: ShadowAssociationTypeParticipantDefinitionType
Definition of the "subject" participant of the association type.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
ref | property QName | [0,1] | If the association has more than one object, this property points to the one which we define here.
objectType | container ResourceObjectTypeIdentificationType | [0,-1] | Resource object type or types that are allowed to participate in this association.
association | container ShadowAssociationDefinitionType | [0,1] | The definition of the association as seen by this participant.

- ### Items

  - #### ref

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    If the association has more than one object, this property points to the one which we define here. Unnecessary for simple associations. Please leave undefined for subject definitions.

  - #### objectType

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Display order:

    Resource object type or types that are allowed to participate in this association. (Abstract types are not supported here for now.)

    For subjects: selects object types onto which this association type definition should be applied. (The behavior for types not covered is to be decided - TODO.)

    If not specified: it is applied to all subjects.

    For objects: hides non-matching reference values.

    If not specified: no reference values are hidden, beyond what is provided by the reference type definition (native or simulated).

  - #### association

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    The definition of the association as seen by this participant.