xmi 0.3.9 → 0.3.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (379) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.rubocop.yml +1 -1
  4. data/README.adoc +3 -3
  5. data/lib/xmi/ea_root.rb +2 -8
  6. data/lib/xmi/root.rb +0 -22
  7. data/lib/xmi/sparx.rb +35 -110
  8. data/lib/xmi/uml.rb +4 -169
  9. data/lib/xmi/version.rb +1 -1
  10. data/lib/xmi.rb +0 -1
  11. metadata +2 -370
  12. data/lib/xmi/root13.rb +0 -44
  13. data/lib/xmi/uml13/abstraction.rb +0 -155
  14. data/lib/xmi/uml13/action.rb +0 -148
  15. data/lib/xmi/uml13/action_sequence.rb +0 -132
  16. data/lib/xmi/uml13/action_sequenceaction.rb +0 -40
  17. data/lib/xmi/uml13/action_sequencestate.rb +0 -16
  18. data/lib/xmi/uml13/action_sequencestate2.rb +0 -16
  19. data/lib/xmi/uml13/action_sequencetransition.rb +0 -16
  20. data/lib/xmi/uml13/action_state.rb +0 -153
  21. data/lib/xmi/uml13/actionaction_sequence.rb +0 -16
  22. data/lib/xmi/uml13/actionactual_argument.rb +0 -16
  23. data/lib/xmi/uml13/actionis_asynchronous.rb +0 -14
  24. data/lib/xmi/uml13/actionmessage.rb +0 -16
  25. data/lib/xmi/uml13/actionrecurrence.rb +0 -28
  26. data/lib/xmi/uml13/actionrequest.rb +0 -16
  27. data/lib/xmi/uml13/actionscript.rb +0 -18
  28. data/lib/xmi/uml13/actiontarget.rb +0 -16
  29. data/lib/xmi/uml13/activity_model.rb +0 -133
  30. data/lib/xmi/uml13/activity_modelpartition.rb +0 -16
  31. data/lib/xmi/uml13/activity_state.rb +0 -152
  32. data/lib/xmi/uml13/actor.rb +0 -194
  33. data/lib/xmi/uml13/argument.rb +0 -34
  34. data/lib/xmi/uml13/argumentaction.rb +0 -16
  35. data/lib/xmi/uml13/argumentvalue.rb +0 -28
  36. data/lib/xmi/uml13/association.rb +0 -155
  37. data/lib/xmi/uml13/association_class.rb +0 -206
  38. data/lib/xmi/uml13/association_end.rb +0 -172
  39. data/lib/xmi/uml13/association_end_role.rb +0 -182
  40. data/lib/xmi/uml13/association_end_roleassociation_role.rb +0 -16
  41. data/lib/xmi/uml13/association_end_rolebase.rb +0 -16
  42. data/lib/xmi/uml13/association_endaggregation.rb +0 -14
  43. data/lib/xmi/uml13/association_endassociation.rb +0 -16
  44. data/lib/xmi/uml13/association_endassociation_end_role.rb +0 -16
  45. data/lib/xmi/uml13/association_endchangeable.rb +0 -14
  46. data/lib/xmi/uml13/association_endis_navigable.rb +0 -14
  47. data/lib/xmi/uml13/association_endis_ordered.rb +0 -14
  48. data/lib/xmi/uml13/association_endlink_end.rb +0 -16
  49. data/lib/xmi/uml13/association_endmultiplicity.rb +0 -18
  50. data/lib/xmi/uml13/association_endqualifier.rb +0 -16
  51. data/lib/xmi/uml13/association_endspecification.rb +0 -16
  52. data/lib/xmi/uml13/association_endtarget_scope.rb +0 -14
  53. data/lib/xmi/uml13/association_endtype.rb +0 -16
  54. data/lib/xmi/uml13/association_role.rb +0 -164
  55. data/lib/xmi/uml13/association_rolebase.rb +0 -16
  56. data/lib/xmi/uml13/association_rolemultiplicity.rb +0 -18
  57. data/lib/xmi/uml13/association_rolenamespace.rb +0 -16
  58. data/lib/xmi/uml13/associationassociation_end.rb +0 -16
  59. data/lib/xmi/uml13/associationconnection.rb +0 -19
  60. data/lib/xmi/uml13/associationlink.rb +0 -16
  61. data/lib/xmi/uml13/attribute.rb +0 -162
  62. data/lib/xmi/uml13/attribute_link.rb +0 -129
  63. data/lib/xmi/uml13/attribute_linkattribute.rb +0 -16
  64. data/lib/xmi/uml13/attribute_linkinstance.rb +0 -16
  65. data/lib/xmi/uml13/attribute_linkvalue.rb +0 -16
  66. data/lib/xmi/uml13/attributeassociation_end.rb +0 -16
  67. data/lib/xmi/uml13/attributeattribute_link.rb +0 -16
  68. data/lib/xmi/uml13/attributeinitial_value.rb +0 -28
  69. data/lib/xmi/uml13/auxiliary_elements.rb +0 -50
  70. data/lib/xmi/uml13/behavioral_elements.rb +0 -35
  71. data/lib/xmi/uml13/behavioral_feature.rb +0 -142
  72. data/lib/xmi/uml13/behavioral_featureis_query.rb +0 -14
  73. data/lib/xmi/uml13/behavioral_featureparameter.rb +0 -16
  74. data/lib/xmi/uml13/behavioral_featureraised_exception.rb +0 -16
  75. data/lib/xmi/uml13/binding.rb +0 -140
  76. data/lib/xmi/uml13/bindingargument.rb +0 -268
  77. data/lib/xmi/uml13/boolean_expression.rb +0 -36
  78. data/lib/xmi/uml13/call_action.rb +0 -153
  79. data/lib/xmi/uml13/call_actionmode.rb +0 -14
  80. data/lib/xmi/uml13/call_event.rb +0 -129
  81. data/lib/xmi/uml13/call_eventoperation.rb +0 -16
  82. data/lib/xmi/uml13/change_event.rb +0 -127
  83. data/lib/xmi/uml13/change_eventchange_expression.rb +0 -16
  84. data/lib/xmi/uml13/class.rb +0 -199
  85. data/lib/xmi/uml13/classifier.rb +0 -194
  86. data/lib/xmi/uml13/classifier_in_state.rb +0 -209
  87. data/lib/xmi/uml13/classifier_in_statein_state.rb +0 -16
  88. data/lib/xmi/uml13/classifier_in_stateobject_flow_state.rb +0 -16
  89. data/lib/xmi/uml13/classifier_in_statetype.rb +0 -16
  90. data/lib/xmi/uml13/classifier_role.rb +0 -223
  91. data/lib/xmi/uml13/classifier_roleassociation_end_role.rb +0 -16
  92. data/lib/xmi/uml13/classifier_roleavailable_feature.rb +0 -16
  93. data/lib/xmi/uml13/classifier_rolebase.rb +0 -16
  94. data/lib/xmi/uml13/classifier_rolemessage.rb +0 -16
  95. data/lib/xmi/uml13/classifier_rolemessage2.rb +0 -16
  96. data/lib/xmi/uml13/classifier_rolemultiplicity.rb +0 -18
  97. data/lib/xmi/uml13/classifier_rolenamespace.rb +0 -16
  98. data/lib/xmi/uml13/classifierassociation_end.rb +0 -16
  99. data/lib/xmi/uml13/classifierclassifier_in_state.rb +0 -16
  100. data/lib/xmi/uml13/classifierclassifier_role.rb +0 -16
  101. data/lib/xmi/uml13/classifiercollaboration.rb +0 -16
  102. data/lib/xmi/uml13/classifiercreate_action.rb +0 -16
  103. data/lib/xmi/uml13/classifierfeature.rb +0 -34
  104. data/lib/xmi/uml13/classifierinstance.rb +0 -16
  105. data/lib/xmi/uml13/classifierparameter.rb +0 -16
  106. data/lib/xmi/uml13/classifierparticipant.rb +0 -16
  107. data/lib/xmi/uml13/classifierrealization.rb +0 -16
  108. data/lib/xmi/uml13/classifierspecification.rb +0 -16
  109. data/lib/xmi/uml13/classifierstructural_feature.rb +0 -16
  110. data/lib/xmi/uml13/classis_active.rb +0 -14
  111. data/lib/xmi/uml13/collaboration.rb +0 -135
  112. data/lib/xmi/uml13/collaborationconstraining_element.rb +0 -16
  113. data/lib/xmi/uml13/collaborationinteraction.rb +0 -16
  114. data/lib/xmi/uml13/collaborationrepresented_classifier.rb +0 -16
  115. data/lib/xmi/uml13/collaborationrepresented_operation.rb +0 -16
  116. data/lib/xmi/uml13/collaborations.rb +0 -41
  117. data/lib/xmi/uml13/comment.rb +0 -114
  118. data/lib/xmi/uml13/common_behavior.rb +0 -92
  119. data/lib/xmi/uml13/component.rb +0 -204
  120. data/lib/xmi/uml13/componentdeployment.rb +0 -16
  121. data/lib/xmi/uml13/componentimplements.rb +0 -16
  122. data/lib/xmi/uml13/composite_state.rb +0 -161
  123. data/lib/xmi/uml13/composite_stateis_concurrent.rb +0 -14
  124. data/lib/xmi/uml13/composite_statesubstate.rb +0 -40
  125. data/lib/xmi/uml13/constraint.rb +0 -127
  126. data/lib/xmi/uml13/constraintbody.rb +0 -16
  127. data/lib/xmi/uml13/constraintconstrained_element.rb +0 -16
  128. data/lib/xmi/uml13/constraintconstrained_stereotype.rb +0 -16
  129. data/lib/xmi/uml13/core.rb +0 -86
  130. data/lib/xmi/uml13/create_action.rb +0 -153
  131. data/lib/xmi/uml13/create_actioninstantiation.rb +0 -16
  132. data/lib/xmi/uml13/data_type.rb +0 -194
  133. data/lib/xmi/uml13/data_types.rb +0 -62
  134. data/lib/xmi/uml13/data_value.rb +0 -147
  135. data/lib/xmi/uml13/dependency.rb +0 -137
  136. data/lib/xmi/uml13/dependencyclient.rb +0 -16
  137. data/lib/xmi/uml13/dependencydescription.rb +0 -18
  138. data/lib/xmi/uml13/dependencyowning_dependency.rb +0 -16
  139. data/lib/xmi/uml13/dependencysub_dependencies.rb +0 -28
  140. data/lib/xmi/uml13/dependencysupplier.rb +0 -16
  141. data/lib/xmi/uml13/destroy_action.rb +0 -148
  142. data/lib/xmi/uml13/diagram.rb +0 -48
  143. data/lib/xmi/uml13/diagram_compositions.rb +0 -16
  144. data/lib/xmi/uml13/diagram_element.rb +0 -40
  145. data/lib/xmi/uml13/diagram_element_properties.rb +0 -19
  146. data/lib/xmi/uml13/diagram_elementdiagram.rb +0 -16
  147. data/lib/xmi/uml13/diagram_elementgeometry.rb +0 -18
  148. data/lib/xmi/uml13/diagram_elementstyle.rb +0 -18
  149. data/lib/xmi/uml13/diagram_properties.rb +0 -25
  150. data/lib/xmi/uml13/diagramdiagram_type.rb +0 -18
  151. data/lib/xmi/uml13/diagramelement.rb +0 -16
  152. data/lib/xmi/uml13/diagramname.rb +0 -18
  153. data/lib/xmi/uml13/diagramowner.rb +0 -241
  154. data/lib/xmi/uml13/diagramstyle.rb +0 -18
  155. data/lib/xmi/uml13/diagramtool_name.rb +0 -18
  156. data/lib/xmi/uml13/element.rb +0 -26
  157. data/lib/xmi/uml13/element_reference.rb +0 -46
  158. data/lib/xmi/uml13/element_referencealias.rb +0 -18
  159. data/lib/xmi/uml13/element_referencepackage.rb +0 -16
  160. data/lib/xmi/uml13/element_referencereferenced_element.rb +0 -16
  161. data/lib/xmi/uml13/element_referencevisibility.rb +0 -14
  162. data/lib/xmi/uml13/enumeration.rb +0 -197
  163. data/lib/xmi/uml13/enumeration_literal.rb +0 -36
  164. data/lib/xmi/uml13/enumeration_literalenumeration.rb +0 -16
  165. data/lib/xmi/uml13/enumeration_literalname.rb +0 -18
  166. data/lib/xmi/uml13/enumerationliteral.rb +0 -16
  167. data/lib/xmi/uml13/event.rb +0 -124
  168. data/lib/xmi/uml13/eventstate.rb +0 -16
  169. data/lib/xmi/uml13/eventtransition.rb +0 -16
  170. data/lib/xmi/uml13/exception.rb +0 -170
  171. data/lib/xmi/uml13/exceptioncontext.rb +0 -16
  172. data/lib/xmi/uml13/expression.rb +0 -36
  173. data/lib/xmi/uml13/expressionbody.rb +0 -18
  174. data/lib/xmi/uml13/expressionlanguage.rb +0 -18
  175. data/lib/xmi/uml13/extension_mechanisms.rb +0 -29
  176. data/lib/xmi/uml13/feature.rb +0 -129
  177. data/lib/xmi/uml13/featureclassifier_role.rb +0 -16
  178. data/lib/xmi/uml13/featureowner.rb +0 -16
  179. data/lib/xmi/uml13/featureowner_scope.rb +0 -14
  180. data/lib/xmi/uml13/foundation.rb +0 -35
  181. data/lib/xmi/uml13/generalizable_element.rb +0 -142
  182. data/lib/xmi/uml13/generalizable_elementgeneralization.rb +0 -16
  183. data/lib/xmi/uml13/generalizable_elementis_abstract.rb +0 -14
  184. data/lib/xmi/uml13/generalizable_elementis_leaf.rb +0 -14
  185. data/lib/xmi/uml13/generalizable_elementis_root.rb +0 -14
  186. data/lib/xmi/uml13/generalizable_elementspecialization.rb +0 -16
  187. data/lib/xmi/uml13/generalization.rb +0 -129
  188. data/lib/xmi/uml13/generalizationdiscriminator.rb +0 -18
  189. data/lib/xmi/uml13/generalizationsubtype.rb +0 -16
  190. data/lib/xmi/uml13/generalizationsupertype.rb +0 -16
  191. data/lib/xmi/uml13/geometry.rb +0 -31
  192. data/lib/xmi/uml13/geometrybody.rb +0 -18
  193. data/lib/xmi/uml13/graphic_marker.rb +0 -31
  194. data/lib/xmi/uml13/graphic_markerbody.rb +0 -18
  195. data/lib/xmi/uml13/guard.rb +0 -122
  196. data/lib/xmi/uml13/guardexpression.rb +0 -16
  197. data/lib/xmi/uml13/guardtransition.rb +0 -16
  198. data/lib/xmi/uml13/instance.rb +0 -147
  199. data/lib/xmi/uml13/instanceattribute_link.rb +0 -16
  200. data/lib/xmi/uml13/instanceclassifier.rb +0 -16
  201. data/lib/xmi/uml13/instancelink_end.rb +0 -16
  202. data/lib/xmi/uml13/instancemessage_instance.rb +0 -16
  203. data/lib/xmi/uml13/instancemessage_instance2.rb +0 -16
  204. data/lib/xmi/uml13/instancemessage_instance3.rb +0 -16
  205. data/lib/xmi/uml13/instanceslot.rb +0 -16
  206. data/lib/xmi/uml13/interaction.rb +0 -122
  207. data/lib/xmi/uml13/interactioncontext.rb +0 -16
  208. data/lib/xmi/uml13/interactionmessage.rb +0 -16
  209. data/lib/xmi/uml13/interface.rb +0 -194
  210. data/lib/xmi/uml13/link.rb +0 -122
  211. data/lib/xmi/uml13/link_end.rb +0 -129
  212. data/lib/xmi/uml13/link_endassociation_end.rb +0 -16
  213. data/lib/xmi/uml13/link_endinstance.rb +0 -16
  214. data/lib/xmi/uml13/link_endlink.rb +0 -16
  215. data/lib/xmi/uml13/link_object.rb +0 -155
  216. data/lib/xmi/uml13/linkassociation.rb +0 -16
  217. data/lib/xmi/uml13/linklink_role.rb +0 -16
  218. data/lib/xmi/uml13/local_invocation.rb +0 -148
  219. data/lib/xmi/uml13/mapping.rb +0 -31
  220. data/lib/xmi/uml13/mappingbody.rb +0 -18
  221. data/lib/xmi/uml13/message.rb +0 -154
  222. data/lib/xmi/uml13/message_instance.rb +0 -134
  223. data/lib/xmi/uml13/message_instanceargument.rb +0 -16
  224. data/lib/xmi/uml13/message_instancereceiver.rb +0 -16
  225. data/lib/xmi/uml13/message_instancesender.rb +0 -16
  226. data/lib/xmi/uml13/message_instancespecification.rb +0 -16
  227. data/lib/xmi/uml13/messageaction.rb +0 -16
  228. data/lib/xmi/uml13/messageactivator.rb +0 -16
  229. data/lib/xmi/uml13/messageinteraction.rb +0 -16
  230. data/lib/xmi/uml13/messagemessage.rb +0 -16
  231. data/lib/xmi/uml13/messagemessage2.rb +0 -16
  232. data/lib/xmi/uml13/messagepredecessor.rb +0 -16
  233. data/lib/xmi/uml13/messagereceiver.rb +0 -16
  234. data/lib/xmi/uml13/messagesender.rb +0 -16
  235. data/lib/xmi/uml13/method.rb +0 -150
  236. data/lib/xmi/uml13/methodbody.rb +0 -16
  237. data/lib/xmi/uml13/methodspecification.rb +0 -16
  238. data/lib/xmi/uml13/model.rb +0 -141
  239. data/lib/xmi/uml13/model_element.rb +0 -114
  240. data/lib/xmi/uml13/model_element_owns_diagramowned_diagram.rb +0 -16
  241. data/lib/xmi/uml13/model_elementbehavior.rb +0 -16
  242. data/lib/xmi/uml13/model_elementbinding.rb +0 -16
  243. data/lib/xmi/uml13/model_elementcollaboration.rb +0 -16
  244. data/lib/xmi/uml13/model_elementconstraint.rb +0 -16
  245. data/lib/xmi/uml13/model_elementelement_reference.rb +0 -16
  246. data/lib/xmi/uml13/model_elementimplementation.rb +0 -16
  247. data/lib/xmi/uml13/model_elementname.rb +0 -18
  248. data/lib/xmi/uml13/model_elementnamespace.rb +0 -16
  249. data/lib/xmi/uml13/model_elementpartition.rb +0 -16
  250. data/lib/xmi/uml13/model_elementpresentation.rb +0 -16
  251. data/lib/xmi/uml13/model_elementprovision.rb +0 -16
  252. data/lib/xmi/uml13/model_elementrequirement.rb +0 -16
  253. data/lib/xmi/uml13/model_elementstereotype.rb +0 -16
  254. data/lib/xmi/uml13/model_elementtagged_value.rb +0 -16
  255. data/lib/xmi/uml13/model_elementtemplate.rb +0 -16
  256. data/lib/xmi/uml13/model_elementtemplate_parameter.rb +0 -16
  257. data/lib/xmi/uml13/model_elementview.rb +0 -16
  258. data/lib/xmi/uml13/model_elementvisibility.rb +0 -14
  259. data/lib/xmi/uml13/model_management.rb +0 -35
  260. data/lib/xmi/uml13/multiplicity_range.rb +0 -36
  261. data/lib/xmi/uml13/multiplicity_rangelower.rb +0 -18
  262. data/lib/xmi/uml13/multiplicity_rangeupper.rb +0 -18
  263. data/lib/xmi/uml13/namespace.rb +0 -117
  264. data/lib/xmi/uml13/namespaceowned_element.rb +0 -268
  265. data/lib/xmi/uml13/node.rb +0 -199
  266. data/lib/xmi/uml13/nodecomponent.rb +0 -16
  267. data/lib/xmi/uml13/object.rb +0 -147
  268. data/lib/xmi/uml13/object_flow_state.rb +0 -158
  269. data/lib/xmi/uml13/object_flow_statetype_state.rb +0 -16
  270. data/lib/xmi/uml13/object_set_expression.rb +0 -36
  271. data/lib/xmi/uml13/operation.rb +0 -176
  272. data/lib/xmi/uml13/operationcollaboration.rb +0 -16
  273. data/lib/xmi/uml13/operationconcurrency.rb +0 -14
  274. data/lib/xmi/uml13/operationis_polymorphic.rb +0 -14
  275. data/lib/xmi/uml13/operationmethod.rb +0 -16
  276. data/lib/xmi/uml13/operationoccurrence.rb +0 -16
  277. data/lib/xmi/uml13/operationspecification.rb +0 -18
  278. data/lib/xmi/uml13/package.rb +0 -141
  279. data/lib/xmi/uml13/packageelement_reference.rb +0 -16
  280. data/lib/xmi/uml13/parameter.rb +0 -137
  281. data/lib/xmi/uml13/parameterbehavioral_feature.rb +0 -16
  282. data/lib/xmi/uml13/parameterdefault_value.rb +0 -28
  283. data/lib/xmi/uml13/parameterkind.rb +0 -14
  284. data/lib/xmi/uml13/parametersignal.rb +0 -16
  285. data/lib/xmi/uml13/parametertype.rb +0 -16
  286. data/lib/xmi/uml13/partition.rb +0 -124
  287. data/lib/xmi/uml13/partitionactivity_model.rb +0 -16
  288. data/lib/xmi/uml13/partitioncontents.rb +0 -16
  289. data/lib/xmi/uml13/presentation.rb +0 -42
  290. data/lib/xmi/uml13/presentationgeometry.rb +0 -16
  291. data/lib/xmi/uml13/presentationmodel.rb +0 -16
  292. data/lib/xmi/uml13/presentationstyle.rb +0 -16
  293. data/lib/xmi/uml13/presentationview_element.rb +0 -16
  294. data/lib/xmi/uml13/primitive.rb +0 -194
  295. data/lib/xmi/uml13/procedure_expression.rb +0 -36
  296. data/lib/xmi/uml13/pseudo_state.rb +0 -134
  297. data/lib/xmi/uml13/pseudo_statekind.rb +0 -14
  298. data/lib/xmi/uml13/reception.rb +0 -157
  299. data/lib/xmi/uml13/receptionis_polymorphic.rb +0 -14
  300. data/lib/xmi/uml13/receptionsignal.rb +0 -16
  301. data/lib/xmi/uml13/receptionspecification.rb +0 -18
  302. data/lib/xmi/uml13/refinement.rb +0 -140
  303. data/lib/xmi/uml13/refinementmapping.rb +0 -16
  304. data/lib/xmi/uml13/request.rb +0 -124
  305. data/lib/xmi/uml13/requestaction.rb +0 -16
  306. data/lib/xmi/uml13/requestmessage_instance.rb +0 -16
  307. data/lib/xmi/uml13/return_action.rb +0 -148
  308. data/lib/xmi/uml13/send_action.rb +0 -148
  309. data/lib/xmi/uml13/signal.rb +0 -165
  310. data/lib/xmi/uml13/signal_event.rb +0 -129
  311. data/lib/xmi/uml13/signal_eventsignal.rb +0 -16
  312. data/lib/xmi/uml13/signaloccurrence.rb +0 -16
  313. data/lib/xmi/uml13/signalparameter.rb +0 -16
  314. data/lib/xmi/uml13/signalreception.rb +0 -16
  315. data/lib/xmi/uml13/simple_state.rb +0 -153
  316. data/lib/xmi/uml13/state.rb +0 -153
  317. data/lib/xmi/uml13/state_machine.rb +0 -130
  318. data/lib/xmi/uml13/state_machinecontext.rb +0 -16
  319. data/lib/xmi/uml13/state_machines.rb +0 -83
  320. data/lib/xmi/uml13/state_machinesubmachine_state.rb +0 -16
  321. data/lib/xmi/uml13/state_machinetop.rb +0 -34
  322. data/lib/xmi/uml13/state_machinetransitions.rb +0 -16
  323. data/lib/xmi/uml13/state_vertex.rb +0 -129
  324. data/lib/xmi/uml13/state_vertexincoming.rb +0 -16
  325. data/lib/xmi/uml13/state_vertexoutgoing.rb +0 -16
  326. data/lib/xmi/uml13/state_vertexparent.rb +0 -16
  327. data/lib/xmi/uml13/stateclassifier_in_state.rb +0 -16
  328. data/lib/xmi/uml13/statedeferred_event.rb +0 -16
  329. data/lib/xmi/uml13/stateentry.rb +0 -16
  330. data/lib/xmi/uml13/stateexit.rb +0 -16
  331. data/lib/xmi/uml13/stateinternal_transition.rb +0 -16
  332. data/lib/xmi/uml13/statestate_machine.rb +0 -16
  333. data/lib/xmi/uml13/stereotype.rb +0 -163
  334. data/lib/xmi/uml13/stereotypebase_class.rb +0 -18
  335. data/lib/xmi/uml13/stereotypeextended_element.rb +0 -16
  336. data/lib/xmi/uml13/stereotypeicon.rb +0 -16
  337. data/lib/xmi/uml13/stereotyperequired_tag.rb +0 -16
  338. data/lib/xmi/uml13/stereotypestereotype_constraint.rb +0 -16
  339. data/lib/xmi/uml13/structural_feature.rb +0 -149
  340. data/lib/xmi/uml13/structural_featurechangeable.rb +0 -14
  341. data/lib/xmi/uml13/structural_featuremultiplicity.rb +0 -18
  342. data/lib/xmi/uml13/structural_featuretarget_scope.rb +0 -14
  343. data/lib/xmi/uml13/structural_featuretype.rb +0 -16
  344. data/lib/xmi/uml13/structure.rb +0 -194
  345. data/lib/xmi/uml13/submachine_state.rb +0 -152
  346. data/lib/xmi/uml13/submachine_statestate_machine.rb +0 -16
  347. data/lib/xmi/uml13/subsystem.rb +0 -198
  348. data/lib/xmi/uml13/subsystemis_instantiable.rb +0 -14
  349. data/lib/xmi/uml13/tagged_value.rb +0 -48
  350. data/lib/xmi/uml13/tagged_valuemodel_element.rb +0 -16
  351. data/lib/xmi/uml13/tagged_valuestereotype.rb +0 -16
  352. data/lib/xmi/uml13/tagged_valuetag.rb +0 -18
  353. data/lib/xmi/uml13/tagged_valuevalue.rb +0 -18
  354. data/lib/xmi/uml13/terminate_action.rb +0 -148
  355. data/lib/xmi/uml13/time_event.rb +0 -127
  356. data/lib/xmi/uml13/time_eventduration.rb +0 -16
  357. data/lib/xmi/uml13/time_expression.rb +0 -36
  358. data/lib/xmi/uml13/trace.rb +0 -137
  359. data/lib/xmi/uml13/transition.rb +0 -145
  360. data/lib/xmi/uml13/transitioneffect.rb +0 -16
  361. data/lib/xmi/uml13/transitionguard.rb +0 -16
  362. data/lib/xmi/uml13/transitionsource.rb +0 -16
  363. data/lib/xmi/uml13/transitionstate.rb +0 -16
  364. data/lib/xmi/uml13/transitionstatemachine.rb +0 -16
  365. data/lib/xmi/uml13/transitiontarget.rb +0 -16
  366. data/lib/xmi/uml13/transitiontrigger.rb +0 -16
  367. data/lib/xmi/uml13/uninterpreted_action.rb +0 -153
  368. data/lib/xmi/uml13/uninterpreted_actionbody.rb +0 -18
  369. data/lib/xmi/uml13/usage.rb +0 -137
  370. data/lib/xmi/uml13/use_case.rb +0 -199
  371. data/lib/xmi/uml13/use_case_instance.rb +0 -147
  372. data/lib/xmi/uml13/use_caseextension_point.rb +0 -18
  373. data/lib/xmi/uml13/use_cases.rb +0 -32
  374. data/lib/xmi/uml13/view_element.rb +0 -36
  375. data/lib/xmi/uml13/view_elementmodel.rb +0 -16
  376. data/lib/xmi/uml13/view_elementpresentation.rb +0 -16
  377. data/lib/xmi/uml13/xm_iextension.rb +0 -27
  378. data/lib/xmi/uml13/xm_ireference.rb +0 -17
  379. data/lib/xmi/uml13.rb +0 -368
