Class: Newsmlg2::ItemSet

Inherits:
NarModel
  • Object
show all
Includes:
Base::CommonPowerAttributes
Defined in:
lib/newsmlg2/items/news_message.rb

Overview

The set of items to be exchanged. The XSD models itemSet content as xs:any over NewsML-G2 items; each carried item type is mapped with its own element rule and a registry-resolved symbol type (the plurimath/mml CommonElements pattern — element names live only in this DSL).

Instance Method Summary collapse

Methods included from Base::CommonPowerAttributes

included

Instance Method Details

#itemsObject

All carried items (grouped by item type — the model keeps per-type collections, as lutaml-model mappings are name-keyed).



127
128
129
130
# File 'lib/newsmlg2/items/news_message.rb', line 127

def items
  news_items + package_items + concept_items + knowledge_items +
    catalog_items + planning_items + news_messages
end