Type of object represented by this context. It is declared when context is created,
so the actual type of the object can be its subtype. (Although this is quite unusual.)
"Old" state of the object i.e. the one that was present when the clockwork started.
It can be present on the beginning or filled-in during projector execution by the context loaded.
This value is used as an "old state" for resource object mappings (in constructions or resources),
persona mappings, notifications, policy rules, and so on.
"Current" state of the object i.e. the one that was present when the current clockwork click
started. It is typically filled-in by the context loader. For projections, it is usually the same
as the "old" state, as they are not updated iteratively but only once per clockwork run.
This value used as an "old state" for focus mappings (in object template or assigned ones).
INVARIANT: For LensProjectionContext the `shadowLifecycleState` must be present on this object
(if the object is not null).
Expected state of the object after application of currentDelta i.e. item deltas computed
during current projection: objectCurrent + currentDelta = objectNew.
Returns "any" value of the object (new, current, old). It is used when we are not interested in the details
but we want just "any" value, e.g. for reporting purposes.
Returns all policy rules that apply to this object - even those that were not triggered.
The policy rules are compiled from all the applicable sources (target, meta-roles, etc.)
isAdd
booleanisAdd()
Returns true if the object (focus or projection) is to be added.
isDelete
booleanisDelete()
Returns true if the object (focus or projection) is to be deleted.
Returns object delta valid for the current clockwork click. It is either primary delta merged with the current
secondary delta (if primary delta was not applied yet), or simply current secondary delta.
The returned object is (kind of) immutable. Changing it may do strange things, but most likely the changes will be lost.
Returns object delta comprising both primary delta and (all) secondary deltas, merged together.
The returned object is (kind of) immutable. Changing it may do strange things, but most likely the changes will be lost.
Returns all secondary deltas, merged together.
(Can take some time to compute. So use with care.)
The returned object is (kind of) immutable. Changing it may do strange things, but most likely the changes will be lost.
Returns true if the object (focus or projection) has given mark.
BEWARE! It relies on marks being present in the current state of the object, i.e. does not look at marks that
are eventually computed during the current operation.
Experimental.