Interface SectionRecord
- All Known Subinterfaces:
ConstantRecord,ItemRecord,MessageRecord
- All Known Implementing Classes:
FinalMessageRecord,InvalidConstantRecord,InvalidItemRecord,InvalidMessageRecord,ValidConstantRecord,ValidItemRecord,ValidMessageRecord
A sealed interface representing a validated record loaded from a structured
section of a language YAML file.
All SectionRecord implementations represent data modeled from one of the
three top-level sections in a language file:
MESSAGES– SeeMessageRecordITEMS– SeeItemRecordCONSTANTS– SeeConstantRecord
All implementations are validated on creation following a data-driven design pattern—they are considered safe and complete once constructed, and can be freely passed throughout the library without additional checks.
Usage
These records are typically retrieved through a repository and form the foundation for macro resolution or dynamic message construction.- See Also:
-
Method Summary
-
Method Details
-
key
RecordKey key()
-