# LensProjectionContextType (Complex Type)

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

Supertype: LensElementContextType
TODO

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
objectOldRef | reference ObjectReferenceType | [0,1] |
objectCurrentRef | reference ObjectReferenceType | [0,1] |
objectNewRef | reference ObjectReferenceType | [0,1] |
primaryDelta | property ObjectDeltaType | [0,1] | TODO
secondaryDelta | property ObjectDeltaType | [0,1] | TODO
executedDeltas | property LensObjectDeltaOperationType | [0,-1] | TODO
objectTypeClass | property string | [0,1] | TODO
oid | property string | [0,1] | TODO
iteration | property int | [0,1] | TODO
iterationToken | property string | [0,1] | TODO
synchronizationIntent | property SynchronizationIntentType | [0,1] | Initial intent regarding the account.
fresh | property boolean | [0,1] | For diagnostics only.
syncDelta | property ObjectDeltaType | [0,1] | TODO
syncAbsoluteTrigger | property boolean | [0,1] | TODO
wave | property int | [0,1] | The wave in which this resource should be processed.
completed | property boolean | [0,1] | Was the processing of this projection (in its execution wave) complete?
resourceShadowDiscriminator | container ShadowDiscriminatorType | [0,1] | Definition of account type.
fullShadow | property boolean | [0,1] | TODO
isAssigned | property boolean | [0,1] | True if the account is "legal" (assigned to the user).
isAssignedOld | property boolean | [0,1] | "Old" version of isAssigned.
isActive | property boolean | [0,1] | True if the account should be part of the synchronization.
isLegal | property boolean | [0,1] | True if there is a valid assignment for this projection and/or the policy allows such projection to exist.
isLegalOld | property boolean | [0,1] | True if there is a valid assignment for this projection and/or the policy allows such projection to exist.
isExists | property boolean | [0,1] | TODO
synchronizationPolicyDecision | property SynchronizationPolicyDecisionType | [0,1] | Decision regarding the account.
doReconciliation | property boolean | [0,1] | True if we want to reconcile account in this context.
synchronizationSituationDetected | property SynchronizationSituationType | [0,1] | TODO
synchronizationSituationResolved | property SynchronizationSituationType | [0,1] | TODO
projectionSecurityPolicyRef | reference ObjectReferenceType | [0,1] |
accountPasswordPolicyRef | reference ObjectReferenceType | [0,1] |

- ### Items

  - #### objectOldRef

    Flags: RAM,composite

    Multiplicity: [0,1]

    Display order:

  - #### objectCurrentRef

    Flags: RAM,composite

    Multiplicity: [0,1]

    Display order:

  - #### objectNewRef

    Flags: RAM,composite

    Multiplicity: [0,1]

    Display order:

  - #### primaryDelta

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    TODO

  - #### secondaryDelta

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    TODO

  - #### executedDeltas

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Display order:

    TODO

  - #### objectTypeClass

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    TODO

  - #### oid

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    TODO

  - #### iteration

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    TODO

  - #### iterationToken

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    TODO

  - #### synchronizationIntent

    Flags: RAM,runtime,AVals:5

    Multiplicity: [0,1]

    Display order:

    Initial intent regarding the account. It indicated what the initiator of the operation WANTS TO DO with the context. If set to null then the decision is left to "the engine". Null is also a typical value when the context is created. It may be pre-set under some circumstances, e.g. if an account is being unlinked.

  - #### fresh

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    For diagnostics only. (Is not unwrapped.)

  - #### syncDelta

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    TODO

  - #### syncAbsoluteTrigger

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    TODO

  - #### wave

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    The wave in which this resource should be processed. Initial value of -1 means "undetermined".

  - #### completed

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Was the processing of this projection (in its execution wave) complete?

  - #### resourceShadowDiscriminator

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Definition of account type.

  - #### fullShadow

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    TODO

  - #### isAssigned

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    True if the account is "legal" (assigned to the user). It may be false for accounts that are either found to be illegal by live sync, were unassigned from user, etc. If set to null the situation is not yet known. Null is a typical value when the context is constructed.

  - #### isAssignedOld

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    "Old" version of isAssigned.

  - #### isActive

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    True if the account should be part of the synchronization. E.g. outbound expression should be applied to it.

  - #### isLegal

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    True if there is a valid assignment for this projection and/or the policy allows such projection to exist.

  - #### isLegalOld

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    True if there is a valid assignment for this projection and/or the policy allows such projection to exist.

  - #### isExists

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    TODO

  - #### synchronizationPolicyDecision

    Flags: RAM,runtime,AVals:5

    Multiplicity: [0,1]

    Display order:

    Decision regarding the account. It indicated what the engine has DECIDED TO DO with the context. If set to null no decision was made yet. Null is also a typical value when the context is created.

  - #### doReconciliation

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    True if we want to reconcile account in this context.

  - #### synchronizationSituationDetected

    Flags: RAM,runtime,AVals:5

    Multiplicity: [0,1]

    Display order:

    TODO

  - #### synchronizationSituationResolved

    Flags: RAM,runtime,AVals:5

    Multiplicity: [0,1]

    Display order:

    TODO

  - #### projectionSecurityPolicyRef

    Flags: RAM

    Multiplicity: [0,1]

    Display order:

  - #### accountPasswordPolicyRef

    Flags: RAM

    Multiplicity: [0,1]

    Display order: