xmi 0.3.8 → 0.3.10

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 (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 +56 -111
  8. data/lib/xmi/uml.rb +5 -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,155 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "shale"
4
-
5
- require_relative "associationassociation_end"
6
- require_relative "associationconnection"
7
- require_relative "associationlink"
8
- require_relative "generalizable_elementgeneralization"
9
- require_relative "generalizable_elementis_abstract"
10
- require_relative "generalizable_elementis_leaf"
11
- require_relative "generalizable_elementis_root"
12
- require_relative "generalizable_elementspecialization"
13
- require_relative "model_elementbehavior"
14
- require_relative "model_elementbinding"
15
- require_relative "model_elementcollaboration"
16
- require_relative "model_elementconstraint"
17
- require_relative "model_elementelement_reference"
18
- require_relative "model_elementimplementation"
19
- require_relative "model_elementname"
20
- require_relative "model_elementnamespace"
21
- require_relative "model_elementpartition"
22
- require_relative "model_elementpresentation"
23
- require_relative "model_elementprovision"
24
- require_relative "model_elementrequirement"
25
- require_relative "model_elementstereotype"
26
- require_relative "model_elementtagged_value"
27
- require_relative "model_elementtemplate"
28
- require_relative "model_elementtemplate_parameter"
29
- require_relative "model_elementview"
30
- require_relative "model_elementvisibility"
31
- require_relative "namespaceowned_element"
32
- require_relative "xm_iextension"
33
-
34
- class Association < Shale::Mapper
35
- attribute :name, Shale::Type::Value
36
- attribute :visibility, Shale::Type::String
37
- attribute :is_root, Shale::Type::String
38
- attribute :is_leaf, Shale::Type::String
39
- attribute :is_abstract, Shale::Type::String
40
- attribute :binding, Shale::Type::Value
41
- attribute :template, Shale::Type::Value
42
- attribute :template_parameter, Shale::Type::Value
43
- attribute :implementation, Shale::Type::Value
44
- attribute :view, Shale::Type::Value
45
- attribute :presentation, Shale::Type::Value
46
- attribute :namespace, Shale::Type::Value
47
- attribute :constraint, Shale::Type::Value
48
- attribute :requirement, Shale::Type::Value
49
- attribute :provision, Shale::Type::Value
50
- attribute :stereotype, Shale::Type::Value
51
- attribute :element_reference, Shale::Type::Value
52
- attribute :collaboration, Shale::Type::Value
53
- attribute :behavior, Shale::Type::Value
54
- attribute :partition, Shale::Type::Value
55
- attribute :generalization, Shale::Type::Value
56
- attribute :specialization, Shale::Type::Value
57
- attribute :link, Shale::Type::Value
58
- attribute :association_end, Shale::Type::Value
59
- attribute :xmi_id, Shale::Type::Value
60
- attribute :xmi_label, Shale::Type::Value
61
- attribute :xmi_uuid, Shale::Type::Value
62
- attribute :href, Shale::Type::Value
63
- attribute :xmi_idref, Shale::Type::Value
64
- attribute :model_element_name, ModelElementname, collection: true
65
- attribute :model_element_visibility, ModelElementvisibility, collection: true
66
- attribute :generalizable_element_is_root, GeneralizableElementisRoot, collection: true
67
- attribute :generalizable_element_is_leaf, GeneralizableElementisLeaf, collection: true
68
- attribute :generalizable_element_is_abstract, GeneralizableElementisAbstract, collection: true
69
- attribute :xmi_extension, XMIextension, collection: true
70
- attribute :model_element_binding, ModelElementbinding, collection: true
71
- attribute :model_element_template, ModelElementtemplate, collection: true
72
- attribute :model_element_template_parameter, ModelElementtemplateParameter, collection: true
73
- attribute :model_element_implementation, ModelElementimplementation, collection: true
74
- attribute :model_element_view, ModelElementview, collection: true
75
- attribute :model_element_presentation, ModelElementpresentation, collection: true
76
- attribute :model_element_namespace, ModelElementnamespace, collection: true
77
- attribute :model_element_constraint, ModelElementconstraint, collection: true
78
- attribute :model_element_requirement, ModelElementrequirement, collection: true
79
- attribute :model_element_provision, ModelElementprovision, collection: true
80
- attribute :model_element_stereotype, ModelElementstereotype, collection: true
81
- attribute :model_element_element_reference, ModelElementelementReference, collection: true
82
- attribute :model_element_collaboration, ModelElementcollaboration, collection: true
83
- attribute :model_element_behavior, ModelElementbehavior, collection: true
84
- attribute :model_element_partition, ModelElementpartition, collection: true
85
- attribute :generalizable_element_generalization, GeneralizableElementgeneralization, collection: true
86
- attribute :generalizable_element_specialization, GeneralizableElementspecialization, collection: true
87
- attribute :association_link, Associationlink, collection: true
88
- attribute :association_association_end, AssociationassociationEnd, collection: true
89
- attribute :model_element_tagged_value, ModelElementtaggedValue, collection: true
90
- attribute :namespace_owned_element, NamespaceownedElement, collection: true
91
- attribute :association_connection, Associationconnection, collection: true
92
-
93
- xml do
94
- root "Association"
95
- namespace "omg.org/UML1.3", "UML"
96
-
97
- map_attribute "name", to: :name
98
- map_attribute "visibility", to: :visibility
99
- map_attribute "isRoot", to: :is_root
100
- map_attribute "isLeaf", to: :is_leaf
101
- map_attribute "isAbstract", to: :is_abstract
102
- map_attribute "binding", to: :binding
103
- map_attribute "template", to: :template
104
- map_attribute "templateParameter", to: :template_parameter
105
- map_attribute "implementation", to: :implementation
106
- map_attribute "view", to: :view
107
- map_attribute "presentation", to: :presentation
108
- map_attribute "namespace", to: :namespace
109
- map_attribute "constraint", to: :constraint
110
- map_attribute "requirement", to: :requirement
111
- map_attribute "provision", to: :provision
112
- map_attribute "stereotype", to: :stereotype
113
- map_attribute "elementReference", to: :element_reference
114
- map_attribute "collaboration", to: :collaboration
115
- map_attribute "behavior", to: :behavior
116
- map_attribute "partition", to: :partition
117
- map_attribute "generalization", to: :generalization
118
- map_attribute "specialization", to: :specialization
119
- map_attribute "link", to: :link
120
- map_attribute "associationEnd", to: :association_end
121
- map_attribute "xmi.id", to: :xmi_id
122
- map_attribute "xmi.label", to: :xmi_label
123
- map_attribute "xmi.uuid", to: :xmi_uuid
124
- map_attribute "href", to: :href
125
- map_attribute "xmi.idref", to: :xmi_idref
126
- map_element "ModelElement.name", to: :model_element_name
127
- map_element "ModelElement.visibility", to: :model_element_visibility
128
- map_element "GeneralizableElement.isRoot", to: :generalizable_element_is_root
129
- map_element "GeneralizableElement.isLeaf", to: :generalizable_element_is_leaf
130
- map_element "GeneralizableElement.isAbstract", to: :generalizable_element_is_abstract
131
- map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
132
- map_element "ModelElement.binding", to: :model_element_binding
133
- map_element "ModelElement.template", to: :model_element_template
134
- map_element "ModelElement.templateParameter", to: :model_element_template_parameter
135
- map_element "ModelElement.implementation", to: :model_element_implementation
136
- map_element "ModelElement.view", to: :model_element_view
137
- map_element "ModelElement.presentation", to: :model_element_presentation
138
- map_element "ModelElement.namespace", to: :model_element_namespace
139
- map_element "ModelElement.constraint", to: :model_element_constraint
140
- map_element "ModelElement.requirement", to: :model_element_requirement
141
- map_element "ModelElement.provision", to: :model_element_provision
142
- map_element "ModelElement.stereotype", to: :model_element_stereotype
143
- map_element "ModelElement.elementReference", to: :model_element_element_reference
144
- map_element "ModelElement.collaboration", to: :model_element_collaboration
145
- map_element "ModelElement.behavior", to: :model_element_behavior
146
- map_element "ModelElement.partition", to: :model_element_partition
147
- map_element "GeneralizableElement.generalization", to: :generalizable_element_generalization
148
- map_element "GeneralizableElement.specialization", to: :generalizable_element_specialization
149
- map_element "Association.link", to: :association_link
150
- map_element "Association.associationEnd", to: :association_association_end
151
- map_element "ModelElement.taggedValue", to: :model_element_tagged_value
152
- map_element "Namespace.ownedElement", to: :namespace_owned_element
153
- map_element "Association.connection", to: :association_connection
154
- end
155
- end
@@ -1,206 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "shale"
4
-
5
- require_relative "associationconnection"
6
- require_relative "associationlink"
7
- require_relative "classifierclassifier_in_state"
8
- require_relative "classifierclassifier_role"
9
- require_relative "classifiercreate_action"
10
- require_relative "classifierfeature"
11
- require_relative "classifierinstance"
12
- require_relative "classifierparameter"
13
- require_relative "classifierparticipant"
14
- require_relative "classifierrealization"
15
- require_relative "classifierspecification"
16
- require_relative "classifierstructural_feature"
17
- require_relative "classis_active"
18
- require_relative "generalizable_elementgeneralization"
19
- require_relative "generalizable_elementis_abstract"
20
- require_relative "generalizable_elementis_leaf"
21
- require_relative "generalizable_elementis_root"
22
- require_relative "generalizable_elementspecialization"
23
- require_relative "model_elementbehavior"
24
- require_relative "model_elementbinding"
25
- require_relative "model_elementconstraint"
26
- require_relative "model_elementelement_reference"
27
- require_relative "model_elementimplementation"
28
- require_relative "model_elementname"
29
- require_relative "model_elementnamespace"
30
- require_relative "model_elementpartition"
31
- require_relative "model_elementpresentation"
32
- require_relative "model_elementprovision"
33
- require_relative "model_elementrequirement"
34
- require_relative "model_elementstereotype"
35
- require_relative "model_elementtagged_value"
36
- require_relative "model_elementtemplate"
37
- require_relative "model_elementtemplate_parameter"
38
- require_relative "model_elementview"
39
- require_relative "model_elementvisibility"
40
- require_relative "namespaceowned_element"
41
- require_relative "xm_iextension"
42
-
43
- class AssociationClass < Shale::Mapper
44
- attribute :name, Shale::Type::Value
45
- attribute :visibility, Shale::Type::String
46
- attribute :is_root, Shale::Type::String
47
- attribute :is_leaf, Shale::Type::String
48
- attribute :is_abstract, Shale::Type::String
49
- attribute :is_active, Shale::Type::String
50
- attribute :binding, Shale::Type::Value
51
- attribute :template, Shale::Type::Value
52
- attribute :template_parameter, Shale::Type::Value
53
- attribute :implementation, Shale::Type::Value
54
- attribute :view, Shale::Type::Value
55
- attribute :presentation, Shale::Type::Value
56
- attribute :namespace, Shale::Type::Value
57
- attribute :constraint, Shale::Type::Value
58
- attribute :requirement, Shale::Type::Value
59
- attribute :provision, Shale::Type::Value
60
- attribute :stereotype, Shale::Type::Value
61
- attribute :element_reference, Shale::Type::Value
62
- attribute :model_element_collaboration, Shale::Type::Value
63
- attribute :behavior, Shale::Type::Value
64
- attribute :partition, Shale::Type::Value
65
- attribute :generalization, Shale::Type::Value
66
- attribute :specialization, Shale::Type::Value
67
- attribute :parameter, Shale::Type::Value
68
- attribute :structural_feature, Shale::Type::Value
69
- attribute :specification, Shale::Type::Value
70
- attribute :realization, Shale::Type::Value
71
- attribute :classifier_association_end, Shale::Type::Value
72
- attribute :participant, Shale::Type::Value
73
- attribute :create_action, Shale::Type::Value
74
- attribute :instance, Shale::Type::Value
75
- attribute :classifier_collaboration, Shale::Type::Value
76
- attribute :classifier_role, Shale::Type::Value
77
- attribute :classifier_in_state, Shale::Type::Value
78
- attribute :link, Shale::Type::Value
79
- attribute :association_association_end, Shale::Type::Value
80
- attribute :xmi_id, Shale::Type::Value
81
- attribute :xmi_label, Shale::Type::Value
82
- attribute :xmi_uuid, Shale::Type::Value
83
- attribute :href, Shale::Type::Value
84
- attribute :xmi_idref, Shale::Type::Value
85
- attribute :model_element_name, ModelElementname, collection: true
86
- attribute :model_element_visibility, ModelElementvisibility, collection: true
87
- attribute :generalizable_element_is_root, GeneralizableElementisRoot, collection: true
88
- attribute :generalizable_element_is_leaf, GeneralizableElementisLeaf, collection: true
89
- attribute :generalizable_element_is_abstract, GeneralizableElementisAbstract, collection: true
90
- attribute :class_is_active, ClassisActive, collection: true
91
- attribute :xmi_extension, XMIextension, collection: true
92
- attribute :model_element_binding, ModelElementbinding, collection: true
93
- attribute :model_element_template, ModelElementtemplate, collection: true
94
- attribute :model_element_template_parameter, ModelElementtemplateParameter, collection: true
95
- attribute :model_element_implementation, ModelElementimplementation, collection: true
96
- attribute :model_element_view, ModelElementview, collection: true
97
- attribute :model_element_presentation, ModelElementpresentation, collection: true
98
- attribute :model_element_namespace, ModelElementnamespace, collection: true
99
- attribute :model_element_constraint, ModelElementconstraint, collection: true
100
- attribute :model_element_requirement, ModelElementrequirement, collection: true
101
- attribute :model_element_provision, ModelElementprovision, collection: true
102
- attribute :model_element_stereotype, ModelElementstereotype, collection: true
103
- attribute :model_element_element_reference, ModelElementelementReference, collection: true
104
- attribute :model_element_behavior, ModelElementbehavior, collection: true
105
- attribute :model_element_partition, ModelElementpartition, collection: true
106
- attribute :generalizable_element_generalization, GeneralizableElementgeneralization, collection: true
107
- attribute :generalizable_element_specialization, GeneralizableElementspecialization, collection: true
108
- attribute :classifier_parameter, Classifierparameter, collection: true
109
- attribute :classifier_structural_feature, ClassifierstructuralFeature, collection: true
110
- attribute :classifier_specification, Classifierspecification, collection: true
111
- attribute :classifier_realization, Classifierrealization, collection: true
112
- attribute :classifier_participant, Classifierparticipant, collection: true
113
- attribute :classifier_create_action, ClassifiercreateAction, collection: true
114
- attribute :classifier_instance, Classifierinstance, collection: true
115
- attribute :classifier_classifier_role, ClassifierclassifierRole, collection: true
116
- attribute :classifier_classifier_in_state, ClassifierclassifierInState, collection: true
117
- attribute :association_link, Associationlink, collection: true
118
- attribute :model_element_tagged_value, ModelElementtaggedValue, collection: true
119
- attribute :namespace_owned_element, NamespaceownedElement, collection: true
120
- attribute :classifier_feature, Classifierfeature, collection: true
121
- attribute :association_connection, Associationconnection, collection: true
122
-
123
- xml do
124
- root "AssociationClass"
125
- namespace "omg.org/UML1.3", "UML"
126
-
127
- map_attribute "name", to: :name
128
- map_attribute "visibility", to: :visibility
129
- map_attribute "isRoot", to: :is_root
130
- map_attribute "isLeaf", to: :is_leaf
131
- map_attribute "isAbstract", to: :is_abstract
132
- map_attribute "isActive", to: :is_active
133
- map_attribute "binding", to: :binding
134
- map_attribute "template", to: :template
135
- map_attribute "templateParameter", to: :template_parameter
136
- map_attribute "implementation", to: :implementation
137
- map_attribute "view", to: :view
138
- map_attribute "presentation", to: :presentation
139
- map_attribute "namespace", to: :namespace
140
- map_attribute "constraint", to: :constraint
141
- map_attribute "requirement", to: :requirement
142
- map_attribute "provision", to: :provision
143
- map_attribute "stereotype", to: :stereotype
144
- map_attribute "elementReference", to: :element_reference
145
- map_attribute "ModelElement.collaboration", to: :model_element_collaboration
146
- map_attribute "behavior", to: :behavior
147
- map_attribute "partition", to: :partition
148
- map_attribute "generalization", to: :generalization
149
- map_attribute "specialization", to: :specialization
150
- map_attribute "parameter", to: :parameter
151
- map_attribute "structuralFeature", to: :structural_feature
152
- map_attribute "specification", to: :specification
153
- map_attribute "realization", to: :realization
154
- map_attribute "Classifier.associationEnd", to: :classifier_association_end
155
- map_attribute "participant", to: :participant
156
- map_attribute "createAction", to: :create_action
157
- map_attribute "instance", to: :instance
158
- map_attribute "Classifier.collaboration", to: :classifier_collaboration
159
- map_attribute "classifierRole", to: :classifier_role
160
- map_attribute "classifierInState", to: :classifier_in_state
161
- map_attribute "link", to: :link
162
- map_attribute "Association.associationEnd", to: :association_association_end
163
- map_attribute "xmi.id", to: :xmi_id
164
- map_attribute "xmi.label", to: :xmi_label
165
- map_attribute "xmi.uuid", to: :xmi_uuid
166
- map_attribute "href", to: :href
167
- map_attribute "xmi.idref", to: :xmi_idref
168
- map_element "ModelElement.name", to: :model_element_name
169
- map_element "ModelElement.visibility", to: :model_element_visibility
170
- map_element "GeneralizableElement.isRoot", to: :generalizable_element_is_root
171
- map_element "GeneralizableElement.isLeaf", to: :generalizable_element_is_leaf
172
- map_element "GeneralizableElement.isAbstract", to: :generalizable_element_is_abstract
173
- map_element "Class.isActive", to: :class_is_active
174
- map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
175
- map_element "ModelElement.binding", to: :model_element_binding
176
- map_element "ModelElement.template", to: :model_element_template
177
- map_element "ModelElement.templateParameter", to: :model_element_template_parameter
178
- map_element "ModelElement.implementation", to: :model_element_implementation
179
- map_element "ModelElement.view", to: :model_element_view
180
- map_element "ModelElement.presentation", to: :model_element_presentation
181
- map_element "ModelElement.namespace", to: :model_element_namespace
182
- map_element "ModelElement.constraint", to: :model_element_constraint
183
- map_element "ModelElement.requirement", to: :model_element_requirement
184
- map_element "ModelElement.provision", to: :model_element_provision
185
- map_element "ModelElement.stereotype", to: :model_element_stereotype
186
- map_element "ModelElement.elementReference", to: :model_element_element_reference
187
- map_element "ModelElement.behavior", to: :model_element_behavior
188
- map_element "ModelElement.partition", to: :model_element_partition
189
- map_element "GeneralizableElement.generalization", to: :generalizable_element_generalization
190
- map_element "GeneralizableElement.specialization", to: :generalizable_element_specialization
191
- map_element "Classifier.parameter", to: :classifier_parameter
192
- map_element "Classifier.structuralFeature", to: :classifier_structural_feature
193
- map_element "Classifier.specification", to: :classifier_specification
194
- map_element "Classifier.realization", to: :classifier_realization
195
- map_element "Classifier.participant", to: :classifier_participant
196
- map_element "Classifier.createAction", to: :classifier_create_action
197
- map_element "Classifier.instance", to: :classifier_instance
198
- map_element "Classifier.classifierRole", to: :classifier_classifier_role
199
- map_element "Classifier.classifierInState", to: :classifier_classifier_in_state
200
- map_element "Association.link", to: :association_link
201
- map_element "ModelElement.taggedValue", to: :model_element_tagged_value
202
- map_element "Namespace.ownedElement", to: :namespace_owned_element
203
- map_element "Classifier.feature", to: :classifier_feature
204
- map_element "Association.connection", to: :association_connection
205
- end
206
- end
@@ -1,172 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "shale"
4
-
5
- require_relative "association_endaggregation"
6
- require_relative "association_endassociation"
7
- require_relative "association_endassociation_end_role"
8
- require_relative "association_endchangeable"
9
- require_relative "association_endis_navigable"
10
- require_relative "association_endis_ordered"
11
- require_relative "association_endlink_end"
12
- require_relative "association_endmultiplicity"
13
- require_relative "association_endqualifier"
14
- require_relative "association_endspecification"
15
- require_relative "association_endtarget_scope"
16
- require_relative "association_endtype"
17
- require_relative "model_elementbehavior"
18
- require_relative "model_elementbinding"
19
- require_relative "model_elementcollaboration"
20
- require_relative "model_elementconstraint"
21
- require_relative "model_elementelement_reference"
22
- require_relative "model_elementimplementation"
23
- require_relative "model_elementname"
24
- require_relative "model_elementnamespace"
25
- require_relative "model_elementpartition"
26
- require_relative "model_elementpresentation"
27
- require_relative "model_elementprovision"
28
- require_relative "model_elementrequirement"
29
- require_relative "model_elementstereotype"
30
- require_relative "model_elementtagged_value"
31
- require_relative "model_elementtemplate"
32
- require_relative "model_elementtemplate_parameter"
33
- require_relative "model_elementview"
34
- require_relative "model_elementvisibility"
35
- require_relative "xm_iextension"
36
-
37
- class AssociationEnd < Shale::Mapper
38
- attribute :name, Shale::Type::Value
39
- attribute :visibility, Shale::Type::String
40
- attribute :is_navigable, Shale::Type::String
41
- attribute :is_ordered, Shale::Type::String
42
- attribute :aggregation, Shale::Type::String
43
- attribute :multiplicity, Shale::Type::Value
44
- attribute :changeable, Shale::Type::String
45
- attribute :target_scope, Shale::Type::String
46
- attribute :binding, Shale::Type::Value
47
- attribute :template, Shale::Type::Value
48
- attribute :template_parameter, Shale::Type::Value
49
- attribute :implementation, Shale::Type::Value
50
- attribute :view, Shale::Type::Value
51
- attribute :presentation, Shale::Type::Value
52
- attribute :namespace, Shale::Type::Value
53
- attribute :constraint, Shale::Type::Value
54
- attribute :requirement, Shale::Type::Value
55
- attribute :provision, Shale::Type::Value
56
- attribute :stereotype, Shale::Type::Value
57
- attribute :element_reference, Shale::Type::Value
58
- attribute :collaboration, Shale::Type::Value
59
- attribute :behavior, Shale::Type::Value
60
- attribute :partition, Shale::Type::Value
61
- attribute :type, Shale::Type::Value
62
- attribute :specification, Shale::Type::Value
63
- attribute :association, Shale::Type::Value
64
- attribute :link_end, Shale::Type::Value
65
- attribute :association_end_role, Shale::Type::Value
66
- attribute :xmi_id, Shale::Type::Value
67
- attribute :xmi_label, Shale::Type::Value
68
- attribute :xmi_uuid, Shale::Type::Value
69
- attribute :href, Shale::Type::Value
70
- attribute :xmi_idref, Shale::Type::Value
71
- attribute :model_element_name, ModelElementname, collection: true
72
- attribute :model_element_visibility, ModelElementvisibility, collection: true
73
- attribute :association_end_is_navigable, AssociationEndisNavigable, collection: true
74
- attribute :association_end_is_ordered, AssociationEndisOrdered, collection: true
75
- attribute :association_end_aggregation, AssociationEndaggregation, collection: true
76
- attribute :association_end_multiplicity, AssociationEndmultiplicity, collection: true
77
- attribute :association_end_changeable, AssociationEndchangeable, collection: true
78
- attribute :association_end_target_scope, AssociationEndtargetScope, collection: true
79
- attribute :xmi_extension, XMIextension, collection: true
80
- attribute :model_element_binding, ModelElementbinding, collection: true
81
- attribute :model_element_template, ModelElementtemplate, collection: true
82
- attribute :model_element_template_parameter, ModelElementtemplateParameter, collection: true
83
- attribute :model_element_implementation, ModelElementimplementation, collection: true
84
- attribute :model_element_view, ModelElementview, collection: true
85
- attribute :model_element_presentation, ModelElementpresentation, collection: true
86
- attribute :model_element_namespace, ModelElementnamespace, collection: true
87
- attribute :model_element_constraint, ModelElementconstraint, collection: true
88
- attribute :model_element_requirement, ModelElementrequirement, collection: true
89
- attribute :model_element_provision, ModelElementprovision, collection: true
90
- attribute :model_element_stereotype, ModelElementstereotype, collection: true
91
- attribute :model_element_element_reference, ModelElementelementReference, collection: true
92
- attribute :model_element_collaboration, ModelElementcollaboration, collection: true
93
- attribute :model_element_behavior, ModelElementbehavior, collection: true
94
- attribute :model_element_partition, ModelElementpartition, collection: true
95
- attribute :association_end_type, AssociationEndtype, collection: true
96
- attribute :association_end_specification, AssociationEndspecification, collection: true
97
- attribute :association_end_association, AssociationEndassociation, collection: true
98
- attribute :association_end_link_end, AssociationEndlinkEnd, collection: true
99
- attribute :association_end_association_end_role, AssociationEndassociationEndRole, collection: true
100
- attribute :model_element_tagged_value, ModelElementtaggedValue, collection: true
101
- attribute :association_end_qualifier, AssociationEndqualifier, collection: true
102
-
103
- xml do
104
- root "AssociationEnd"
105
- namespace "omg.org/UML1.3", "UML"
106
-
107
- map_attribute "name", to: :name
108
- map_attribute "visibility", to: :visibility
109
- map_attribute "isNavigable", to: :is_navigable
110
- map_attribute "isOrdered", to: :is_ordered
111
- map_attribute "aggregation", to: :aggregation
112
- map_attribute "multiplicity", to: :multiplicity
113
- map_attribute "changeable", to: :changeable
114
- map_attribute "targetScope", to: :target_scope
115
- map_attribute "binding", to: :binding
116
- map_attribute "template", to: :template
117
- map_attribute "templateParameter", to: :template_parameter
118
- map_attribute "implementation", to: :implementation
119
- map_attribute "view", to: :view
120
- map_attribute "presentation", to: :presentation
121
- map_attribute "namespace", to: :namespace
122
- map_attribute "constraint", to: :constraint
123
- map_attribute "requirement", to: :requirement
124
- map_attribute "provision", to: :provision
125
- map_attribute "stereotype", to: :stereotype
126
- map_attribute "elementReference", to: :element_reference
127
- map_attribute "collaboration", to: :collaboration
128
- map_attribute "behavior", to: :behavior
129
- map_attribute "partition", to: :partition
130
- map_attribute "type", to: :type
131
- map_attribute "specification", to: :specification
132
- map_attribute "association", to: :association
133
- map_attribute "linkEnd", to: :link_end
134
- map_attribute "associationEndRole", to: :association_end_role
135
- map_attribute "xmi.id", to: :xmi_id
136
- map_attribute "xmi.label", to: :xmi_label
137
- map_attribute "xmi.uuid", to: :xmi_uuid
138
- map_attribute "href", to: :href
139
- map_attribute "xmi.idref", to: :xmi_idref
140
- map_element "ModelElement.name", to: :model_element_name
141
- map_element "ModelElement.visibility", to: :model_element_visibility
142
- map_element "AssociationEnd.isNavigable", to: :association_end_is_navigable
143
- map_element "AssociationEnd.isOrdered", to: :association_end_is_ordered
144
- map_element "AssociationEnd.aggregation", to: :association_end_aggregation
145
- map_element "AssociationEnd.multiplicity", to: :association_end_multiplicity
146
- map_element "AssociationEnd.changeable", to: :association_end_changeable
147
- map_element "AssociationEnd.targetScope", to: :association_end_target_scope
148
- map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
149
- map_element "ModelElement.binding", to: :model_element_binding
150
- map_element "ModelElement.template", to: :model_element_template
151
- map_element "ModelElement.templateParameter", to: :model_element_template_parameter
152
- map_element "ModelElement.implementation", to: :model_element_implementation
153
- map_element "ModelElement.view", to: :model_element_view
154
- map_element "ModelElement.presentation", to: :model_element_presentation
155
- map_element "ModelElement.namespace", to: :model_element_namespace
156
- map_element "ModelElement.constraint", to: :model_element_constraint
157
- map_element "ModelElement.requirement", to: :model_element_requirement
158
- map_element "ModelElement.provision", to: :model_element_provision
159
- map_element "ModelElement.stereotype", to: :model_element_stereotype
160
- map_element "ModelElement.elementReference", to: :model_element_element_reference
161
- map_element "ModelElement.collaboration", to: :model_element_collaboration
162
- map_element "ModelElement.behavior", to: :model_element_behavior
163
- map_element "ModelElement.partition", to: :model_element_partition
164
- map_element "AssociationEnd.type", to: :association_end_type
165
- map_element "AssociationEnd.specification", to: :association_end_specification
166
- map_element "AssociationEnd.association", to: :association_end_association
167
- map_element "AssociationEnd.linkEnd", to: :association_end_link_end
168
- map_element "AssociationEnd.associationEndRole", to: :association_end_association_end_role
169
- map_element "ModelElement.taggedValue", to: :model_element_tagged_value
170
- map_element "AssociationEnd.qualifier", to: :association_end_qualifier
171
- end
172
- end