xmi 0.5.9 → 0.5.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop_todo.yml +6 -5
  3. data/Gemfile +0 -1
  4. data/lib/xmi/add.rb +1 -0
  5. data/lib/xmi/custom_profile/abstract.rb +1 -0
  6. data/lib/xmi/custom_profile/basic_doc.rb +1 -0
  7. data/lib/xmi/custom_profile/bibliography.rb +1 -0
  8. data/lib/xmi/custom_profile/edition.rb +1 -0
  9. data/lib/xmi/custom_profile/enumeration.rb +1 -0
  10. data/lib/xmi/custom_profile/informative.rb +1 -0
  11. data/lib/xmi/custom_profile/invariant.rb +1 -0
  12. data/lib/xmi/custom_profile/number.rb +1 -0
  13. data/lib/xmi/custom_profile/ocl.rb +1 -0
  14. data/lib/xmi/custom_profile/persistence.rb +1 -0
  15. data/lib/xmi/custom_profile/publication_date.rb +1 -0
  16. data/lib/xmi/custom_profile/year_version.rb +1 -0
  17. data/lib/xmi/delete.rb +1 -0
  18. data/lib/xmi/difference.rb +1 -0
  19. data/lib/xmi/documentation.rb +1 -0
  20. data/lib/xmi/extension.rb +1 -0
  21. data/lib/xmi/namespace/omg.rb +6 -0
  22. data/lib/xmi/replace.rb +1 -0
  23. data/lib/xmi/root.rb +3 -2
  24. data/lib/xmi/sparx/connector/appearance.rb +2 -0
  25. data/lib/xmi/sparx/connector/connector.rb +3 -0
  26. data/lib/xmi/sparx/connector/end_base.rb +5 -0
  27. data/lib/xmi/sparx/connector/end_constraint.rb +3 -0
  28. data/lib/xmi/sparx/connector/end_modifiers.rb +2 -0
  29. data/lib/xmi/sparx/connector/end_role.rb +2 -0
  30. data/lib/xmi/sparx/connector/end_style.rb +2 -0
  31. data/lib/xmi/sparx/connector/end_type.rb +2 -0
  32. data/lib/xmi/sparx/connector/labels.rb +2 -0
  33. data/lib/xmi/sparx/connector/model.rb +1 -0
  34. data/lib/xmi/sparx/connector/properties.rb +2 -0
  35. data/lib/xmi/sparx/custom_profile.rb +1 -0
  36. data/lib/xmi/sparx/diagram.rb +6 -0
  37. data/lib/xmi/sparx/ea_stub.rb +1 -0
  38. data/lib/xmi/sparx/ea_uml.rb +1 -0
  39. data/lib/xmi/sparx/element/association.rb +8 -0
  40. data/lib/xmi/sparx/element/attribute.rb +3 -0
  41. data/lib/xmi/sparx/element/bounds.rb +2 -0
  42. data/lib/xmi/sparx/element/code.rb +2 -0
  43. data/lib/xmi/sparx/element/containment.rb +2 -0
  44. data/lib/xmi/sparx/element/coords.rb +2 -0
  45. data/lib/xmi/sparx/element/documentation.rb +2 -0
  46. data/lib/xmi/sparx/element/element.rb +3 -0
  47. data/lib/xmi/sparx/element/extended_properties.rb +2 -0
  48. data/lib/xmi/sparx/element/flags.rb +2 -0
  49. data/lib/xmi/sparx/element/links.rb +2 -0
  50. data/lib/xmi/sparx/element/model.rb +2 -1
  51. data/lib/xmi/sparx/element/package_properties.rb +2 -0
  52. data/lib/xmi/sparx/element/paths.rb +2 -0
  53. data/lib/xmi/sparx/element/project.rb +2 -0
  54. data/lib/xmi/sparx/element/properties.rb +2 -0
  55. data/lib/xmi/sparx/element/stereotype.rb +2 -0
  56. data/lib/xmi/sparx/element/style.rb +2 -0
  57. data/lib/xmi/sparx/element/styleex.rb +2 -0
  58. data/lib/xmi/sparx/element/tag.rb +3 -0
  59. data/lib/xmi/sparx/element/times.rb +2 -0
  60. data/lib/xmi/sparx/element/xrefs.rb +2 -0
  61. data/lib/xmi/sparx/extension.rb +1 -0
  62. data/lib/xmi/sparx/gml/application_schema.rb +1 -0
  63. data/lib/xmi/sparx/gml/code_list.rb +1 -0
  64. data/lib/xmi/sparx/gml/data_type.rb +1 -0
  65. data/lib/xmi/sparx/gml/enumeration.rb +1 -0
  66. data/lib/xmi/sparx/gml/feature_type.rb +1 -0
  67. data/lib/xmi/sparx/gml/property.rb +1 -0
  68. data/lib/xmi/sparx/gml/type.rb +1 -0
  69. data/lib/xmi/sparx/gml/union.rb +1 -0
  70. data/lib/xmi/sparx/mappings/base_mapping.rb +1 -1
  71. data/lib/xmi/sparx/primitive_type.rb +2 -0
  72. data/lib/xmi/sparx/root.rb +1 -0
  73. data/lib/xmi/sparx/sys_ph_s.rb +1 -0
  74. data/lib/xmi/uml/annotated_element.rb +1 -0
  75. data/lib/xmi/uml/association_generalization.rb +1 -0
  76. data/lib/xmi/uml/bounds.rb +3 -2
  77. data/lib/xmi/uml/default_value.rb +5 -0
  78. data/lib/xmi/uml/diagram.rb +1 -0
  79. data/lib/xmi/uml/member_end.rb +1 -0
  80. data/lib/xmi/uml/owned_attribute.rb +1 -0
  81. data/lib/xmi/uml/owned_comment.rb +1 -0
  82. data/lib/xmi/uml/owned_element.rb +2 -1
  83. data/lib/xmi/uml/owned_end.rb +1 -2
  84. data/lib/xmi/uml/owned_literal.rb +1 -0
  85. data/lib/xmi/uml/owned_operation.rb +1 -0
  86. data/lib/xmi/uml/owned_parameter.rb +1 -0
  87. data/lib/xmi/uml/package_import.rb +1 -0
  88. data/lib/xmi/uml/packaged_element.rb +1 -0
  89. data/lib/xmi/uml/precondition.rb +1 -0
  90. data/lib/xmi/uml/profile.rb +1 -0
  91. data/lib/xmi/uml/profile_application.rb +1 -0
  92. data/lib/xmi/uml/specification.rb +1 -0
  93. data/lib/xmi/uml/type.rb +1 -0
  94. data/lib/xmi/uml/uml_model.rb +2 -1
  95. data/lib/xmi/v20110701.rb +1 -0
  96. data/lib/xmi/v20131001.rb +1 -0
  97. data/lib/xmi/v20161101.rb +1 -0
  98. data/lib/xmi/version.rb +1 -1
  99. data/xmi.gemspec +1 -1
  100. metadata +4 -4
