Module: Stupidedi::Schema::Generation::Models
- Defined in:
- lib/stupidedi/schema/generation/models.rb
Overview
Plain-Ruby value objects mirroring the shape of the X12 standard data.
These are the seam between the input reader (Layer A) and the grammar generators (Layer B): the FlatFileReader populates them, the generators consume them. They carry no database or persistence concerns. Any source that builds objects responding to these methods can drive the generators.
The reader always populates every field (collections default to []), so the structs need no custom initializers — keeping them compatible across the supported Ruby range (2.6+).
Defined Under Namespace
Classes: ComponentUse, Element, ElementCode, ElementUse, LoopDefinition, Release, Segment, SegmentUse, SyntaxNote, TableDefinition, TransactionSet