xmi 0.3.11 → 0.3.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,149 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Xmi
4
+ module TheCustomProfile
5
+ class Bibliography < Lutaml::Model::Serializable
6
+ attribute :base_class, :string
7
+
8
+ xml do
9
+ root "Bibliography"
10
+ namespace "http://www.sparxsystems.com/profiles/thecustomprofile/1.0", "thecustomprofile"
11
+
12
+ map_attribute "base_Class", to: :base_class
13
+ end
14
+ end
15
+
16
+ class BasicDoc < Lutaml::Model::Serializable
17
+ attribute :base_class, :string
18
+
19
+ xml do
20
+ root "BasicDoc"
21
+ namespace "http://www.sparxsystems.com/profiles/thecustomprofile/1.0", "thecustomprofile"
22
+
23
+ map_attribute "base_Class", to: :base_class
24
+ end
25
+ end
26
+
27
+ class Enumeration < Lutaml::Model::Serializable
28
+ attribute :base_enumeration, :string
29
+
30
+ xml do
31
+ root "enumeration"
32
+ namespace "http://www.sparxsystems.com/profiles/thecustomprofile/1.0", "thecustomprofile"
33
+
34
+ map_attribute "base_Enumeration", to: :base_enumeration
35
+ end
36
+ end
37
+
38
+ class Ocl < Lutaml::Model::Serializable
39
+ attribute :base_constraint, :string
40
+
41
+ xml do
42
+ root "OCL"
43
+ namespace "http://www.sparxsystems.com/profiles/thecustomprofile/1.0", "thecustomprofile"
44
+
45
+ map_attribute "base_Constraint", to: :base_constraint
46
+ end
47
+ end
48
+
49
+ class Invariant < Lutaml::Model::Serializable
50
+ attribute :base_constraint, :string
51
+
52
+ xml do
53
+ root "invariant"
54
+ namespace "http://www.sparxsystems.com/profiles/thecustomprofile/1.0", "thecustomprofile"
55
+
56
+ map_attribute "base_Constraint", to: :base_constraint
57
+ end
58
+ end
59
+
60
+ class PublicationDate < Lutaml::Model::Serializable
61
+ attribute :base_package, :string
62
+ attribute :publication_date, :string
63
+
64
+ xml do
65
+ root "publicationDate"
66
+ namespace "http://www.sparxsystems.com/profiles/thecustomprofile/1.0", "thecustomprofile"
67
+
68
+ map_attribute "base_Package", to: :base_package
69
+ map_attribute "publicationDate", to: :publication_date
70
+ end
71
+ end
72
+
73
+ class Edition < Lutaml::Model::Serializable
74
+ attribute :base_package, :string
75
+ attribute :edition, :string
76
+
77
+ xml do
78
+ root "edition"
79
+ namespace "http://www.sparxsystems.com/profiles/thecustomprofile/1.0", "thecustomprofile"
80
+
81
+ map_attribute "base_Package", to: :base_package
82
+ map_attribute "edition", to: :edition
83
+ end
84
+ end
85
+
86
+ class Number < Lutaml::Model::Serializable
87
+ attribute :base_package, :string
88
+ attribute :number, :string
89
+
90
+ xml do
91
+ root "number"
92
+ namespace "http://www.sparxsystems.com/profiles/thecustomprofile/1.0", "thecustomprofile"
93
+
94
+ map_attribute "base_Package", to: :base_package
95
+ map_attribute "number", to: :number
96
+ end
97
+ end
98
+
99
+ class YearVersion < Lutaml::Model::Serializable
100
+ attribute :base_package, :string
101
+ attribute :year_version, :string
102
+
103
+ xml do
104
+ root "yearVersion"
105
+ namespace "http://www.sparxsystems.com/profiles/thecustomprofile/1.0", "thecustomprofile"
106
+
107
+ map_attribute "base_Package", to: :base_package
108
+ map_attribute "yearVersion", to: :year_version
109
+ end
110
+ end
111
+
112
+ class Informative < Lutaml::Model::Serializable
113
+ attribute :base_package, :string
114
+
115
+ xml do
116
+ root "informative"
117
+ namespace "http://www.sparxsystems.com/profiles/thecustomprofile/1.0", "thecustomprofile"
118
+
119
+ map_attribute "base_Package", to: :base_package
120
+ end
121
+ end
122
+
123
+ class Persistence < Lutaml::Model::Serializable
124
+ attribute :base_class, :string
125
+ attribute :base_enumeration, :string
126
+ attribute :persistence, :string
127
+
128
+ xml do
129
+ root "persistence"
130
+ namespace "http://www.sparxsystems.com/profiles/thecustomprofile/1.0", "thecustomprofile"
131
+
132
+ map_attribute "base_Class", to: :base_class
133
+ map_attribute "base_Enumeration", to: :base_enumeration
134
+ map_attribute "persistence", to: :persistence
135
+ end
136
+ end
137
+
138
+ class Abstract < Lutaml::Model::Serializable
139
+ attribute :base_class, :string
140
+
141
+ xml do
142
+ root "Abstract"
143
+ namespace "http://www.sparxsystems.com/profiles/thecustomprofile/1.0", "thecustomprofile"
144
+
145
+ map_attribute "base_Class", to: :base_class
146
+ end
147
+ end
148
+ end
149
+ end