@@ -4,11 +4,13 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Code < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :gentype, :string
8
9
  attribute :product_name, :string
9
10
 
10
11
  xml do
11
12
  root "code"
13
+ namespace ::Xmi::Namespace::Omg::Xmi
12
14
 
13
15
  map_attribute "gentype", to: :gentype
14
16
  map_attribute "product_name", to: :product_name
@@ -4,11 +4,13 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Containment < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :containment, :string
8
9
  attribute :position, :integer
9
10
 
10
11
  xml do
11
12
  root "containment"
13
+ namespace ::Xmi::Namespace::Omg::Xmi
12
14
 
13
15
  map_attribute "containment", to: :containment
14
16
  map_attribute "position", to: :position
@@ -4,11 +4,13 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Coords < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :ordered, :integer
8
9
  attribute :scale, :integer
9
10
 
10
11
  xml do
11
12
  root "coords"
13
+ namespace ::Xmi::Namespace::Omg::Xmi
12
14
 
13
15
  map_attribute "ordered", to: :ordered
14
16
  map_attribute "scale", to: :scale
@@ -4,10 +4,12 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Documentation < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :value, :string
8
9
 
9
10
  xml do
10
11
  root "documentation"
12
+ namespace ::Xmi::Namespace::Omg::Xmi
11
13
 
