Sha256: c83f5951fcbab922288c9066afdf6e7cdc45b3d5cff568ffcead2d8c645ef8b2
Contents?: true
Size: 1.71 KB
Versions: 1
Compression:
Stored size: 1.71 KB
Contents
require "lutaml/model" module Reqif class Type < Lutaml::Model::Serializable attribute :datatype_definition_boolean_ref, :string attribute :specification_type_ref, :string attribute :relation_group_type_ref, :string attribute :datatype_definition_date_ref, :string attribute :datatype_definition_enumeration_ref, :string attribute :datatype_definition_integer_ref, :string attribute :datatype_definition_real_ref, :string attribute :datatype_definition_string_ref, :string attribute :datatype_definition_xhtml_ref, :string attribute :spec_object_type_ref, :string attribute :spec_relation_type_ref, :string xml do root "TYPE" 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 "DATATYPE-DEFINITION-BOOLEAN-REF", to: :datatype_definition_boolean_ref map_element "SPECIFICATION-TYPE-REF", to: :specification_type_ref map_element "RELATION-GROUP-TYPE-REF", to: :relation_group_type_ref map_element "DATATYPE-DEFINITION-DATE-REF", to: :datatype_definition_date_ref map_element "DATATYPE-DEFINITION-ENUMERATION-REF", to: :datatype_definition_enumeration_ref map_element "DATATYPE-DEFINITION-INTEGER-REF", to: :datatype_definition_integer_ref map_element "DATATYPE-DEFINITION-REAL-REF", to: :datatype_definition_real_ref map_element "DATATYPE-DEFINITION-STRING-REF", to: :datatype_definition_string_ref map_element "DATATYPE-DEFINITION-XHTML-REF", to: :datatype_definition_xhtml_ref map_element "SPEC-OBJECT-TYPE-REF", to: :spec_object_type_ref map_element "SPEC-RELATION-TYPE-REF", to: :spec_relation_type_ref end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reqif-0.1.0 | lib/reqif/type.rb |