xmi 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +14 -0
- data/.github/workflows/release.yml +22 -0
- data/.rubocop.yml +6 -0
- data/README.adoc +87 -2
- data/lib/xmi/documentation.rb +6 -6
- data/lib/xmi/ea_root.rb +316 -0
- data/lib/xmi/extension.rb +5 -5
- data/lib/xmi/root.rb +43 -20
- data/lib/xmi/root13.rb +0 -1
- data/lib/xmi/sparx.rb +368 -154
- data/lib/xmi/uml.rb +422 -131
- data/lib/xmi/uml13/abstraction.rb +90 -88
- data/lib/xmi/uml13/action.rb +86 -84
- data/lib/xmi/uml13/action_sequence.rb +76 -74
- data/lib/xmi/uml13/action_sequenceaction.rb +23 -21
- data/lib/xmi/uml13/action_sequencestate.rb +7 -5
- data/lib/xmi/uml13/action_sequencestate2.rb +7 -5
- data/lib/xmi/uml13/action_sequencetransition.rb +7 -5
- data/lib/xmi/uml13/action_state.rb +89 -87
- data/lib/xmi/uml13/actionaction_sequence.rb +7 -5
- data/lib/xmi/uml13/actionactual_argument.rb +7 -5
- data/lib/xmi/uml13/actionis_asynchronous.rb +6 -4
- data/lib/xmi/uml13/actionmessage.rb +7 -5
- data/lib/xmi/uml13/actionrecurrence.rb +15 -13
- data/lib/xmi/uml13/actionrequest.rb +7 -5
- data/lib/xmi/uml13/actionscript.rb +7 -5
- data/lib/xmi/uml13/actiontarget.rb +7 -5
- data/lib/xmi/uml13/activity_model.rb +77 -75
- data/lib/xmi/uml13/activity_modelpartition.rb +7 -5
- data/lib/xmi/uml13/activity_state.rb +88 -86
- data/lib/xmi/uml13/actor.rb +113 -111
- data/lib/xmi/uml13/argument.rb +17 -15
- data/lib/xmi/uml13/argumentaction.rb +7 -5
- data/lib/xmi/uml13/argumentvalue.rb +15 -13
- data/lib/xmi/uml13/association.rb +90 -88
- data/lib/xmi/uml13/association_class.rb +120 -118
- data/lib/xmi/uml13/association_end.rb +100 -98
- data/lib/xmi/uml13/association_end_role.rb +106 -104
- data/lib/xmi/uml13/association_end_roleassociation_role.rb +7 -5
- data/lib/xmi/uml13/association_end_rolebase.rb +7 -5
- data/lib/xmi/uml13/association_endaggregation.rb +6 -4
- data/lib/xmi/uml13/association_endassociation.rb +7 -5
- data/lib/xmi/uml13/association_endassociation_end_role.rb +7 -5
- data/lib/xmi/uml13/association_endchangeable.rb +6 -4
- data/lib/xmi/uml13/association_endis_navigable.rb +6 -4
- data/lib/xmi/uml13/association_endis_ordered.rb +6 -4
- data/lib/xmi/uml13/association_endlink_end.rb +7 -5
- data/lib/xmi/uml13/association_endmultiplicity.rb +7 -5
- data/lib/xmi/uml13/association_endqualifier.rb +7 -5
- data/lib/xmi/uml13/association_endspecification.rb +7 -5
- data/lib/xmi/uml13/association_endtarget_scope.rb +6 -4
- data/lib/xmi/uml13/association_endtype.rb +7 -5
- data/lib/xmi/uml13/association_role.rb +95 -93
- data/lib/xmi/uml13/association_rolebase.rb +7 -5
- data/lib/xmi/uml13/association_rolemultiplicity.rb +7 -5
- data/lib/xmi/uml13/association_rolenamespace.rb +7 -5
- data/lib/xmi/uml13/associationassociation_end.rb +7 -5
- data/lib/xmi/uml13/associationconnection.rb +9 -7
- data/lib/xmi/uml13/associationlink.rb +7 -5
- data/lib/xmi/uml13/attribute.rb +94 -92
- data/lib/xmi/uml13/attribute_link.rb +74 -72
- data/lib/xmi/uml13/attribute_linkattribute.rb +7 -5
- data/lib/xmi/uml13/attribute_linkinstance.rb +7 -5
- data/lib/xmi/uml13/attribute_linkvalue.rb +7 -5
- data/lib/xmi/uml13/attributeassociation_end.rb +7 -5
- data/lib/xmi/uml13/attributeattribute_link.rb +7 -5
- data/lib/xmi/uml13/attributeinitial_value.rb +15 -13
- data/lib/xmi/uml13/auxiliary_elements.rb +28 -26
- data/lib/xmi/uml13/behavioral_elements.rb +18 -16
- data/lib/xmi/uml13/behavioral_feature.rb +82 -80
- data/lib/xmi/uml13/behavioral_featureis_query.rb +6 -4
- data/lib/xmi/uml13/behavioral_featureparameter.rb +7 -5
- data/lib/xmi/uml13/behavioral_featureraised_exception.rb +7 -5
- data/lib/xmi/uml13/binding.rb +81 -79
- data/lib/xmi/uml13/bindingargument.rb +175 -173
- data/lib/xmi/uml13/boolean_expression.rb +18 -16
- data/lib/xmi/uml13/call_action.rb +89 -87
- data/lib/xmi/uml13/call_actionmode.rb +6 -4
- data/lib/xmi/uml13/call_event.rb +74 -72
- data/lib/xmi/uml13/call_eventoperation.rb +7 -5
- data/lib/xmi/uml13/change_event.rb +73 -71
- data/lib/xmi/uml13/change_eventchange_expression.rb +7 -5
- data/lib/xmi/uml13/class.rb +116 -114
- data/lib/xmi/uml13/classifier.rb +113 -111
- data/lib/xmi/uml13/classifier_in_state.rb +122 -120
- data/lib/xmi/uml13/classifier_in_statein_state.rb +7 -5
- data/lib/xmi/uml13/classifier_in_stateobject_flow_state.rb +7 -5
- data/lib/xmi/uml13/classifier_in_statetype.rb +7 -5
- data/lib/xmi/uml13/classifier_role.rb +130 -128
- data/lib/xmi/uml13/classifier_roleassociation_end_role.rb +7 -5
- data/lib/xmi/uml13/classifier_roleavailable_feature.rb +7 -5
- data/lib/xmi/uml13/classifier_rolebase.rb +7 -5
- data/lib/xmi/uml13/classifier_rolemessage.rb +7 -5
- data/lib/xmi/uml13/classifier_rolemessage2.rb +7 -5
- data/lib/xmi/uml13/classifier_rolemultiplicity.rb +7 -5
- data/lib/xmi/uml13/classifier_rolenamespace.rb +7 -5
- data/lib/xmi/uml13/classifierassociation_end.rb +7 -5
- data/lib/xmi/uml13/classifierclassifier_in_state.rb +7 -5
- data/lib/xmi/uml13/classifierclassifier_role.rb +7 -5
- data/lib/xmi/uml13/classifiercollaboration.rb +7 -5
- data/lib/xmi/uml13/classifiercreate_action.rb +7 -5
- data/lib/xmi/uml13/classifierfeature.rb +19 -17
- data/lib/xmi/uml13/classifierinstance.rb +7 -5
- data/lib/xmi/uml13/classifierparameter.rb +7 -5
- data/lib/xmi/uml13/classifierparticipant.rb +7 -5
- data/lib/xmi/uml13/classifierrealization.rb +7 -5
- data/lib/xmi/uml13/classifierspecification.rb +7 -5
- data/lib/xmi/uml13/classifierstructural_feature.rb +7 -5
- data/lib/xmi/uml13/classis_active.rb +6 -4
- data/lib/xmi/uml13/collaboration.rb +78 -76
- data/lib/xmi/uml13/collaborationconstraining_element.rb +7 -5
- data/lib/xmi/uml13/collaborationinteraction.rb +7 -5
- data/lib/xmi/uml13/collaborationrepresented_classifier.rb +7 -5
- data/lib/xmi/uml13/collaborationrepresented_operation.rb +7 -5
- data/lib/xmi/uml13/collaborations.rb +22 -20
- data/lib/xmi/uml13/comment.rb +65 -63
- data/lib/xmi/uml13/common_behavior.rb +56 -54
- data/lib/xmi/uml13/component.rb +119 -117
- data/lib/xmi/uml13/componentdeployment.rb +7 -5
- data/lib/xmi/uml13/componentimplements.rb +7 -5
- data/lib/xmi/uml13/composite_state.rb +94 -92
- data/lib/xmi/uml13/composite_stateis_concurrent.rb +6 -4
- data/lib/xmi/uml13/composite_statesubstate.rb +23 -21
- data/lib/xmi/uml13/constraint.rb +73 -71
- data/lib/xmi/uml13/constraintbody.rb +7 -5
- data/lib/xmi/uml13/constraintconstrained_element.rb +7 -5
- data/lib/xmi/uml13/constraintconstrained_stereotype.rb +7 -5
- data/lib/xmi/uml13/core.rb +52 -50
- data/lib/xmi/uml13/create_action.rb +89 -87
- data/lib/xmi/uml13/create_actioninstantiation.rb +7 -5
- data/lib/xmi/uml13/data_type.rb +113 -111
- data/lib/xmi/uml13/data_types.rb +36 -34
- data/lib/xmi/uml13/data_value.rb +85 -83
- data/lib/xmi/uml13/dependency.rb +79 -77
- data/lib/xmi/uml13/dependencyclient.rb +7 -5
- data/lib/xmi/uml13/dependencydescription.rb +7 -5
- data/lib/xmi/uml13/dependencyowning_dependency.rb +7 -5
- data/lib/xmi/uml13/dependencysub_dependencies.rb +15 -13
- data/lib/xmi/uml13/dependencysupplier.rb +7 -5
- data/lib/xmi/uml13/destroy_action.rb +86 -84
- data/lib/xmi/uml13/diagram.rb +25 -23
- data/lib/xmi/uml13/diagram_compositions.rb +7 -5
- data/lib/xmi/uml13/diagram_element.rb +20 -18
- data/lib/xmi/uml13/diagram_element_properties.rb +9 -7
- data/lib/xmi/uml13/diagram_elementdiagram.rb +7 -5
- data/lib/xmi/uml13/diagram_elementgeometry.rb +7 -5
- data/lib/xmi/uml13/diagram_elementstyle.rb +7 -5
- data/lib/xmi/uml13/diagram_properties.rb +13 -11
- data/lib/xmi/uml13/diagramdiagram_type.rb +7 -5
- data/lib/xmi/uml13/diagramelement.rb +7 -5
- data/lib/xmi/uml13/diagramname.rb +7 -5
- data/lib/xmi/uml13/diagramowner.rb +157 -155
- data/lib/xmi/uml13/diagramstyle.rb +7 -5
- data/lib/xmi/uml13/diagramtool_name.rb +7 -5
- data/lib/xmi/uml13/element.rb +12 -10
- data/lib/xmi/uml13/element_reference.rb +24 -22
- data/lib/xmi/uml13/element_referencealias.rb +7 -5
- data/lib/xmi/uml13/element_referencepackage.rb +7 -5
- data/lib/xmi/uml13/element_referencereferenced_element.rb +7 -5
- data/lib/xmi/uml13/element_referencevisibility.rb +6 -4
- data/lib/xmi/uml13/enumeration.rb +115 -113
- data/lib/xmi/uml13/enumeration_literal.rb +18 -16
- data/lib/xmi/uml13/enumeration_literalenumeration.rb +7 -5
- data/lib/xmi/uml13/enumeration_literalname.rb +7 -5
- data/lib/xmi/uml13/enumerationliteral.rb +7 -5
- data/lib/xmi/uml13/event.rb +71 -69
- data/lib/xmi/uml13/eventstate.rb +7 -5
- data/lib/xmi/uml13/eventtransition.rb +7 -5
- data/lib/xmi/uml13/exception.rb +99 -97
- data/lib/xmi/uml13/exceptioncontext.rb +7 -5
- data/lib/xmi/uml13/expression.rb +18 -16
- data/lib/xmi/uml13/expressionbody.rb +7 -5
- data/lib/xmi/uml13/expressionlanguage.rb +7 -5
- data/lib/xmi/uml13/extension_mechanisms.rb +14 -12
- data/lib/xmi/uml13/feature.rb +74 -72
- data/lib/xmi/uml13/featureclassifier_role.rb +7 -5
- data/lib/xmi/uml13/featureowner.rb +7 -5
- data/lib/xmi/uml13/featureowner_scope.rb +6 -4
- data/lib/xmi/uml13/foundation.rb +18 -16
- data/lib/xmi/uml13/generalizable_element.rb +82 -80
- data/lib/xmi/uml13/generalizable_elementgeneralization.rb +7 -5
- data/lib/xmi/uml13/generalizable_elementis_abstract.rb +6 -4
- data/lib/xmi/uml13/generalizable_elementis_leaf.rb +6 -4
- data/lib/xmi/uml13/generalizable_elementis_root.rb +6 -4
- data/lib/xmi/uml13/generalizable_elementspecialization.rb +7 -5
- data/lib/xmi/uml13/generalization.rb +74 -72
- data/lib/xmi/uml13/generalizationdiscriminator.rb +7 -5
- data/lib/xmi/uml13/generalizationsubtype.rb +7 -5
- data/lib/xmi/uml13/generalizationsupertype.rb +7 -5
- data/lib/xmi/uml13/geometry.rb +15 -13
- data/lib/xmi/uml13/geometrybody.rb +7 -5
- data/lib/xmi/uml13/graphic_marker.rb +15 -13
- data/lib/xmi/uml13/graphic_markerbody.rb +7 -5
- data/lib/xmi/uml13/guard.rb +70 -68
- data/lib/xmi/uml13/guardexpression.rb +7 -5
- data/lib/xmi/uml13/guardtransition.rb +7 -5
- data/lib/xmi/uml13/instance.rb +85 -83
- data/lib/xmi/uml13/instanceattribute_link.rb +7 -5
- data/lib/xmi/uml13/instanceclassifier.rb +7 -5
- data/lib/xmi/uml13/instancelink_end.rb +7 -5
- data/lib/xmi/uml13/instancemessage_instance.rb +7 -5
- data/lib/xmi/uml13/instancemessage_instance2.rb +7 -5
- data/lib/xmi/uml13/instancemessage_instance3.rb +7 -5
- data/lib/xmi/uml13/instanceslot.rb +7 -5
- data/lib/xmi/uml13/interaction.rb +70 -68
- data/lib/xmi/uml13/interactioncontext.rb +7 -5
- data/lib/xmi/uml13/interactionmessage.rb +7 -5
- data/lib/xmi/uml13/interface.rb +113 -111
- data/lib/xmi/uml13/link.rb +70 -68
- data/lib/xmi/uml13/link_end.rb +74 -72
- data/lib/xmi/uml13/link_endassociation_end.rb +7 -5
- data/lib/xmi/uml13/link_endinstance.rb +7 -5
- data/lib/xmi/uml13/link_endlink.rb +7 -5
- data/lib/xmi/uml13/link_object.rb +90 -88
- data/lib/xmi/uml13/linkassociation.rb +7 -5
- data/lib/xmi/uml13/linklink_role.rb +7 -5
- data/lib/xmi/uml13/local_invocation.rb +86 -84
- data/lib/xmi/uml13/mapping.rb +15 -13
- data/lib/xmi/uml13/mappingbody.rb +7 -5
- data/lib/xmi/uml13/message.rb +89 -87
- data/lib/xmi/uml13/message_instance.rb +77 -75
- data/lib/xmi/uml13/message_instanceargument.rb +7 -5
- data/lib/xmi/uml13/message_instancereceiver.rb +7 -5
- data/lib/xmi/uml13/message_instancesender.rb +7 -5
- data/lib/xmi/uml13/message_instancespecification.rb +7 -5
- data/lib/xmi/uml13/messageaction.rb +7 -5
- data/lib/xmi/uml13/messageactivator.rb +7 -5
- data/lib/xmi/uml13/messageinteraction.rb +7 -5
- data/lib/xmi/uml13/messagemessage.rb +7 -5
- data/lib/xmi/uml13/messagemessage2.rb +7 -5
- data/lib/xmi/uml13/messagepredecessor.rb +7 -5
- data/lib/xmi/uml13/messagereceiver.rb +7 -5
- data/lib/xmi/uml13/messagesender.rb +7 -5
- data/lib/xmi/uml13/method.rb +87 -85
- data/lib/xmi/uml13/methodbody.rb +7 -5
- data/lib/xmi/uml13/methodspecification.rb +7 -5
- data/lib/xmi/uml13/model.rb +81 -79
- data/lib/xmi/uml13/model_element.rb +65 -63
- data/lib/xmi/uml13/model_element_owns_diagramowned_diagram.rb +7 -5
- data/lib/xmi/uml13/model_elementbehavior.rb +7 -5
- data/lib/xmi/uml13/model_elementbinding.rb +7 -5
- data/lib/xmi/uml13/model_elementcollaboration.rb +7 -5
- data/lib/xmi/uml13/model_elementconstraint.rb +7 -5
- data/lib/xmi/uml13/model_elementelement_reference.rb +7 -5
- data/lib/xmi/uml13/model_elementimplementation.rb +7 -5
- data/lib/xmi/uml13/model_elementname.rb +7 -5
- data/lib/xmi/uml13/model_elementnamespace.rb +7 -5
- data/lib/xmi/uml13/model_elementpartition.rb +7 -5
- data/lib/xmi/uml13/model_elementpresentation.rb +7 -5
- data/lib/xmi/uml13/model_elementprovision.rb +7 -5
- data/lib/xmi/uml13/model_elementrequirement.rb +7 -5
- data/lib/xmi/uml13/model_elementstereotype.rb +7 -5
- data/lib/xmi/uml13/model_elementtagged_value.rb +7 -5
- data/lib/xmi/uml13/model_elementtemplate.rb +7 -5
- data/lib/xmi/uml13/model_elementtemplate_parameter.rb +7 -5
- data/lib/xmi/uml13/model_elementview.rb +7 -5
- data/lib/xmi/uml13/model_elementvisibility.rb +6 -4
- data/lib/xmi/uml13/model_management.rb +18 -16
- data/lib/xmi/uml13/multiplicity_range.rb +18 -16
- data/lib/xmi/uml13/multiplicity_rangelower.rb +7 -5
- data/lib/xmi/uml13/multiplicity_rangeupper.rb +7 -5
- data/lib/xmi/uml13/namespace.rb +67 -65
- data/lib/xmi/uml13/namespaceowned_element.rb +175 -173
- data/lib/xmi/uml13/node.rb +116 -114
- data/lib/xmi/uml13/nodecomponent.rb +7 -5
- data/lib/xmi/uml13/object.rb +85 -83
- data/lib/xmi/uml13/object_flow_state.rb +92 -90
- data/lib/xmi/uml13/object_flow_statetype_state.rb +7 -5
- data/lib/xmi/uml13/object_set_expression.rb +18 -16
- data/lib/xmi/uml13/operation.rb +102 -100
- data/lib/xmi/uml13/operationcollaboration.rb +7 -5
- data/lib/xmi/uml13/operationconcurrency.rb +6 -4
- data/lib/xmi/uml13/operationis_polymorphic.rb +6 -4
- data/lib/xmi/uml13/operationmethod.rb +7 -5
- data/lib/xmi/uml13/operationoccurrence.rb +7 -5
- data/lib/xmi/uml13/operationspecification.rb +7 -5
- data/lib/xmi/uml13/package.rb +81 -79
- data/lib/xmi/uml13/packageelement_reference.rb +7 -5
- data/lib/xmi/uml13/parameter.rb +79 -77
- data/lib/xmi/uml13/parameterbehavioral_feature.rb +7 -5
- data/lib/xmi/uml13/parameterdefault_value.rb +15 -13
- data/lib/xmi/uml13/parameterkind.rb +6 -4
- data/lib/xmi/uml13/parametersignal.rb +7 -5
- data/lib/xmi/uml13/parametertype.rb +7 -5
- data/lib/xmi/uml13/partition.rb +71 -69
- data/lib/xmi/uml13/partitionactivity_model.rb +7 -5
- data/lib/xmi/uml13/partitioncontents.rb +7 -5
- data/lib/xmi/uml13/presentation.rb +22 -20
- data/lib/xmi/uml13/presentationgeometry.rb +7 -5
- data/lib/xmi/uml13/presentationmodel.rb +7 -5
- data/lib/xmi/uml13/presentationstyle.rb +7 -5
- data/lib/xmi/uml13/presentationview_element.rb +7 -5
- data/lib/xmi/uml13/primitive.rb +113 -111
- data/lib/xmi/uml13/procedure_expression.rb +18 -16
- data/lib/xmi/uml13/pseudo_state.rb +77 -75
- data/lib/xmi/uml13/pseudo_statekind.rb +6 -4
- data/lib/xmi/uml13/reception.rb +91 -89
- data/lib/xmi/uml13/receptionis_polymorphic.rb +6 -4
- data/lib/xmi/uml13/receptionsignal.rb +7 -5
- data/lib/xmi/uml13/receptionspecification.rb +7 -5
- data/lib/xmi/uml13/refinement.rb +81 -79
- data/lib/xmi/uml13/refinementmapping.rb +7 -5
- data/lib/xmi/uml13/request.rb +71 -69
- data/lib/xmi/uml13/requestaction.rb +7 -5
- data/lib/xmi/uml13/requestmessage_instance.rb +7 -5
- data/lib/xmi/uml13/return_action.rb +86 -84
- data/lib/xmi/uml13/send_action.rb +86 -84
- data/lib/xmi/uml13/signal.rb +96 -94
- data/lib/xmi/uml13/signal_event.rb +74 -72
- data/lib/xmi/uml13/signal_eventsignal.rb +7 -5
- data/lib/xmi/uml13/signaloccurrence.rb +7 -5
- data/lib/xmi/uml13/signalparameter.rb +7 -5
- data/lib/xmi/uml13/signalreception.rb +7 -5
- data/lib/xmi/uml13/simple_state.rb +89 -87
- data/lib/xmi/uml13/state.rb +89 -87
- data/lib/xmi/uml13/state_machine.rb +75 -73
- data/lib/xmi/uml13/state_machinecontext.rb +7 -5
- data/lib/xmi/uml13/state_machines.rb +50 -48
- data/lib/xmi/uml13/state_machinesubmachine_state.rb +7 -5
- data/lib/xmi/uml13/state_machinetop.rb +19 -17
- data/lib/xmi/uml13/state_machinetransitions.rb +7 -5
- data/lib/xmi/uml13/state_vertex.rb +74 -72
- data/lib/xmi/uml13/state_vertexincoming.rb +7 -5
- data/lib/xmi/uml13/state_vertexoutgoing.rb +7 -5
- data/lib/xmi/uml13/state_vertexparent.rb +7 -5
- data/lib/xmi/uml13/stateclassifier_in_state.rb +7 -5
- data/lib/xmi/uml13/statedeferred_event.rb +7 -5
- data/lib/xmi/uml13/stateentry.rb +7 -5
- data/lib/xmi/uml13/stateexit.rb +7 -5
- data/lib/xmi/uml13/stateinternal_transition.rb +7 -5
- data/lib/xmi/uml13/statestate_machine.rb +7 -5
- data/lib/xmi/uml13/stereotype.rb +95 -93
- data/lib/xmi/uml13/stereotypebase_class.rb +7 -5
- data/lib/xmi/uml13/stereotypeextended_element.rb +7 -5
- data/lib/xmi/uml13/stereotypeicon.rb +7 -5
- data/lib/xmi/uml13/stereotyperequired_tag.rb +7 -5
- data/lib/xmi/uml13/stereotypestereotype_constraint.rb +7 -5
- data/lib/xmi/uml13/structural_feature.rb +86 -84
- data/lib/xmi/uml13/structural_featurechangeable.rb +6 -4
- data/lib/xmi/uml13/structural_featuremultiplicity.rb +7 -5
- data/lib/xmi/uml13/structural_featuretarget_scope.rb +6 -4
- data/lib/xmi/uml13/structural_featuretype.rb +7 -5
- data/lib/xmi/uml13/structure.rb +113 -111
- data/lib/xmi/uml13/submachine_state.rb +88 -86
- data/lib/xmi/uml13/submachine_statestate_machine.rb +7 -5
- data/lib/xmi/uml13/subsystem.rb +115 -113
- data/lib/xmi/uml13/subsystemis_instantiable.rb +6 -4
- data/lib/xmi/uml13/tagged_value.rb +24 -22
- data/lib/xmi/uml13/tagged_valuemodel_element.rb +7 -5
- data/lib/xmi/uml13/tagged_valuestereotype.rb +7 -5
- data/lib/xmi/uml13/tagged_valuetag.rb +7 -5
- data/lib/xmi/uml13/tagged_valuevalue.rb +7 -5
- data/lib/xmi/uml13/terminate_action.rb +86 -84
- data/lib/xmi/uml13/time_event.rb +73 -71
- data/lib/xmi/uml13/time_eventduration.rb +7 -5
- data/lib/xmi/uml13/time_expression.rb +18 -16
- data/lib/xmi/uml13/trace.rb +79 -77
- data/lib/xmi/uml13/transition.rb +84 -82
- data/lib/xmi/uml13/transitioneffect.rb +7 -5
- data/lib/xmi/uml13/transitionguard.rb +7 -5
- data/lib/xmi/uml13/transitionsource.rb +7 -5
- data/lib/xmi/uml13/transitionstate.rb +7 -5
- data/lib/xmi/uml13/transitionstatemachine.rb +7 -5
- data/lib/xmi/uml13/transitiontarget.rb +7 -5
- data/lib/xmi/uml13/transitiontrigger.rb +7 -5
- data/lib/xmi/uml13/uninterpreted_action.rb +89 -87
- data/lib/xmi/uml13/uninterpreted_actionbody.rb +7 -5
- data/lib/xmi/uml13/usage.rb +79 -77
- data/lib/xmi/uml13/use_case.rb +116 -114
- data/lib/xmi/uml13/use_case_instance.rb +85 -83
- data/lib/xmi/uml13/use_caseextension_point.rb +7 -5
- data/lib/xmi/uml13/use_cases.rb +16 -14
- data/lib/xmi/uml13/view_element.rb +18 -16
- data/lib/xmi/uml13/view_elementmodel.rb +7 -5
- data/lib/xmi/uml13/view_elementpresentation.rb +7 -5
- data/lib/xmi/uml13/xm_iextension.rb +11 -9
- data/lib/xmi/uml13/xm_ireference.rb +6 -4
- data/lib/xmi/uml13.rb +2 -0
- data/lib/xmi/version.rb +1 -1
- data/lib/xmi.rb +10 -0
- data/xmi.gemspec +2 -2
- metadata +10 -22
- data/.github/workflows/main.yml +0 -27
@@ -1,90 +1,92 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
require_relative
|
6
|
-
require_relative
|
7
|
-
require_relative
|
8
|
-
require_relative
|
9
|
-
require_relative
|
10
|
-
require_relative
|
11
|
-
require_relative
|
12
|
-
require_relative
|
13
|
-
require_relative
|
14
|
-
require_relative
|
15
|
-
require_relative
|
16
|
-
require_relative
|
17
|
-
require_relative
|
18
|
-
require_relative
|
19
|
-
require_relative
|
20
|
-
require_relative
|
21
|
-
require_relative
|
22
|
-
require_relative
|
23
|
-
require_relative
|
24
|
-
require_relative
|
25
|
-
require_relative
|
26
|
-
require_relative
|
27
|
-
require_relative
|
28
|
-
require_relative
|
29
|
-
require_relative
|
30
|
-
require_relative
|
31
|
-
require_relative
|
32
|
-
require_relative
|
33
|
-
require_relative
|
34
|
-
require_relative
|
35
|
-
require_relative
|
36
|
-
require_relative
|
37
|
-
require_relative
|
38
|
-
require_relative
|
39
|
-
require_relative
|
40
|
-
require_relative
|
41
|
-
require_relative
|
42
|
-
require_relative
|
43
|
-
require_relative
|
44
|
-
require_relative
|
45
|
-
require_relative
|
46
|
-
require_relative
|
47
|
-
require_relative
|
48
|
-
require_relative
|
49
|
-
require_relative
|
50
|
-
require_relative
|
51
|
-
require_relative
|
52
|
-
require_relative
|
53
|
-
require_relative
|
54
|
-
require_relative
|
55
|
-
require_relative
|
56
|
-
require_relative
|
57
|
-
require_relative
|
58
|
-
require_relative
|
59
|
-
require_relative
|
60
|
-
require_relative
|
61
|
-
require_relative
|
62
|
-
require_relative
|
63
|
-
require_relative
|
64
|
-
require_relative
|
65
|
-
require_relative
|
66
|
-
require_relative
|
67
|
-
require_relative
|
68
|
-
require_relative
|
69
|
-
require_relative
|
70
|
-
require_relative
|
71
|
-
require_relative
|
72
|
-
require_relative
|
73
|
-
require_relative
|
74
|
-
require_relative
|
75
|
-
require_relative
|
76
|
-
require_relative
|
77
|
-
require_relative
|
78
|
-
require_relative
|
79
|
-
require_relative
|
80
|
-
require_relative
|
81
|
-
require_relative
|
82
|
-
require_relative
|
83
|
-
require_relative
|
84
|
-
require_relative
|
85
|
-
require_relative
|
86
|
-
require_relative
|
87
|
-
require_relative
|
3
|
+
require "shale"
|
4
|
+
|
5
|
+
require_relative "action"
|
6
|
+
require_relative "action_sequence"
|
7
|
+
require_relative "action_state"
|
8
|
+
require_relative "activity_model"
|
9
|
+
require_relative "activity_state"
|
10
|
+
require_relative "actor"
|
11
|
+
require_relative "association"
|
12
|
+
require_relative "association_class"
|
13
|
+
require_relative "association_end"
|
14
|
+
require_relative "association_end_role"
|
15
|
+
require_relative "association_role"
|
16
|
+
require_relative "attribute"
|
17
|
+
require_relative "attribute_link"
|
18
|
+
require_relative "behavioral_feature"
|
19
|
+
require_relative "binding"
|
20
|
+
require_relative "call_action"
|
21
|
+
require_relative "call_event"
|
22
|
+
require_relative "change_event"
|
23
|
+
require_relative "class"
|
24
|
+
require_relative "classifier"
|
25
|
+
require_relative "classifier_in_state"
|
26
|
+
require_relative "classifier_role"
|
27
|
+
require_relative "collaboration"
|
28
|
+
require_relative "comment"
|
29
|
+
require_relative "component"
|
30
|
+
require_relative "composite_state"
|
31
|
+
require_relative "constraint"
|
32
|
+
require_relative "create_action"
|
33
|
+
require_relative "data_type"
|
34
|
+
require_relative "data_value"
|
35
|
+
require_relative "dependency"
|
36
|
+
require_relative "destroy_action"
|
37
|
+
require_relative "enumeration"
|
38
|
+
require_relative "event"
|
39
|
+
require_relative "exception"
|
40
|
+
require_relative "feature"
|
41
|
+
require_relative "generalizable_element"
|
42
|
+
require_relative "generalization"
|
43
|
+
require_relative "guard"
|
44
|
+
require_relative "instance"
|
45
|
+
require_relative "interaction"
|
46
|
+
require_relative "interface"
|
47
|
+
require_relative "link"
|
48
|
+
require_relative "link_end"
|
49
|
+
require_relative "link_object"
|
50
|
+
require_relative "local_invocation"
|
51
|
+
require_relative "message"
|
52
|
+
require_relative "message_instance"
|
53
|
+
require_relative "method"
|
54
|
+
require_relative "model"
|
55
|
+
require_relative "model_element"
|
56
|
+
require_relative "namespace"
|
57
|
+
require_relative "node"
|
58
|
+
require_relative "object"
|
59
|
+
require_relative "object_flow_state"
|
60
|
+
require_relative "operation"
|
61
|
+
require_relative "package"
|
62
|
+
require_relative "parameter"
|
63
|
+
require_relative "partition"
|
64
|
+
require_relative "primitive"
|
65
|
+
require_relative "pseudo_state"
|
66
|
+
require_relative "reception"
|
67
|
+
require_relative "refinement"
|
68
|
+
require_relative "request"
|
69
|
+
require_relative "return_action"
|
70
|
+
require_relative "send_action"
|
71
|
+
require_relative "signal"
|
72
|
+
require_relative "signal_event"
|
73
|
+
require_relative "simple_state"
|
74
|
+
require_relative "state"
|
75
|
+
require_relative "state_machine"
|
76
|
+
require_relative "state_vertex"
|
77
|
+
require_relative "stereotype"
|
78
|
+
require_relative "structural_feature"
|
79
|
+
require_relative "structure"
|
80
|
+
require_relative "submachine_state"
|
81
|
+
require_relative "subsystem"
|
82
|
+
require_relative "terminate_action"
|
83
|
+
require_relative "time_event"
|
84
|
+
require_relative "trace"
|
85
|
+
require_relative "transition"
|
86
|
+
require_relative "uninterpreted_action"
|
87
|
+
require_relative "usage"
|
88
|
+
require_relative "use_case"
|
89
|
+
require_relative "use_case_instance"
|
88
90
|
|
89
91
|
class Bindingargument < Shale::Mapper
|
90
92
|
attribute :model_element, ModelElement, collection: true
|
@@ -174,93 +176,93 @@ class Bindingargument < Shale::Mapper
|
|
174
176
|
attribute :change_event, ChangeEvent, collection: true
|
175
177
|
|
176
178
|
xml do
|
177
|
-
root
|
178
|
-
namespace
|
179
|
+
root "Binding.argument"
|
180
|
+
namespace "omg.org/UML1.3", "UML"
|
179
181
|
|
180
|
-
map_element
|
181
|
-
map_element
|
182
|
-
map_element
|
183
|
-
map_element
|
184
|
-
map_element
|
185
|
-
map_element
|
186
|
-
map_element
|
187
|
-
map_element
|
188
|
-
map_element
|
189
|
-
map_element
|
190
|
-
map_element
|
191
|
-
map_element
|
192
|
-
map_element
|
193
|
-
map_element
|
194
|
-
map_element
|
195
|
-
map_element
|
196
|
-
map_element
|
197
|
-
map_element
|
198
|
-
map_element
|
199
|
-
map_element
|
200
|
-
map_element
|
201
|
-
map_element
|
202
|
-
map_element
|
203
|
-
map_element
|
204
|
-
map_element
|
205
|
-
map_element
|
206
|
-
map_element
|
207
|
-
map_element
|
208
|
-
map_element
|
209
|
-
map_element
|
210
|
-
map_element
|
211
|
-
map_element
|
212
|
-
map_element
|
213
|
-
map_element
|
214
|
-
map_element
|
215
|
-
map_element
|
216
|
-
map_element
|
217
|
-
map_element
|
218
|
-
map_element
|
219
|
-
map_element
|
220
|
-
map_element
|
221
|
-
map_element
|
222
|
-
map_element
|
223
|
-
map_element
|
224
|
-
map_element
|
225
|
-
map_element
|
226
|
-
map_element
|
227
|
-
map_element
|
228
|
-
map_element
|
229
|
-
map_element
|
230
|
-
map_element
|
231
|
-
map_element
|
232
|
-
map_element
|
233
|
-
map_element
|
234
|
-
map_element
|
235
|
-
map_element
|
236
|
-
map_element
|
237
|
-
map_element
|
238
|
-
map_element
|
239
|
-
map_element
|
240
|
-
map_element
|
241
|
-
map_element
|
242
|
-
map_element
|
243
|
-
map_element
|
244
|
-
map_element
|
245
|
-
map_element
|
246
|
-
map_element
|
247
|
-
map_element
|
248
|
-
map_element
|
249
|
-
map_element
|
250
|
-
map_element
|
251
|
-
map_element
|
252
|
-
map_element
|
253
|
-
map_element
|
254
|
-
map_element
|
255
|
-
map_element
|
256
|
-
map_element
|
257
|
-
map_element
|
258
|
-
map_element
|
259
|
-
map_element
|
260
|
-
map_element
|
261
|
-
map_element
|
262
|
-
map_element
|
263
|
-
map_element
|
264
|
-
map_element
|
182
|
+
map_element "ModelElement", to: :model_element
|
183
|
+
map_element "Comment", to: :comment
|
184
|
+
map_element "Namespace", to: :namespace
|
185
|
+
map_element "GeneralizableElement", to: :generalizable_element
|
186
|
+
map_element "Feature", to: :feature
|
187
|
+
map_element "Parameter", to: :parameter
|
188
|
+
map_element "Constraint", to: :constraint
|
189
|
+
map_element "Dependency", to: :dependency
|
190
|
+
map_element "Generalization", to: :generalization
|
191
|
+
map_element "AssociationEnd", to: :association_end
|
192
|
+
map_element "Request", to: :request
|
193
|
+
map_element "ActionSequence", to: :action_sequence
|
194
|
+
map_element "Action", to: :action
|
195
|
+
map_element "Link", to: :link
|
196
|
+
map_element "LinkEnd", to: :link_end
|
197
|
+
map_element "Instance", to: :instance
|
198
|
+
map_element "AttributeLink", to: :attribute_link
|
199
|
+
map_element "MessageInstance", to: :message_instance
|
200
|
+
map_element "Interaction", to: :interaction
|
201
|
+
map_element "Message", to: :message
|
202
|
+
map_element "StateMachine", to: :state_machine
|
203
|
+
map_element "Guard", to: :guard
|
204
|
+
map_element "StateVertex", to: :state_vertex
|
205
|
+
map_element "Transition", to: :transition
|
206
|
+
map_element "Event", to: :event
|
207
|
+
map_element "Partition", to: :partition
|
208
|
+
map_element "Collaboration", to: :collaboration
|
209
|
+
map_element "Classifier", to: :classifier
|
210
|
+
map_element "Association", to: :association
|
211
|
+
map_element "Stereotype", to: :stereotype
|
212
|
+
map_element "Package", to: :package
|
213
|
+
map_element "Signal", to: :signal
|
214
|
+
map_element "Node", to: :node
|
215
|
+
map_element "Component", to: :component
|
216
|
+
map_element "Interface", to: :interface
|
217
|
+
map_element "Class", to: :class
|
218
|
+
map_element "DataType", to: :data_type
|
219
|
+
map_element "Subsystem", to: :subsystem
|
220
|
+
map_element "ClassifierRole", to: :classifier_role
|
221
|
+
map_element "Actor", to: :actor
|
222
|
+
map_element "UseCase", to: :use_case
|
223
|
+
map_element "ClassifierInState", to: :classifier_in_state
|
224
|
+
map_element "AssociationClass", to: :association_class
|
225
|
+
map_element "Enumeration", to: :enumeration
|
226
|
+
map_element "Primitive", to: :primitive
|
227
|
+
map_element "Structure", to: :structure
|
228
|
+
map_element "AssociationRole", to: :association_role
|
229
|
+
map_element "Model", to: :model
|
230
|
+
map_element "Exception", to: :exception
|
231
|
+
map_element "StructuralFeature", to: :structural_feature
|
232
|
+
map_element "BehavioralFeature", to: :behavioral_feature
|
233
|
+
map_element "Attribute", to: :attribute
|
234
|
+
map_element "Operation", to: :operation
|
235
|
+
map_element "Method", to: :method
|
236
|
+
map_element "Reception", to: :reception
|
237
|
+
map_element "Refinement", to: :refinement
|
238
|
+
map_element "Usage", to: :usage
|
239
|
+
map_element "Trace", to: :trace
|
240
|
+
map_element "Binding", to: :binding
|
241
|
+
map_element "AssociationEndRole", to: :association_end_role
|
242
|
+
map_element "CreateAction", to: :create_action
|
243
|
+
map_element "CallAction", to: :call_action
|
244
|
+
map_element "LocalInvocation", to: :local_invocation
|
245
|
+
map_element "ReturnAction", to: :return_action
|
246
|
+
map_element "SendAction", to: :send_action
|
247
|
+
map_element "UninterpretedAction", to: :uninterpreted_action
|
248
|
+
map_element "TerminateAction", to: :terminate_action
|
249
|
+
map_element "DestroyAction", to: :destroy_action
|
250
|
+
map_element "LinkObject", to: :link_object
|
251
|
+
map_element "Object", to: :object
|
252
|
+
map_element "DataValue", to: :data_value
|
253
|
+
map_element "UseCaseInstance", to: :use_case_instance
|
254
|
+
map_element "ActivityModel", to: :activity_model
|
255
|
+
map_element "PseudoState", to: :pseudo_state
|
256
|
+
map_element "State", to: :state
|
257
|
+
map_element "CompositeState", to: :composite_state
|
258
|
+
map_element "SimpleState", to: :simple_state
|
259
|
+
map_element "SubmachineState", to: :submachine_state
|
260
|
+
map_element "ActionState", to: :action_state
|
261
|
+
map_element "ObjectFlowState", to: :object_flow_state
|
262
|
+
map_element "ActivityState", to: :activity_state
|
263
|
+
map_element "SignalEvent", to: :signal_event
|
264
|
+
map_element "CallEvent", to: :call_event
|
265
|
+
map_element "TimeEvent", to: :time_event
|
266
|
+
map_element "ChangeEvent", to: :change_event
|
265
267
|
end
|
266
268
|
end
|
@@ -1,8 +1,10 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
require_relative
|
3
|
+
require "shale"
|
4
|
+
|
5
|
+
require_relative "expressionbody"
|
6
|
+
require_relative "expressionlanguage"
|
7
|
+
require_relative "xm_iextension"
|
6
8
|
|
7
9
|
class BooleanExpression < Shale::Mapper
|
8
10
|
attribute :language, Shale::Type::Value
|
@@ -17,18 +19,18 @@ class BooleanExpression < Shale::Mapper
|
|
17
19
|
attribute :xmi_extension, XMIextension, collection: true
|
18
20
|
|
19
21
|
xml do
|
20
|
-
root
|
21
|
-
namespace
|
22
|
+
root "BooleanExpression"
|
23
|
+
namespace "omg.org/UML1.3", "UML"
|
22
24
|
|
23
|
-
map_attribute
|
24
|
-
map_attribute
|
25
|
-
map_attribute
|
26
|
-
map_attribute
|
27
|
-
map_attribute
|
28
|
-
map_attribute
|
29
|
-
map_attribute
|
30
|
-
map_element
|
31
|
-
map_element
|
32
|
-
map_element
|
25
|
+
map_attribute "language", to: :language
|
26
|
+
map_attribute "body", to: :body
|
27
|
+
map_attribute "xmi.id", to: :xmi_id
|
28
|
+
map_attribute "xmi.label", to: :xmi_label
|
29
|
+
map_attribute "xmi.uuid", to: :xmi_uuid
|
30
|
+
map_attribute "href", to: :href
|
31
|
+
map_attribute "xmi.idref", to: :xmi_idref
|
32
|
+
map_element "Expression.language", to: :expression_language
|
33
|
+
map_element "Expression.body", to: :expression_body
|
34
|
+
map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
|
33
35
|
end
|
34
36
|
end
|
@@ -1,33 +1,35 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
require_relative
|
6
|
-
require_relative
|
7
|
-
require_relative
|
8
|
-
require_relative
|
9
|
-
require_relative
|
10
|
-
require_relative
|
11
|
-
require_relative
|
12
|
-
require_relative
|
13
|
-
require_relative
|
14
|
-
require_relative
|
15
|
-
require_relative
|
16
|
-
require_relative
|
17
|
-
require_relative
|
18
|
-
require_relative
|
19
|
-
require_relative
|
20
|
-
require_relative
|
21
|
-
require_relative
|
22
|
-
require_relative
|
23
|
-
require_relative
|
24
|
-
require_relative
|
25
|
-
require_relative
|
26
|
-
require_relative
|
27
|
-
require_relative
|
28
|
-
require_relative
|
29
|
-
require_relative
|
30
|
-
require_relative
|
3
|
+
require "shale"
|
4
|
+
|
5
|
+
require_relative "actionaction_sequence"
|
6
|
+
require_relative "actionactual_argument"
|
7
|
+
require_relative "actionis_asynchronous"
|
8
|
+
require_relative "actionmessage"
|
9
|
+
require_relative "actionrecurrence"
|
10
|
+
require_relative "actionrequest"
|
11
|
+
require_relative "actionscript"
|
12
|
+
require_relative "actiontarget"
|
13
|
+
require_relative "call_actionmode"
|
14
|
+
require_relative "model_elementbehavior"
|
15
|
+
require_relative "model_elementbinding"
|
16
|
+
require_relative "model_elementcollaboration"
|
17
|
+
require_relative "model_elementconstraint"
|
18
|
+
require_relative "model_elementelement_reference"
|
19
|
+
require_relative "model_elementimplementation"
|
20
|
+
require_relative "model_elementname"
|
21
|
+
require_relative "model_elementnamespace"
|
22
|
+
require_relative "model_elementpartition"
|
23
|
+
require_relative "model_elementpresentation"
|
24
|
+
require_relative "model_elementprovision"
|
25
|
+
require_relative "model_elementrequirement"
|
26
|
+
require_relative "model_elementstereotype"
|
27
|
+
require_relative "model_elementtagged_value"
|
28
|
+
require_relative "model_elementtemplate"
|
29
|
+
require_relative "model_elementtemplate_parameter"
|
30
|
+
require_relative "model_elementview"
|
31
|
+
require_relative "model_elementvisibility"
|
32
|
+
require_relative "xm_iextension"
|
31
33
|
|
32
34
|
class CallAction < Shale::Mapper
|
33
35
|
attribute :name, Shale::Type::Value
|
@@ -88,64 +90,64 @@ class CallAction < Shale::Mapper
|
|
88
90
|
attribute :action_actual_argument, ActionactualArgument, collection: true
|
89
91
|
|
90
92
|
xml do
|
91
|
-
root
|
92
|
-
namespace
|
93
|
+
root "CallAction"
|
94
|
+
namespace "omg.org/UML1.3", "UML"
|
93
95
|
|
94
|
-
map_attribute
|
95
|
-
map_attribute
|
96
|
-
map_attribute
|
97
|
-
map_attribute
|
98
|
-
map_attribute
|
99
|
-
map_attribute
|
100
|
-
map_attribute
|
101
|
-
map_attribute
|
102
|
-
map_attribute
|
103
|
-
map_attribute
|
104
|
-
map_attribute
|
105
|
-
map_attribute
|
106
|
-
map_attribute
|
107
|
-
map_attribute
|
108
|
-
map_attribute
|
109
|
-
map_attribute
|
110
|
-
map_attribute
|
111
|
-
map_attribute
|
112
|
-
map_attribute
|
113
|
-
map_attribute
|
114
|
-
map_attribute
|
115
|
-
map_attribute
|
116
|
-
map_attribute
|
117
|
-
map_attribute
|
118
|
-
map_attribute
|
119
|
-
map_attribute
|
120
|
-
map_attribute
|
121
|
-
map_attribute
|
122
|
-
map_element
|
123
|
-
map_element
|
124
|
-
map_element
|
125
|
-
map_element
|
126
|
-
map_element
|
127
|
-
map_element
|
128
|
-
map_element
|
129
|
-
map_element
|
130
|
-
map_element
|
131
|
-
map_element
|
132
|
-
map_element
|
133
|
-
map_element
|
134
|
-
map_element
|
135
|
-
map_element
|
136
|
-
map_element
|
137
|
-
map_element
|
138
|
-
map_element
|
139
|
-
map_element
|
140
|
-
map_element
|
141
|
-
map_element
|
142
|
-
map_element
|
143
|
-
map_element
|
144
|
-
map_element
|
145
|
-
map_element
|
146
|
-
map_element
|
147
|
-
map_element
|
148
|
-
map_element
|
149
|
-
map_element
|
96
|
+
map_attribute "name", to: :name
|
97
|
+
map_attribute "visibility", to: :visibility
|
98
|
+
map_attribute "isAsynchronous", to: :is_asynchronous
|
99
|
+
map_attribute "script", to: :script
|
100
|
+
map_attribute "mode", to: :mode
|
101
|
+
map_attribute "binding", to: :binding
|
102
|
+
map_attribute "template", to: :template
|
103
|
+
map_attribute "templateParameter", to: :template_parameter
|
104
|
+
map_attribute "implementation", to: :implementation
|
105
|
+
map_attribute "view", to: :view
|
106
|
+
map_attribute "presentation", to: :presentation
|
107
|
+
map_attribute "namespace", to: :namespace
|
108
|
+
map_attribute "constraint", to: :constraint
|
109
|
+
map_attribute "requirement", to: :requirement
|
110
|
+
map_attribute "provision", to: :provision
|
111
|
+
map_attribute "stereotype", to: :stereotype
|
112
|
+
map_attribute "elementReference", to: :element_reference
|
113
|
+
map_attribute "collaboration", to: :collaboration
|
114
|
+
map_attribute "behavior", to: :behavior
|
115
|
+
map_attribute "partition", to: :partition
|
116
|
+
map_attribute "request", to: :request
|
117
|
+
map_attribute "message", to: :message
|
118
|
+
map_attribute "actionSequence", to: :action_sequence
|
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 "Action.recurrence", to: :action_recurrence
|
127
|
+
map_element "Action.target", to: :action_target
|
128
|
+
map_element "Action.isAsynchronous", to: :action_is_asynchronous
|
129
|
+
map_element "Action.script", to: :action_script
|
130
|
+
map_element "CallAction.mode", to: :call_action_mode
|
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 "Action.request", to: :action_request
|
148
|
+
map_element "Action.message", to: :action_message
|
149
|
+
map_element "Action.actionSequence", to: :action_action_sequence
|
150
|
+
map_element "ModelElement.taggedValue", to: :model_element_tagged_value
|
151
|
+
map_element "Action.actualArgument", to: :action_actual_argument
|
150
152
|
end
|
151
153
|
end
|
@@ -1,12 +1,14 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "shale"
|
2
4
|
|
3
5
|
class CallActionmode < Shale::Mapper
|
4
6
|
attribute :xmi_value, Shale::Type::String
|
5
7
|
|
6
8
|
xml do
|
7
|
-
root
|
8
|
-
namespace
|
9
|
+
root "CallAction.mode"
|
10
|
+
namespace "omg.org/UML1.3", "UML"
|
9
11
|
|
10
|
-
map_attribute
|
12
|
+
map_attribute "xmi.value", to: :xmi_value
|
11
13
|
end
|
12
14
|
end
|