12
14
  map_attribute "value", to: :value
13
15
  end
@@ -4,6 +4,7 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Element < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :idref, ::Xmi::Type::XmiIdRef
8
9
  attribute :type, ::Xmi::Type::XmiType
9
10
  attribute :name, :string
@@ -25,6 +26,7 @@ module Xmi
25
26
 
26
27
  xml do
27
28
  root "element"
29
+ namespace ::Xmi::Namespace::Omg::Xmi
28
30
 
29
31
  map_attribute "idref", to: :idref
30
32
  map_attribute "type", to: :type
@@ -53,6 +55,7 @@ module Xmi
53
55
 
54
56
  xml do
55
57
  root "elements"
58
+ namespace ::Xmi::Namespace::Omg::Xmi
56
59
 
57
60
  map_element "element", to: :element, value_map: VALUE_MAP
58
61
  end
@@ -4,12 +4,14 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class ExtendedProperties < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :tagged, :string
8
9
  attribute :package_name, :string
9
10
  attribute :virtual_inheritance, :integer
10
11
 
11
12
  xml do
12
13
  root "extendedProperties"
14
+ namespace ::Xmi::Namespace::Omg::Xmi
13
15
 
14
16
  map_attribute "tagged", to: :tagged
15
17
  map_attribute "package_name", to: :package_name
@@ -4,6 +4,7 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Flags < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :is_controlled, :integer
8
9
  attribute :is_protected, :integer
9
10
  attribute :batch_save, :integer
@@ -14,6 +15,7 @@ module Xmi
14
15
 
15
16
  xml do
16
17
  root "flags"
18
+ namespace ::Xmi::Namespace::Omg::Xmi
17
19
 
18
20
  map_attribute "iscontrolled", to: :is_controlled
19
21
  map_attribute "isprotected", to: :is_protected
@@ -4,12 +4,14 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Links < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :association, Association, collection: true
8
9
  attribute :generalization, Generalization, collection: true
9
10
  attribute :note_link, NoteLink, collection: true
10
11
 
11
12
  xml do
12
13
  root "links"
14
+ namespace ::Xmi::Namespace::Omg::Xmi
13
15
 
14
16
  map_element "Association", to: :association, value_map: VALUE_MAP
15
17
  map_element "Generalization", to: :generalization,
@@ -4,6 +4,7 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Model < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :package, :string
8
9
  attribute :package2, :string
9
10
  attribute :tpos, :integer
@@ -12,7 +13,7 @@ module Xmi
12
13
 
13
14
  xml do
14
15
  root "model"
15
- namespace ::Xmi::Namespace::Omg::Uml
16
+ namespace ::Xmi::Namespace::Omg::Xmi
16
17
 
17
18
  map_attribute "package", to: :package
18
19
  map_attribute "package2", to: :package2
@@ -4,12 +4,14 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class PackageProperties < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :version, :string
8
9
  attribute :xmiver, :string
9
10
  attribute :tpos, :string
10
11
 
11
12
  xml do
12
13
  root "packagedproperties"
14
+ namespace ::Xmi::Namespace::Omg::Xmi
13
15
 
14
16
  map_attribute "version", to: :version
15
17
  map_attribute "xmiver", to: :xmiver
@@ -4,10 +4,12 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Paths < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :xmlpath, :string
8
9
 
9
10
  xml do
10
11
  root "paths"
12
+ namespace ::Xmi::Namespace::Omg::Xmi
11
13
 
12
14
  map_attribute "xmlpath", to: :xmlpath
13
15
  end
@@ -4,6 +4,7 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Project < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :author, :string
8
9
  attribute :version, :string
9
10
  attribute :phase, :string
@@ -14,6 +15,7 @@ module Xmi
14
15
 
15
16
  xml do
16
17
  root "project"
