Sha256: 96db449118ce91aff4ea1d3c40c7c30698babec155b9839527e32dd68cad1217
Contents?: true
Size: 749 Bytes
Versions: 1
Compression:
Stored size: 749 Bytes
Contents
require "lutaml/model" module Reqif class SpecTypes < Lutaml::Model::Serializable attribute :relation_group_type, RelationGroupType, collection: true attribute :spec_object_type, SpecObjectType, collection: true attribute :spec_relation_type, SpecRelationType, collection: true attribute :specification_type, SpecificationType, collection: true xml do root "SPEC-TYPES" namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF" map_element "RELATION-GROUP-TYPE", to: :relation_group_type map_element "SPEC-OBJECT-TYPE", to: :spec_object_type map_element "SPEC-RELATION-TYPE", to: :spec_relation_type map_element "SPECIFICATION-TYPE", to: :specification_type end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reqif-0.1.0 | lib/reqif/spec_types.rb |