Sha256: 77c95eac2a3f82ea2bf78f51cfeab02add7f4ba822e539e6636f13f83c7ffc92
Contents?: true
Size: 1.28 KB
Versions: 1
Compression:
Stored size: 1.28 KB
Contents
require "lutaml/model" module Reqif class Definition < Lutaml::Model::Serializable attribute :attribute_definition_boolean_ref, :string attribute :attribute_definition_date_ref, :string attribute :attribute_definition_enumeration_ref, :string attribute :attribute_definition_integer_ref, :string attribute :attribute_definition_real_ref, :string attribute :attribute_definition_string_ref, :string attribute :attribute_definition_xhtml_ref, :string xml do root "DEFINITION" namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF" # TODO: Only one of these values can be active at the same time map_element "ATTRIBUTE-DEFINITION-BOOLEAN-REF", to: :attribute_definition_boolean_ref map_element "ATTRIBUTE-DEFINITION-DATE-REF", to: :attribute_definition_date_ref map_element "ATTRIBUTE-DEFINITION-ENUMERATION-REF", to: :attribute_definition_enumeration_ref map_element "ATTRIBUTE-DEFINITION-INTEGER-REF", to: :attribute_definition_integer_ref map_element "ATTRIBUTE-DEFINITION-REAL-REF", to: :attribute_definition_real_ref map_element "ATTRIBUTE-DEFINITION-STRING-REF", to: :attribute_definition_string_ref map_element "ATTRIBUTE-DEFINITION-XHTML-REF", to: :attribute_definition_xhtml_ref end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reqif-0.1.0 | lib/reqif/definition.rb |