18
+ namespace ::Xmi::Namespace::Omg::Xmi
17
19
 
18
20
  map_attribute "author", to: :author
19
21
  map_attribute "version", to: :version
@@ -4,6 +4,7 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Properties < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :name, :string
8
9
  attribute :type, ::Xmi::Type::XmiType
9
10
  attribute :is_specification, :boolean
@@ -20,6 +21,7 @@ module Xmi
20
21
 
21
22
  xml do
22
23
  root "properties"
24
+ namespace ::Xmi::Namespace::Omg::Xmi
23
25
 
24
26
  map_attribute "name", to: :name
25
27
  map_attribute "type", to: :type
@@ -4,10 +4,12 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Stereotype < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :stereotype, :string
8
9
 
9
10
  xml do
10
11
  root "stereotype"
12
+ namespace ::Xmi::Namespace::Omg::Xmi
11
13
 
12
14
  map_attribute "stereotype", to: :stereotype
13
15
  end
@@ -4,10 +4,12 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Style < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :appearance, :string
8
9
 
9
10
  xml do
10
11
  root "style"
12
+ namespace ::Xmi::Namespace::Omg::Xmi
11
13
 
12
14
  map_attribute "appearance", to: :appearance
13
15
  end
@@ -4,10 +4,12 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Styleex < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :value, :string
8
9
 
9
10
  xml do
10
11
  root "styleex"
12
+ namespace ::Xmi::Namespace::Omg::Xmi
11
13
 
12
14
  map_attribute "value", to: :value
13
15
  end
@@ -4,6 +4,7 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Tag < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :id, ::Xmi::Type::XmiId
8
9
  attribute :name, :string
9
10
  attribute :value, :string
@@ -11,6 +12,7 @@ module Xmi
11
12
 
12
13
  xml do
13
14
  root "tag"
15
+ namespace ::Xmi::Namespace::Omg::Xmi
14
16
 
15
17
  map_attribute "id", to: :id
16
18
  map_attribute "name", to: :name
@@ -24,6 +26,7 @@ module Xmi
24
26
 
25
27
  xml do
26
28
  root "tags"
29
+ namespace ::Xmi::Namespace::Omg::Xmi
27
30
  map_element "tag", to: :tags, value_map: VALUE_MAP
28
31
  end
29
32
  end
@@ -4,6 +4,7 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Times < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :created, :string
8
9
  attribute :modified, :string
9
10
  attribute :last_load_date, :string
@@ -11,6 +12,7 @@ module Xmi
11
12
 
12
13
  xml do
13
14
  root "times"
15
+ namespace ::Xmi::Namespace::Omg::Xmi
14
16
 
15
17
  map_attribute "created", to: :created
16
18
  map_attribute "modified", to: :modified
@@ -4,10 +4,12 @@ module Xmi
4
4
  module Sparx
5
5
  module Element
6
6
  class Xrefs < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :value, :string
8
9
 
9
10
  xml do
10
11
  root "xrefs"
12
+ namespace ::Xmi::Namespace::Omg::Xmi
11
13
 
12
14
  map_attribute "value", to: :value
13
15
  end
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Sparx
5
5
  class Extension < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  include XmiIdentity::Attributes
7
8
 
8
9
  attribute :extender, :string
@@ -4,6 +4,7 @@ module Xmi
4
4
  module Sparx
5
5
  module Gml
6
6
  class ApplicationSchema < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :version, :string
8
9
  attribute :xsd_document, :string
9
10
  attribute :altered_xmlns, :string
@@ -4,6 +4,7 @@ module Xmi
4
4
  module Sparx
5
5
  module Gml
6
6
  class CodeList < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  include HasBaseClass
8
9
 
9
10
  attribute :as_dictionary, :string
@@ -4,6 +4,7 @@ module Xmi
4
4
  module Sparx
5
5
  module Gml
6
6
  class DataType < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  include HasCollectionProperties
8
9
 
9
10
  xml do
@@ -4,6 +4,7 @@ module Xmi
4
4
  module Sparx
5
5
  module Gml
6
6
  class Enumeration < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :base_enumeration, :string
8
9
 
9
10
  xml do
@@ -4,6 +4,7 @@ module Xmi
4
4
  module Sparx
5
5
  module Gml
6
6
  class FeatureType < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  include HasCollectionProperties
8
9
 
9
10
  attribute :by_value_property_type, :string
@@ -4,6 +4,7 @@ module Xmi
4
4
  module Sparx
5
5
  module Gml
6
6
  class Property < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :sequence_number, :string
8
9
  attribute :base_property, :string
9
10
  attribute :is_metadata, :string
@@ -4,6 +4,7 @@ module Xmi
4
4
  module Sparx
5
5
  module Gml
6
6
  class Type < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  include HasCollectionProperties
8
9
 
9
10
  xml do
@@ -4,6 +4,7 @@ module Xmi
4
4
  module Sparx
5
5
  module Gml
6
6
  class Union < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  include HasCollectionProperties
8
9
 
9
10
  xml do
@@ -33,7 +33,7 @@ module Xmi
33
33
  VM = ::Xmi::VALUE_MAP
34
34
 
35
35
  # Extension element containing Sparx EA-specific metadata
36
- map_element "Extension", to: :extension
36
+ map_element "Extension", to: :extension, form: :qualified
37
37
 
38
38
  # Modelica parameter elements (SysPhS profile)
39
39
  map_element "ModelicaParameter", to: :modelica_parameter
@@ -4,10 +4,12 @@ module Xmi
4
4
  module Sparx
5
5
  module PrimitiveType
6
6
  class PrimitiveTypes < Lutaml::Model::Serializable
7
+ skip_reference_registration
7
8
  attribute :packaged_element, Uml::PackagedElement, collection: true
8
9
 
9
10
  xml do
10
11
  root "primitivetypes"
12
+ namespace ::Xmi::Namespace::Omg::Xmi
11
13
 
12
14
  map_element "packagedElement", to: :packaged_element,
13
15
  value_map: VALUE_MAP
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Sparx
5
5
  class Root < ::Xmi::Root
6
+ skip_reference_registration
6
7
  attribute :modelica_parameter, SysPhS
7
8
 
8
9
  attribute :eauml_import, EaUml::Import, collection: true
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Sparx
5
5
  class SysPhS < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :base_package, :string
7
8
  attribute :name, :string
8
9
 
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class AnnotatedElement < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :idref, ::Xmi::Type::XmiIdRef
7
8
 
8
9
  xml do
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class AssociationGeneralization < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :type, ::Xmi::Type::XmiType
7
8
  attribute :id, ::Xmi::Type::XmiId
8
9
  attribute :general, :string
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class Bounds < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :type, ::Xmi::Type::XmiType
7
8
  attribute :id, ::Xmi::Type::XmiId
8
9
  attribute :x, :integer
@@ -12,7 +13,7 @@ module Xmi
12
13
 
13
14
  xml do
14
15
  root "bounds"
15
- namespace ::Xmi::Namespace::Omg::Uml
16
+ namespace ::Xmi::Namespace::Omg::UmlDi
16
17
 
17
18
  map_attribute "type", to: :type
18
19
  map_attribute "id", to: :id
@@ -31,7 +32,7 @@ module Xmi
31
32
 
32
33
  xml do
33
34
  root "waypoint"
34
- namespace ::Xmi::Namespace::Omg::Uml
35
+ namespace ::Xmi::Namespace::Omg::UmlDi
35
36
 
36
37
  map_attribute "type", to: :type
37
38
  map_attribute "id", to: :id
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class DefaultValue < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :type, ::Xmi::Type::XmiType
7
8
  attribute :id, ::Xmi::Type::XmiId
8
9
  attribute :value, :string
@@ -18,6 +19,8 @@ module Xmi
18
19
  end
19
20
 
20
21
  class UpperValue < DefaultValue
22
+ skip_reference_registration
23
+
21
24
  xml do
22
25
  root "upperValue"
23
26
  namespace ::Xmi::Namespace::Omg::Uml
