# LensContextType (Complex Type)

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

A serialization of model context, i.e. a context of an operation in the model. In particular, this type is storing data for LensContext class.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
requestIdentifier | property string | [1,1] | Unique identifier of a request (operation).
state | property ModelStateType | [1,1] | TODO
channel | property anyURI | [0,1] | TODO
focusContext | container LensFocusContextType | [0,1] | TODO
projectionContext | container LensProjectionContextType | [0,-1] | TODO
focusClass | property string | [0,1] | TODO
projectionClass | property string | [0,1] | TODO
doReconciliationForAllProjections | property boolean | [0,1] | True if we want to reconcile all accounts in this context.
executionPhaseOnly | property boolean | [0,1] | If set to true then all operations are considered to be in execution phase - for the purpose of authorizations and auditing.
projectionWave | property int | [0,1] | Current wave of computation and execution.
executionWave | property int | [0,1] | Current wave of execution.
options | container ModelExecuteOptionsType | [0,1] | TODO
lazyAuditRequest | property boolean | [0,1] |
requestAudited | property boolean | [0,1] |
executionAudited | property boolean | [0,1] |
requestAuthorized | property boolean | [0,1] |
stats | property LensContextStatsType | [0,1] |
rottenExecutedDeltas | property LensObjectDeltaOperationType | [0,-1] | TODO
requestMetadata | container MetadataType | [0,1] | Metadata of the request.
ownerOid | property string | [0,1] | OID of the context owner.

- ### Items

  - #### requestIdentifier

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Unique identifier of a request (operation).

  - #### state

    Flags: RAM,runtime,AVals:6

    Multiplicity: [1,1]

    TODO

  - #### channel

    Flags: RAM,runtime

    Multiplicity: [0,1]

    TODO

  - #### focusContext

    Flags: RAM,runtime

    Multiplicity: [0,1]

    TODO

  - #### projectionContext

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    TODO

  - #### focusClass

    Flags: RAM,runtime

    Multiplicity: [0,1]

    TODO

  - #### projectionClass

    Flags: RAM,runtime

    Multiplicity: [0,1]

    TODO

  - #### doReconciliationForAllProjections

    Flags: RAM,runtime

    Multiplicity: [0,1]

    True if we want to reconcile all accounts in this context.

  - #### executionPhaseOnly

    Flags: RAM,runtime

    Multiplicity: [0,1]

    If set to true then all operations are considered to be in execution phase - for the purpose of authorizations and auditing. This is used in case that the whole operation (context) is a secondary change, e.g. in case that persona is provisioned.

  - #### projectionWave

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Current wave of computation and execution.

  - #### executionWave

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Current wave of execution.

  - #### options

    Flags: RAM,runtime

    Multiplicity: [0,1]

    TODO

  - #### lazyAuditRequest

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### requestAudited

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### executionAudited

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### requestAuthorized

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### stats

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### rottenExecutedDeltas

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    TODO

  - #### requestMetadata

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    Metadata of the request. Metadata recorded when the operation has started. Currently only the requestTimestamp and requestorRef are meaningful. But later other metadata may be used.

  - #### ownerOid

    Flags: RAM,runtime

    Multiplicity: [0,1]

    OID of the context owner. This is currently used with personas. This is the owner of a created or modified persona.