# SimulatedReferenceTypeDefinitionType (Complex Type)

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

Definition of a simulated reference type.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
name | property QName | [1,1] | The name of the reference type.
subject | container SimulatedReferenceTypeParticipantType | [1,1] | Definition of the "subject" side of this reference type.
object | container SimulatedReferenceTypeParticipantType | [1,1] | Definition of the "subject" side of this reference type.
direction | property ResourceObjectAssociationDirectionType | [1,1] | Direction of the primary binding.
explicitReferentialIntegrity | property boolean | [0,1] | Whether you require midPoint to provide referential integrity for this reference type.

- ### Items

  - #### name

    Flags: RAM,runtime

    Multiplicity: [1,1]

    The name of the reference type. The namespace must be empty or "ri:".

  - #### subject

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Definition of the "subject" side of this reference type. Typically, these are account-like kind of objects (e.g., user, inetOrgPerson, ...).

  - #### object

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Definition of the "subject" side of this reference type. Typically, these are entitlement-like kind of objects (e.g., group, organizationalUnit, ...).

  - #### direction

    Flags: RAM,runtime,AVals:2

    Multiplicity: [1,1]

    Direction of the primary binding. (This is the one denoted by "primaryBindingAttributeRef".)

  - #### explicitReferentialIntegrity

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Whether you require midPoint to provide referential integrity for this reference type. Used for resources that do not provide referential integrity by themselves, e.g. for OpenDJ with default settings (i.e. with referential integrity plugin turned off). For resources having referential integrity, e.g. for Active Directory, set this parameter to false.