@@ -1,153 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "shale"
4
-
5
- require_relative "model_elementbehavior"
6
- require_relative "model_elementbinding"
7
- require_relative "model_elementcollaboration"
8
- require_relative "model_elementconstraint"
9
- require_relative "model_elementelement_reference"
10
- require_relative "model_elementimplementation"
11
- require_relative "model_elementname"
12
- require_relative "model_elementnamespace"
13
- require_relative "model_elementpartition"
14
- require_relative "model_elementpresentation"
15
- require_relative "model_elementprovision"
16
- require_relative "model_elementrequirement"
17
- require_relative "model_elementstereotype"
18
- require_relative "model_elementtagged_value"
19
- require_relative "model_elementtemplate"
20
- require_relative "model_elementtemplate_parameter"
21
- require_relative "model_elementview"
22
- require_relative "model_elementvisibility"
23
- require_relative "state_vertexincoming"
24
- require_relative "state_vertexoutgoing"
25
- require_relative "state_vertexparent"
26
- require_relative "stateclassifier_in_state"
27
- require_relative "statedeferred_event"
28
- require_relative "stateentry"
29
- require_relative "stateexit"
30
- require_relative "stateinternal_transition"
31
- require_relative "statestate_machine"
32
- require_relative "xm_iextension"
33
-
34
- class SimpleState < Shale::Mapper
35
- attribute :name, Shale::Type::Value
36
- attribute :visibility, Shale::Type::String
37
- attribute :binding, Shale::Type::Value
38
- attribute :template, Shale::Type::Value
39
- attribute :template_parameter, Shale::Type::Value
40
- attribute :implementation, Shale::Type::Value
41
- attribute :view, Shale::Type::Value
42
- attribute :presentation, Shale::Type::Value
43
- attribute :namespace, Shale::Type::Value
44
- attribute :constraint, Shale::Type::Value
45
- attribute :requirement, Shale::Type::Value
46
- attribute :provision, Shale::Type::Value
47
- attribute :stereotype, Shale::Type::Value
48
- attribute :element_reference, Shale::Type::Value
49
- attribute :collaboration, Shale::Type::Value
50
- attribute :behavior, Shale::Type::Value
51
- attribute :partition, Shale::Type::Value
52
- attribute :outgoing, Shale::Type::Value
53
- attribute :incoming, Shale::Type::Value
54
- attribute :parent, Shale::Type::Value
55
- attribute :state_machine, Shale::Type::Value
56
- attribute :deferred_event, Shale::Type::Value
57
- attribute :classifier_in_state, Shale::Type::Value
58
- attribute :xmi_id, Shale::Type::Value
59
- attribute :xmi_label, Shale::Type::Value
60
- attribute :xmi_uuid, Shale::Type::Value
61
- attribute :href, Shale::Type::Value
62
- attribute :xmi_idref, Shale::Type::Value
63
- attribute :model_element_name, ModelElementname, collection: true
64
- attribute :model_element_visibility, ModelElementvisibility, collection: true
65
- attribute :xmi_extension, XMIextension, collection: true
66
- attribute :model_element_binding, ModelElementbinding, collection: true
67
- attribute :model_element_template, ModelElementtemplate, collection: true
68
- attribute :model_element_template_parameter, ModelElementtemplateParameter, collection: true
69
- attribute :model_element_implementation, ModelElementimplementation, collection: true
70
- attribute :model_element_view, ModelElementview, collection: true
71
- attribute :model_element_presentation, ModelElementpresentation, collection: true
72
- attribute :model_element_namespace, ModelElementnamespace, collection: true
73
- attribute :model_element_constraint, ModelElementconstraint, collection: true
74
- attribute :model_element_requirement, ModelElementrequirement, collection: true
75
- attribute :model_element_provision, ModelElementprovision, collection: true
76
- attribute :model_element_stereotype, ModelElementstereotype, collection: true
77
- attribute :model_element_element_reference, ModelElementelementReference, collection: true
78
- attribute :model_element_collaboration, ModelElementcollaboration, collection: true
79
- attribute :model_element_behavior, ModelElementbehavior, collection: true
80
- attribute :model_element_partition, ModelElementpartition, collection: true
81
- attribute :state_vertex_outgoing, StateVertexoutgoing, collection: true
82
- attribute :state_vertex_incoming, StateVertexincoming, collection: true
83
- attribute :state_vertex_parent, StateVertexparent, collection: true
84
- attribute :state_state_machine, StatestateMachine, collection: true
85
- attribute :state_deferred_event, StatedeferredEvent, collection: true
86
- attribute :state_classifier_in_state, StateclassifierInState, collection: true
87
- attribute :model_element_tagged_value, ModelElementtaggedValue, collection: true
88
- attribute :state_internal_transition, StateinternalTransition, collection: true
89
- attribute :state_entry, Stateentry, collection: true
90
- attribute :state_exit, Stateexit, collection: true
91
-
92
- xml do
93
- root "SimpleState"
94
- namespace "omg.org/UML1.3", "UML"
95
-
96
- map_attribute "name", to: :name
97
- map_attribute "visibility", to: :visibility
98
- map_attribute "binding", to: :binding
99
- map_attribute "template", to: :template
100
- map_attribute "templateParameter", to: :template_parameter
101
- map_attribute "implementation", to: :implementation
102
- map_attribute "view", to: :view
103
- map_attribute "presentation", to: :presentation
104
- map_attribute "namespace", to: :namespace
105
- map_attribute "constraint", to: :constraint
106
- map_attribute "requirement", to: :requirement
107
- map_attribute "provision", to: :provision
108
- map_attribute "stereotype", to: :stereotype
109
- map_attribute "elementReference", to: :element_reference
110
- map_attribute "collaboration", to: :collaboration
111
- map_attribute "behavior", to: :behavior
112
- map_attribute "partition", to: :partition
113
- map_attribute "outgoing", to: :outgoing
114
- map_attribute "incoming", to: :incoming
115
- map_attribute "parent", to: :parent
116
- map_attribute "stateMachine", to: :state_machine
117
- map_attribute "deferredEvent", to: :deferred_event
118
- map_attribute "classifierInState", to: :classifier_in_state
119
- map_attribute "xmi.id", to: :xmi_id
120
- map_attribute "xmi.label", to: :xmi_label
121
- map_attribute "xmi.uuid", to: :xmi_uuid
122
- map_attribute "href", to: :href
123
- map_attribute "xmi.idref", to: :xmi_idref
124
- map_element "ModelElement.name", to: :model_element_name
125
- map_element "ModelElement.visibility", to: :model_element_visibility
126
- map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
127
- map_element "ModelElement.binding", to: :model_element_binding
128
- map_element "ModelElement.template", to: :model_element_template
129
- map_element "ModelElement.templateParameter", to: :model_element_template_parameter
130
- map_element "ModelElement.implementation", to: :model_element_implementation
131
- map_element "ModelElement.view", to: :model_element_view
132
- map_element "ModelElement.presentation", to: :model_element_presentation
133
- map_element "ModelElement.namespace", to: :model_element_namespace
134
- map_element "ModelElement.constraint", to: :model_element_constraint
135
- map_element "ModelElement.requirement", to: :model_element_requirement
136
- map_element "ModelElement.provision", to: :model_element_provision
137
- map_element "ModelElement.stereotype", to: :model_element_stereotype
138
- map_element "ModelElement.elementReference", to: :model_element_element_reference
139
- map_element "ModelElement.collaboration", to: :model_element_collaboration
140
- map_element "ModelElement.behavior", to: :model_element_behavior
141
- map_element "ModelElement.partition", to: :model_element_partition
142
- map_element "StateVertex.outgoing", to: :state_vertex_outgoing
143
- map_element "StateVertex.incoming", to: :state_vertex_incoming
144
- map_element "StateVertex.parent", to: :state_vertex_parent
145
- map_element "State.stateMachine", to: :state_state_machine
146
- map_element "State.deferredEvent", to: :state_deferred_event
147
- map_element "State.classifierInState", to: :state_classifier_in_state
148
- map_element "ModelElement.taggedValue", to: :model_element_tagged_value
149
- map_element "State.internalTransition", to: :state_internal_transition
150
- map_element "State.entry", to: :state_entry
151
- map_element "State.exit", to: :state_exit
152
- end
153
- end
@@ -1,153 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "shale"
4
-
5
- require_relative "model_elementbehavior"
6
- require_relative "model_elementbinding"
7
- require_relative "model_elementcollaboration"
8
- require_relative "model_elementconstraint"
9
- require_relative "model_elementelement_reference"
10
- require_relative "model_elementimplementation"
11
- require_relative "model_elementname"
12
- require_relative "model_elementnamespace"
13
- require_relative "model_elementpartition"
14
- require_relative "model_elementpresentation"
15
- require_relative "model_elementprovision"
16
- require_relative "model_elementrequirement"
17
- require_relative "model_elementstereotype"
18
- require_relative "model_elementtagged_value"
19
- require_relative "model_elementtemplate"
20
- require_relative "model_elementtemplate_parameter"
21
- require_relative "model_elementview"
22
- require_relative "model_elementvisibility"
23
- require_relative "state_vertexincoming"
24
- require_relative "state_vertexoutgoing"
25
- require_relative "state_vertexparent"
26
- require_relative "stateclassifier_in_state"
27
- require_relative "statedeferred_event"
28
- require_relative "stateentry"
29
- require_relative "stateexit"
30
- require_relative "stateinternal_transition"
31
- require_relative "statestate_machine"
32
- require_relative "xm_iextension"
33
-
34
- class State < Shale::Mapper
35
- attribute :name, Shale::Type::Value
36
- attribute :visibility, Shale::Type::String
37
- attribute :binding, Shale::Type::Value
38
- attribute :template, Shale::Type::Value
39
- attribute :template_parameter, Shale::Type::Value
40
- attribute :implementation, Shale::Type::Value
41
- attribute :view, Shale::Type::Value
42
- attribute :presentation, Shale::Type::Value
43
- attribute :namespace, Shale::Type::Value
44
- attribute :constraint, Shale::Type::Value
45
- attribute :requirement, Shale::Type::Value
46
- attribute :provision, Shale::Type::Value
47
- attribute :stereotype, Shale::Type::Value
48
- attribute :element_reference, Shale::Type::Value
49
- attribute :collaboration, Shale::Type::Value
50
- attribute :behavior, Shale::Type::Value
51
- attribute :partition, Shale::Type::Value
52
- attribute :outgoing, Shale::Type::Value
53
- attribute :incoming, Shale::Type::Value
54
- attribute :parent, Shale::Type::Value
55
- attribute :state_machine, Shale::Type::Value
56
- attribute :deferred_event, Shale::Type::Value
57
- attribute :classifier_in_state, Shale::Type::Value
58
- attribute :xmi_id, Shale::Type::Value
59
- attribute :xmi_label, Shale::Type::Value
60
- attribute :xmi_uuid, Shale::Type::Value
61
- attribute :href, Shale::Type::Value
62
- attribute :xmi_idref, Shale::Type::Value
63
- attribute :model_element_name, ModelElementname, collection: true
64
- attribute :model_element_visibility, ModelElementvisibility, collection: true
65
- attribute :xmi_extension, XMIextension, collection: true
66
- attribute :model_element_binding, ModelElementbinding, collection: true
67
- attribute :model_element_template, ModelElementtemplate, collection: true
68
- attribute :model_element_template_parameter, ModelElementtemplateParameter, collection: true
69
- attribute :model_element_implementation, ModelElementimplementation, collection: true
70
- attribute :model_element_view, ModelElementview, collection: true
71
- attribute :model_element_presentation, ModelElementpresentation, collection: true
72
- attribute :model_element_namespace, ModelElementnamespace, collection: true
73
- attribute :model_element_constraint, ModelElementconstraint, collection: true
74
- attribute :model_element_requirement, ModelElementrequirement, collection: true
75
- attribute :model_element_provision, ModelElementprovision, collection: true
76
- attribute :model_element_stereotype, ModelElementstereotype, collection: true
77
- attribute :model_element_element_reference, ModelElementelementReference, collection: true
78
- attribute :model_element_collaboration, ModelElementcollaboration, collection: true
79
- attribute :model_element_behavior, ModelElementbehavior, collection: true
80
- attribute :model_element_partition, ModelElementpartition, collection: true
81
- attribute :state_vertex_outgoing, StateVertexoutgoing, collection: true
82
- attribute :state_vertex_incoming, StateVertexincoming, collection: true
83
- attribute :state_vertex_parent, StateVertexparent, collection: true
84
- attribute :state_state_machine, StatestateMachine, collection: true
85
- attribute :state_deferred_event, StatedeferredEvent, collection: true
86
- attribute :state_classifier_in_state, StateclassifierInState, collection: true
87
- attribute :model_element_tagged_value, ModelElementtaggedValue, collection: true
88
- attribute :state_internal_transition, StateinternalTransition, collection: true
89
- attribute :state_entry, Stateentry, collection: true
90
- attribute :state_exit, Stateexit, collection: true
91
-
92
- xml do
93
- root "State"
94
- namespace "omg.org/UML1.3", "UML"
95
-
96
- map_attribute "name", to: :name
97
- map_attribute "visibility", to: :visibility
98
- map_attribute "binding", to: :binding
99
- map_attribute "template", to: :template
100
- map_attribute "templateParameter", to: :template_parameter
101
- map_attribute "implementation", to: :implementation
102
- map_attribute "view", to: :view
103
- map_attribute "presentation", to: :presentation
104
- map_attribute "namespace", to: :namespace
105
- map_attribute "constraint", to: :constraint
106
- map_attribute "requirement", to: :requirement
107
- map_attribute "provision", to: :provision
108
- map_attribute "stereotype", to: :stereotype
109
- map_attribute "elementReference", to: :element_reference
110
- map_attribute "collaboration", to: :collaboration
111
- map_attribute "behavior", to: :behavior
112
- map_attribute "partition", to: :partition
113
- map_attribute "outgoing", to: :outgoing
114
- map_attribute "incoming", to: :incoming
115
- map_attribute "parent", to: :parent
116
- map_attribute "stateMachine", to: :state_machine
117
- map_attribute "deferredEvent", to: :deferred_event
118
- map_attribute "classifierInState", to: :classifier_in_state
119
- map_attribute "xmi.id", to: :xmi_id
120
- map_attribute "xmi.label", to: :xmi_label
121
- map_attribute "xmi.uuid", to: :xmi_uuid
122
- map_attribute "href", to: :href
123
- map_attribute "xmi.idref", to: :xmi_idref
124
- map_element "ModelElement.name", to: :model_element_name
125
- map_element "ModelElement.visibility", to: :model_element_visibility
126
- map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
127
- map_element "ModelElement.binding", to: :model_element_binding
128
- map_element "ModelElement.template", to: :model_element_template
129
- map_element "ModelElement.templateParameter", to: :model_element_template_parameter
130
- map_element "ModelElement.implementation", to: :model_element_implementation
131
- map_element "ModelElement.view", to: :model_element_view
132
- map_element "ModelElement.presentation", to: :model_element_presentation
133
- map_element "ModelElement.namespace", to: :model_element_namespace
134
- map_element "ModelElement.constraint", to: :model_element_constraint
135
- map_element "ModelElement.requirement", to: :model_element_requirement
136
- map_element "ModelElement.provision", to: :model_element_provision
137
- map_element "ModelElement.stereotype", to: :model_element_stereotype
138
- map_element "ModelElement.elementReference", to: :model_element_element_reference
139
- map_element "ModelElement.collaboration", to: :model_element_collaboration
140
- map_element "ModelElement.behavior", to: :model_element_behavior
141
- map_element "ModelElement.partition", to: :model_element_partition
142
- map_element "StateVertex.outgoing", to: :state_vertex_outgoing
143
- map_element "StateVertex.incoming", to: :state_vertex_incoming
144
- map_element "StateVertex.parent", to: :state_vertex_parent
145
- map_element "State.stateMachine", to: :state_state_machine
146
- map_element "State.deferredEvent", to: :state_deferred_event
147
- map_element "State.classifierInState", to: :state_classifier_in_state
148
- map_element "ModelElement.taggedValue", to: :model_element_tagged_value
149
- map_element "State.internalTransition", to: :state_internal_transition
150
- map_element "State.entry", to: :state_entry
151
- map_element "State.exit", to: :state_exit
152
- end
153
- end
@@ -1,130 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "shale"
4
-
5
- require_relative "model_elementbehavior"
6
- require_relative "model_elementbinding"
7
- require_relative "model_elementcollaboration"
8
- require_relative "model_elementconstraint"
9
- require_relative "model_elementelement_reference"
10
- require_relative "model_elementimplementation"
11
- require_relative "model_elementname"
12
- require_relative "model_elementnamespace"
13
- require_relative "model_elementpartition"
14
- require_relative "model_elementpresentation"
15
- require_relative "model_elementprovision"
16
- require_relative "model_elementrequirement"
17
- require_relative "model_elementstereotype"
18
- require_relative "model_elementtagged_value"
19
- require_relative "model_elementtemplate"
20
- require_relative "model_elementtemplate_parameter"
21
- require_relative "model_elementview"
22
- require_relative "model_elementvisibility"
23
- require_relative "state_machinecontext"
24
- require_relative "state_machinesubmachine_state"
25
- require_relative "state_machinetop"
26
- require_relative "state_machinetransitions"
27
- require_relative "xm_iextension"
28
-
29
- class StateMachine < Shale::Mapper
30
- attribute :name, Shale::Type::Value
31
- attribute :visibility, Shale::Type::String
32
- attribute :binding, Shale::Type::Value
33
- attribute :template, Shale::Type::Value
34
- attribute :template_parameter, Shale::Type::Value
35
- attribute :implementation, Shale::Type::Value
36
- attribute :view, Shale::Type::Value
37
- attribute :presentation, Shale::Type::Value
38
- attribute :namespace, Shale::Type::Value
39
- attribute :constraint, Shale::Type::Value
40
- attribute :requirement, Shale::Type::Value
41
- attribute :provision, Shale::Type::Value
42
- attribute :stereotype, Shale::Type::Value
43
- attribute :element_reference, Shale::Type::Value
44
- attribute :collaboration, Shale::Type::Value
45
- attribute :behavior, Shale::Type::Value
46
- attribute :partition, Shale::Type::Value
47
- attribute :context, Shale::Type::Value
48
- attribute :submachine_state, Shale::Type::Value
49
- attribute :xmi_id, Shale::Type::Value
50
- attribute :xmi_label, Shale::Type::Value
51
- attribute :xmi_uuid, Shale::Type::Value
52
- attribute :href, Shale::Type::Value
53
- attribute :xmi_idref, Shale::Type::Value
54
- attribute :model_element_name, ModelElementname, collection: true
55
- attribute :model_element_visibility, ModelElementvisibility, collection: true
56
- attribute :xmi_extension, XMIextension, collection: true
57
- attribute :model_element_binding, ModelElementbinding, collection: true
58
- attribute :model_element_template, ModelElementtemplate, collection: true
59
- attribute :model_element_template_parameter, ModelElementtemplateParameter, collection: true
60
- attribute :model_element_implementation, ModelElementimplementation, collection: true
61
- attribute :model_element_view, ModelElementview, collection: true
62
- attribute :model_element_presentation, ModelElementpresentation, collection: true
63
- attribute :model_element_namespace, ModelElementnamespace, collection: true
64
- attribute :model_element_constraint, ModelElementconstraint, collection: true
65
- attribute :model_element_requirement, ModelElementrequirement, collection: true
66
- attribute :model_element_provision, ModelElementprovision, collection: true
67
- attribute :model_element_stereotype, ModelElementstereotype, collection: true
68
- attribute :model_element_element_reference, ModelElementelementReference, collection: true
69
- attribute :model_element_collaboration, ModelElementcollaboration, collection: true
70
- attribute :model_element_behavior, ModelElementbehavior, collection: true
71
- attribute :model_element_partition, ModelElementpartition, collection: true
72
- attribute :state_machine_context, StateMachinecontext, collection: true
73
- attribute :state_machine_submachine_state, StateMachinesubmachineState, collection: true
74
- attribute :model_element_tagged_value, ModelElementtaggedValue, collection: true
75
- attribute :state_machine_top, StateMachinetop, collection: true
76
- attribute :state_machine_transitions, StateMachinetransitions, collection: true
77
-
78
- xml do
79
- root "StateMachine"
80
- namespace "omg.org/UML1.3", "UML"
81
-
82
- map_attribute "name", to: :name
83
- map_attribute "visibility", to: :visibility
84
- map_attribute "binding", to: :binding
85
- map_attribute "template", to: :template
86
- map_attribute "templateParameter", to: :template_parameter
87
- map_attribute "implementation", to: :implementation
88
- map_attribute "view", to: :view
89
- map_attribute "presentation", to: :presentation
90
- map_attribute "namespace", to: :namespace
91
- map_attribute "constraint", to: :constraint
92
- map_attribute "requirement", to: :requirement
93
- map_attribute "provision", to: :provision
94
- map_attribute "stereotype", to: :stereotype
95
- map_attribute "elementReference", to: :element_reference
96
- map_attribute "collaboration", to: :collaboration
97
- map_attribute "behavior", to: :behavior
98
- map_attribute "partition", to: :partition
99
- map_attribute "context", to: :context
100
- map_attribute "submachineState", to: :submachine_state
101
- map_attribute "xmi.id", to: :xmi_id
102
- map_attribute "xmi.label", to: :xmi_label
103
- map_attribute "xmi.uuid", to: :xmi_uuid
104
- map_attribute "href", to: :href
105
- map_attribute "xmi.idref", to: :xmi_idref
106
- map_element "ModelElement.name", to: :model_element_name
107
- map_element "ModelElement.visibility", to: :model_element_visibility
108
- map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
109
- map_element "ModelElement.binding", to: :model_element_binding
110
- map_element "ModelElement.template", to: :model_element_template
111
- map_element "ModelElement.templateParameter", to: :model_element_template_parameter
112
- map_element "ModelElement.implementation", to: :model_element_implementation
113
- map_element "ModelElement.view", to: :model_element_view
114
- map_element "ModelElement.presentation", to: :model_element_presentation
115
- map_element "ModelElement.namespace", to: :model_element_namespace
116
- map_element "ModelElement.constraint", to: :model_element_constraint
117
- map_element "ModelElement.requirement", to: :model_element_requirement
118
- map_element "ModelElement.provision", to: :model_element_provision
119
- map_element "ModelElement.stereotype", to: :model_element_stereotype
120
- map_element "ModelElement.elementReference", to: :model_element_element_reference
121
- map_element "ModelElement.collaboration", to: :model_element_collaboration
122
- map_element "ModelElement.behavior", to: :model_element_behavior
123
- map_element "ModelElement.partition", to: :model_element_partition
124
- map_element "StateMachine.context", to: :state_machine_context
125
- map_element "StateMachine.submachineState", to: :state_machine_submachine_state
126
- map_element "ModelElement.taggedValue", to: :model_element_tagged_value
127
- map_element "StateMachine.top", to: :state_machine_top
128
- map_element "StateMachine.transitions", to: :state_machine_transitions
129
- end
130
- end
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "shale"
4
-
5
- require_relative "model_element"
6
-
7
- class StateMachinecontext < Shale::Mapper
8
- attribute :model_element, ModelElement, collection: true
9
-
10
- xml do
11
- root "StateMachine.context"
12
- namespace "omg.org/UML1.3", "UML"
13
-
14
- map_element "ModelElement", to: :model_element
15
- end
16
- end
@@ -1,83 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "shale"
4
-
5
- require_relative "action_state"
6
- require_relative "activity_model"
7
- require_relative "activity_state"
8
- require_relative "call_event"
9
- require_relative "change_event"
10
- require_relative "classifier_in_state"
11
- require_relative "composite_state"
12
- require_relative "event"
13
- require_relative "guard"
14
- require_relative "object_flow_state"
15
- require_relative "partition"
16
- require_relative "pseudo_state"
17
- require_relative "signal_event"
18
- require_relative "simple_state"
19
- require_relative "state"
20
- require_relative "state_machine"
21
- require_relative "state_vertex"
22
- require_relative "submachine_state"
23
- require_relative "time_event"
24
- require_relative "transition"
25
-
26
- class StateMachines < Shale::Mapper
27
- attribute :xmi_id, Shale::Type::Value
28
- attribute :xmi_label, Shale::Type::Value
29
- attribute :xmi_uuid, Shale::Type::Value
30
- attribute :href, Shale::Type::Value
31
- attribute :xmi_idref, Shale::Type::Value
32
- attribute :state_machine, StateMachine, collection: true
33
- attribute :guard, Guard, collection: true
34
- attribute :state_vertex, StateVertex, collection: true
35
- attribute :transition, Transition, collection: true
36
- attribute :pseudo_state, PseudoState, collection: true
37
- attribute :state, State, collection: true
38
- attribute :composite_state, CompositeState, collection: true
39
- attribute :simple_state, SimpleState, collection: true
40
- attribute :submachine_state, SubmachineState, collection: true
41
- attribute :event, Event, collection: true
42
- attribute :signal_event, SignalEvent, collection: true
43
- attribute :call_event, CallEvent, collection: true
44
- attribute :time_event, TimeEvent, collection: true
45
- attribute :change_event, ChangeEvent, collection: true
46
- attribute :activity_model, ActivityModel, collection: true
47
- attribute :partition, Partition, collection: true
48
- attribute :action_state, ActionState, collection: true
49
- attribute :object_flow_state, ObjectFlowState, collection: true
50
- attribute :classifier_in_state, ClassifierInState, collection: true
51
- attribute :activity_state, ActivityState, collection: true
52
-
53
- xml do
54
- root "State_Machines"
55
- namespace "omg.org/UML1.3", "UML"
56
-
57
- map_attribute "xmi.id", to: :xmi_id
58
- map_attribute "xmi.label", to: :xmi_label
59
- map_attribute "xmi.uuid", to: :xmi_uuid
60
- map_attribute "href", to: :href
61
- map_attribute "xmi.idref", to: :xmi_idref
62
- map_element "StateMachine", to: :state_machine
63
- map_element "Guard", to: :guard
64
- map_element "StateVertex", to: :state_vertex
65
- map_element "Transition", to: :transition
66
- map_element "PseudoState", to: :pseudo_state
67
- map_element "State", to: :state
68
- map_element "CompositeState", to: :composite_state
69
- map_element "SimpleState", to: :simple_state
70
- map_element "SubmachineState", to: :submachine_state
71
- map_element "Event", to: :event
72
- map_element "SignalEvent", to: :signal_event
73
- map_element "CallEvent", to: :call_event
74
- map_element "TimeEvent", to: :time_event
75
- map_element "ChangeEvent", to: :change_event
76
- map_element "ActivityModel", to: :activity_model
77
- map_element "Partition", to: :partition
78
- map_element "ActionState", to: :action_state
79
- map_element "ObjectFlowState", to: :object_flow_state
80
- map_element "ClassifierInState", to: :classifier_in_state
81
- map_element "ActivityState", to: :activity_state
82
- end
83
- end
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "shale"
4
-
5
- require_relative "submachine_state"
6
-
7
- class StateMachinesubmachineState < Shale::Mapper
8
- attribute :submachine_state, SubmachineState, collection: true
9
-
10
- xml do
11
- root "StateMachine.submachineState"
12
- namespace "omg.org/UML1.3", "UML"
13
-
14
- map_element "SubmachineState", to: :submachine_state
15
- end
16
- end
@@ -1,34 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "shale"
4
-
5
- require_relative "action_state"
6
- require_relative "activity_state"
7
- require_relative "composite_state"
8
- require_relative "object_flow_state"
9
- require_relative "simple_state"
10
- require_relative "state"
11
- require_relative "submachine_state"
12
-
13
- class StateMachinetop < Shale::Mapper
14
- attribute :state, State, collection: true
15
- attribute :composite_state, CompositeState, collection: true
16
- attribute :simple_state, SimpleState, collection: true
17
- attribute :submachine_state, SubmachineState, collection: true
18
- attribute :action_state, ActionState, collection: true
19
- attribute :object_flow_state, ObjectFlowState, collection: true
20
- attribute :activity_state, ActivityState, collection: true
21
-
22
- xml do
23
- root "StateMachine.top"
24
- namespace "omg.org/UML1.3", "UML"
25
-
26
- map_element "State", to: :state
27
- map_element "CompositeState", to: :composite_state
28
- map_element "SimpleState", to: :simple_state
29
- map_element "SubmachineState", to: :submachine_state
30
- map_element "ActionState", to: :action_state
31
- map_element "ObjectFlowState", to: :object_flow_state
32
- map_element "ActivityState", to: :activity_state
33
- end
34
- end
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "shale"
4
-
5
- require_relative "transition"
6
-
7
- class StateMachinetransitions < Shale::Mapper
8
- attribute :transition, Transition, collection: true
9
-
10
- xml do
11
- root "StateMachine.transitions"
12
- namespace "omg.org/UML1.3", "UML"
13
-
14
- map_element "Transition", to: :transition
15
- end
16
- end