Class: Hecks::Runtime::EntityInterpreter::Context
- Inherits:
-
Struct
- Object
- Struct
- Hecks::Runtime::EntityInterpreter::Context
- Defined in:
- lib/hecks/runtime/entity_interpreter.rb
Overview
instance is the PARENT aggregate record (what gets saved and
returned) ; element/view are the entity piece itself — view
wraps element as it stood at locate_element, pre-mutation, and
enforce_ensures builds its own settled wrapper off element as it
stands after, the same split the original sequential code made.
chain — S17, ADR 0026 — every entity the dotted verb passes
through, root-first ([Handler, Dispatch] for Handler.Dispatch. Bind) ; entity/entity_name stay the CHAIN'S OWN LAST entry,
the one a command actually belongs to and a mutation actually
targets, so every step written before this ADR (enforce_givens,
apply_mutations, advance_lifecycle, element_identity, ...) reads
exactly as it always has. Only locate_element walks the chain.
Instance Attribute Summary collapse
-
#aggregate ⇒ Object
Returns the value of attribute aggregate.
-
#args ⇒ Object
Returns the value of attribute args.
-
#chain ⇒ Object
Returns the value of attribute chain.
-
#command ⇒ Object
Returns the value of attribute command.
-
#command_name ⇒ Object
Returns the value of attribute command_name.
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#dry_run ⇒ Object
Returns the value of attribute dry_run.
-
#element ⇒ Object
Returns the value of attribute element.
-
#entity ⇒ Object
Returns the value of attribute entity.
-
#entity_name ⇒ Object
Returns the value of attribute entity_name.
-
#instance ⇒ Object
Returns the value of attribute instance.
-
#old_element ⇒ Object
Returns the value of attribute old_element.
-
#persistence_outcome ⇒ Object
Returns the value of attribute persistence_outcome.
-
#plan ⇒ Object
Returns the value of attribute plan.
-
#repository ⇒ Object
Returns the value of attribute repository.
-
#result ⇒ Object
Returns the value of attribute result.
-
#route ⇒ Object
Returns the value of attribute route.
-
#transition ⇒ Object
Returns the value of attribute transition.
-
#view ⇒ Object
Returns the value of attribute view.
Instance Attribute Details
#aggregate ⇒ Object
Returns the value of attribute aggregate
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def aggregate @aggregate end |
#args ⇒ Object
Returns the value of attribute args
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def args @args end |
#chain ⇒ Object
Returns the value of attribute chain
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def chain @chain end |
#command ⇒ Object
Returns the value of attribute command
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def command @command end |
#command_name ⇒ Object
Returns the value of attribute command_name
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def command_name @command_name end |
#domain ⇒ Object
Returns the value of attribute domain
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def domain @domain end |
#dry_run ⇒ Object
Returns the value of attribute dry_run
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def dry_run @dry_run end |
#element ⇒ Object
Returns the value of attribute element
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def element @element end |
#entity ⇒ Object
Returns the value of attribute entity
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def entity @entity end |
#entity_name ⇒ Object
Returns the value of attribute entity_name
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def entity_name @entity_name end |
#instance ⇒ Object
Returns the value of attribute instance
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def instance @instance end |
#old_element ⇒ Object
Returns the value of attribute old_element
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def old_element @old_element end |
#persistence_outcome ⇒ Object
Returns the value of attribute persistence_outcome
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def persistence_outcome @persistence_outcome end |
#plan ⇒ Object
Returns the value of attribute plan
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def plan @plan end |
#repository ⇒ Object
Returns the value of attribute repository
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def repository @repository end |
#result ⇒ Object
Returns the value of attribute result
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def result @result end |
#route ⇒ Object
Returns the value of attribute route
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def route @route end |
#transition ⇒ Object
Returns the value of attribute transition
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def transition @transition end |
#view ⇒ Object
Returns the value of attribute view
46 47 48 |
# File 'lib/hecks/runtime/entity_interpreter.rb', line 46 def view @view end |