@@ -29,6 +32,8 @@ module Xmi
29
32
  end
30
33
 
31
34
  class LowerValue < DefaultValue
35
+ skip_reference_registration
36
+
32
37
  xml do
33
38
  root "lowerValue"
34
39
  namespace ::Xmi::Namespace::Omg::Uml
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class Diagram < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :type, ::Xmi::Type::XmiType
7
8
  attribute :id, ::Xmi::Type::XmiId
8
9
  attribute :is_frame, :boolean
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class MemberEnd < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :idref, ::Xmi::Type::XmiIdRef
7
8
 
8
9
  xml do
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class OwnedAttribute < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :type, ::Xmi::Type::XmiType
7
8
  attribute :id, ::Xmi::Type::XmiId
8
9
  attribute :association, :string
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class OwnedComment < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :type, ::Xmi::Type::XmiType
7
8
  attribute :id, ::Xmi::Type::XmiId
8
9
  attribute :name, :string
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class OwnedElement < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :type, ::Xmi::Type::XmiType
7
8
  attribute :id, ::Xmi::Type::XmiId
8
9
  attribute :text, :string
@@ -15,7 +16,7 @@ module Xmi
15
16
 
16
17
  xml do
17
18
  root "ownedElement"
18
- namespace ::Xmi::Namespace::Omg::Uml
19
+ namespace ::Xmi::Namespace::Omg::UmlDi
19
20
 
20
21
  map_attribute "type", to: :type
21
22
  map_attribute "id", to: :id
@@ -3,11 +3,11 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class OwnedEnd < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :type, ::Xmi::Type::XmiType
7
8
  attribute :id, ::Xmi::Type::XmiId
8
9
  attribute :association, :string
9
10
  attribute :name, :string
10
- attribute :type_attr, :string
11
11
  attribute :uml_type, Uml::Type
12
12
  attribute :member_end, :string
13
13
  attribute :lower, :integer
@@ -23,7 +23,6 @@ module Xmi
23
23
  map_attribute "association", to: :association
24
24
  map_attribute "name", to: :name
25
25
  map_attribute "memberEnd", to: :member_end
26
- map_attribute "type", to: :type_attr
27
26
  map_attribute "lower", to: :lower
28
27
  map_attribute "upper", to: :upper
29
28
  map_attribute "isComposite", to: :is_composite
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class OwnedLiteral < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :type, ::Xmi::Type::XmiType
7
8
  attribute :id, ::Xmi::Type::XmiId
8
9
  attribute :name, :string
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class OwnedOperation < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :id, ::Xmi::Type::XmiId
7
8
  attribute :name, :string
8
9
  attribute :owned_parameter, OwnedParameter, collection: true
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class OwnedParameter < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :id, ::Xmi::Type::XmiId
7
8
  attribute :name, :string
8
9
  attribute :type, ::Xmi::Type::XmiType
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class ImportedPackage < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :href, :string
7
8
 
8
9
  xml do
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class PackagedElement < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :type, ::Xmi::Type::XmiType
7
8
  attribute :id, ::Xmi::Type::XmiId
8
9
  attribute :name, :string
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class Precondition < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :id, ::Xmi::Type::XmiId
7
8
  attribute :name, :string
8
9
  attribute :type, ::Xmi::Type::XmiType
@@ -20,6 +20,7 @@ module Xmi
20
20
  end
21
21
 
22
22
  class Profile < Lutaml::Model::Serializable
23
+ skip_reference_registration
23
24
  include ProfileAttributes
24
25
 
25
26
  attribute :owned_comment, OwnedComment, collection: true
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class ProfileApplicationAppliedProfile < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :type, ::Xmi::Type::XmiType
7
8
  attribute :href, :string
8
9
 
@@ -3,6 +3,7 @@
3
3
  module Xmi
4
4
  module Uml
5
5
  class Specification < Lutaml::Model::Serializable
6
+ skip_reference_registration
6
7
  attribute :id, ::Xmi::Type::XmiId
7
8
  attribute :type, ::Xmi::Type::XmiType
8
9
  attribute :language, :string