Class: Xmi::Sparx::SparxRoot2013

Inherits:
Root2013 show all
Includes:
SparxRootAttributes
Defined in:
lib/xmi/sparx.rb

Constant Summary collapse

@@default_mapping =

rubocop:disable Style/ClassVars

<<-MAP # rubocop:disable Style/ClassVars
      root "XMI"
      namespace "http://www.omg.org/spec/XMI/20131001", "xmi"

      map_attribute "id", to: :id
      map_attribute "label", to: :label
      map_attribute "uuid", to: :uuid
      map_attribute "href", to: :href
      map_attribute "idref", to: :idref
      map_attribute "type", to: :type

      map_element "Extension", to: :extension
      map_element "publicationDate", to: :publication_date,
      namespace: "http://www.sparxsystems.com/profiles/thecustomprofile/1.0",
      prefix: "thecustomprofile"
      map_element "edition", to: :edition,
                             namespace: "http://www.sparxsystems.com/profiles/thecustomprofile/1.0",
                             prefix: "thecustomprofile"
      map_element "number", to: :number,
                            namespace: "http://www.sparxsystems.com/profiles/thecustomprofile/1.0",
                            prefix: "thecustomprofile"
      map_element "yearVersion", to: :year_version,
  namespace: "http://www.sparxsystems.com/profiles/thecustomprofile/1.0",
  prefix: "thecustomprofile"
      map_element "ModelicaParameter", to: :modelica_parameter,
        namespace: "http://www.sparxsystems.com/profiles/SysPhS/1.0",

Method Summary

Methods included from SparxRootAttributes

included

Methods included from RootAttributes

included

Methods inherited from Shale::Mapper

#type?