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,34 +1,36 @@
|
|
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
|
3
|
+
require "shale"
|
4
|
+
|
5
|
+
require_relative "model_elementbehavior"
|
6
|
+
require_relative "model_elementbinding"
|
7
|
+
require_relative "model_elementcollaboration"
|
8
|
+
require_relative "model_elementconstraint"
|
9
|
+
require_relative "model_elementelement_reference"
|
10
|
+
require_relative "model_elementimplementation"
|
11
|
+
require_relative "model_elementname"
|
12
|
+
require_relative "model_elementnamespace"
|
13
|
+
require_relative "model_elementpartition"
|
14
|
+
require_relative "model_elementpresentation"
|
15
|
+
require_relative "model_elementprovision"
|
16
|
+
require_relative "model_elementrequirement"
|
17
|
+
require_relative "model_elementstereotype"
|
18
|
+
require_relative "model_elementtagged_value"
|
19
|
+
require_relative "model_elementtemplate"
|
20
|
+
require_relative "model_elementtemplate_parameter"
|
21
|
+
require_relative "model_elementview"
|
22
|
+
require_relative "model_elementvisibility"
|
23
|
+
require_relative "object_flow_statetype_state"
|
24
|
+
require_relative "state_vertexincoming"
|
25
|
+
require_relative "state_vertexoutgoing"
|
26
|
+
require_relative "state_vertexparent"
|
27
|
+
require_relative "stateclassifier_in_state"
|
28
|
+
require_relative "statedeferred_event"
|
29
|
+
require_relative "stateentry"
|
30
|
+
require_relative "stateexit"
|
31
|
+
require_relative "stateinternal_transition"
|
32
|
+
require_relative "statestate_machine"
|
33
|
+
require_relative "xm_iextension"
|
32
34
|
|
33
35
|
class ObjectFlowState < Shale::Mapper
|
34
36
|
attribute :name, Shale::Type::Value
|
@@ -91,66 +93,66 @@ class ObjectFlowState < Shale::Mapper
|
|
91
93
|
attribute :state_exit, Stateexit, collection: true
|
92
94
|
|
93
95
|
xml do
|
94
|
-
root
|
95
|
-
namespace
|
96
|
+
root "ObjectFlowState"
|
97
|
+
namespace "omg.org/UML1.3", "UML"
|
96
98
|
|
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_attribute
|
123
|
-
map_attribute
|
124
|
-
map_attribute
|
125
|
-
map_attribute
|
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
|
150
|
-
map_element
|
151
|
-
map_element
|
152
|
-
map_element
|
153
|
-
map_element
|
154
|
-
map_element
|
99
|
+
map_attribute "name", to: :name
|
100
|
+
map_attribute "visibility", to: :visibility
|
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 "outgoing", to: :outgoing
|
117
|
+
map_attribute "incoming", to: :incoming
|
118
|
+
map_attribute "parent", to: :parent
|
119
|
+
map_attribute "stateMachine", to: :state_machine
|
120
|
+
map_attribute "deferredEvent", to: :deferred_event
|
121
|
+
map_attribute "classifierInState", to: :classifier_in_state
|
122
|
+
map_attribute "typeState", to: :type_state
|
123
|
+
map_attribute "xmi.id", to: :xmi_id
|
124
|
+
map_attribute "xmi.label", to: :xmi_label
|
125
|
+
map_attribute "xmi.uuid", to: :xmi_uuid
|
126
|
+
map_attribute "href", to: :href
|
127
|
+
map_attribute "xmi.idref", to: :xmi_idref
|
128
|
+
map_element "ModelElement.name", to: :model_element_name
|
129
|
+
map_element "ModelElement.visibility", to: :model_element_visibility
|
130
|
+
map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
|
131
|
+
map_element "ModelElement.binding", to: :model_element_binding
|
132
|
+
map_element "ModelElement.template", to: :model_element_template
|
133
|
+
map_element "ModelElement.templateParameter", to: :model_element_template_parameter
|
134
|
+
map_element "ModelElement.implementation", to: :model_element_implementation
|
135
|
+
map_element "ModelElement.view", to: :model_element_view
|
136
|
+
map_element "ModelElement.presentation", to: :model_element_presentation
|
137
|
+
map_element "ModelElement.namespace", to: :model_element_namespace
|
138
|
+
map_element "ModelElement.constraint", to: :model_element_constraint
|
139
|
+
map_element "ModelElement.requirement", to: :model_element_requirement
|
140
|
+
map_element "ModelElement.provision", to: :model_element_provision
|
141
|
+
map_element "ModelElement.stereotype", to: :model_element_stereotype
|
142
|
+
map_element "ModelElement.elementReference", to: :model_element_element_reference
|
143
|
+
map_element "ModelElement.collaboration", to: :model_element_collaboration
|
144
|
+
map_element "ModelElement.behavior", to: :model_element_behavior
|
145
|
+
map_element "ModelElement.partition", to: :model_element_partition
|
146
|
+
map_element "StateVertex.outgoing", to: :state_vertex_outgoing
|
147
|
+
map_element "StateVertex.incoming", to: :state_vertex_incoming
|
148
|
+
map_element "StateVertex.parent", to: :state_vertex_parent
|
149
|
+
map_element "State.stateMachine", to: :state_state_machine
|
150
|
+
map_element "State.deferredEvent", to: :state_deferred_event
|
151
|
+
map_element "State.classifierInState", to: :state_classifier_in_state
|
152
|
+
map_element "ObjectFlowState.typeState", to: :object_flow_state_type_state
|
153
|
+
map_element "ModelElement.taggedValue", to: :model_element_tagged_value
|
154
|
+
map_element "State.internalTransition", to: :state_internal_transition
|
155
|
+
map_element "State.entry", to: :state_entry
|
156
|
+
map_element "State.exit", to: :state_exit
|
155
157
|
end
|
156
158
|
end
|
@@ -1,14 +1,16 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
require "shale"
|
4
|
+
|
5
|
+
require_relative "classifier_in_state"
|
4
6
|
|
5
7
|
class ObjectFlowStatetypeState < Shale::Mapper
|
6
8
|
attribute :classifier_in_state, ClassifierInState, collection: true
|
7
9
|
|
8
10
|
xml do
|
9
|
-
root
|
10
|
-
namespace
|
11
|
+
root "ObjectFlowState.typeState"
|
12
|
+
namespace "omg.org/UML1.3", "UML"
|
11
13
|
|
12
|
-
map_element
|
14
|
+
map_element "ClassifierInState", to: :classifier_in_state
|
13
15
|
end
|
14
16
|
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 ObjectSetExpression < Shale::Mapper
|
8
10
|
attribute :language, Shale::Type::Value
|
@@ -17,18 +19,18 @@ class ObjectSetExpression < Shale::Mapper
|
|
17
19
|
attribute :xmi_extension, XMIextension, collection: true
|
18
20
|
|
19
21
|
xml do
|
20
|
-
root
|
21
|
-
namespace
|
22
|
+
root "ObjectSetExpression"
|
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
|
data/lib/xmi/uml13/operation.rb
CHANGED
@@ -1,36 +1,38 @@
|
|
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
|
3
|
+
require "shale"
|
4
|
+
|
5
|
+
require_relative "behavioral_featureis_query"
|
6
|
+
require_relative "behavioral_featureparameter"
|
7
|
+
require_relative "behavioral_featureraised_exception"
|
8
|
+
require_relative "featureclassifier_role"
|
9
|
+
require_relative "featureowner"
|
10
|
+
require_relative "featureowner_scope"
|
11
|
+
require_relative "model_elementbehavior"
|
12
|
+
require_relative "model_elementbinding"
|
13
|
+
require_relative "model_elementconstraint"
|
14
|
+
require_relative "model_elementelement_reference"
|
15
|
+
require_relative "model_elementimplementation"
|
16
|
+
require_relative "model_elementname"
|
17
|
+
require_relative "model_elementnamespace"
|
18
|
+
require_relative "model_elementpartition"
|
19
|
+
require_relative "model_elementpresentation"
|
20
|
+
require_relative "model_elementprovision"
|
21
|
+
require_relative "model_elementrequirement"
|
22
|
+
require_relative "model_elementstereotype"
|
23
|
+
require_relative "model_elementtagged_value"
|
24
|
+
require_relative "model_elementtemplate"
|
25
|
+
require_relative "model_elementtemplate_parameter"
|
26
|
+
require_relative "model_elementview"
|
27
|
+
require_relative "model_elementvisibility"
|
28
|
+
require_relative "operationconcurrency"
|
29
|
+
require_relative "operationis_polymorphic"
|
30
|
+
require_relative "operationmethod"
|
31
|
+
require_relative "operationoccurrence"
|
32
|
+
require_relative "operationspecification"
|
33
|
+
require_relative "requestaction"
|
34
|
+
require_relative "requestmessage_instance"
|
35
|
+
require_relative "xm_iextension"
|
34
36
|
|
35
37
|
class Operation < Shale::Mapper
|
36
38
|
attribute :name, Shale::Type::Value
|
@@ -101,74 +103,74 @@ class Operation < Shale::Mapper
|
|
101
103
|
attribute :behavioral_feature_parameter, BehavioralFeatureparameter, collection: true
|
102
104
|
|
103
105
|
xml do
|
104
|
-
root
|
105
|
-
namespace
|
106
|
+
root "Operation"
|
107
|
+
namespace "omg.org/UML1.3", "UML"
|
106
108
|
|
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_attribute
|
123
|
-
map_attribute
|
124
|
-
map_attribute
|
125
|
-
map_attribute
|
126
|
-
map_attribute
|
127
|
-
map_attribute
|
128
|
-
map_attribute
|
129
|
-
map_attribute
|
130
|
-
map_attribute
|
131
|
-
map_attribute
|
132
|
-
map_attribute
|
133
|
-
map_attribute
|
134
|
-
map_attribute
|
135
|
-
map_attribute
|
136
|
-
map_attribute
|
137
|
-
map_attribute
|
138
|
-
map_attribute
|
139
|
-
map_attribute
|
140
|
-
map_attribute
|
141
|
-
map_attribute
|
142
|
-
map_element
|
143
|
-
map_element
|
144
|
-
map_element
|
145
|
-
map_element
|
146
|
-
map_element
|
147
|
-
map_element
|
148
|
-
map_element
|
149
|
-
map_element
|
150
|
-
map_element
|
151
|
-
map_element
|
152
|
-
map_element
|
153
|
-
map_element
|
154
|
-
map_element
|
155
|
-
map_element
|
156
|
-
map_element
|
157
|
-
map_element
|
158
|
-
map_element
|
159
|
-
map_element
|
160
|
-
map_element
|
161
|
-
map_element
|
162
|
-
map_element
|
163
|
-
map_element
|
164
|
-
map_element
|
165
|
-
map_element
|
166
|
-
map_element
|
167
|
-
map_element
|
168
|
-
map_element
|
169
|
-
map_element
|
170
|
-
map_element
|
171
|
-
map_element
|
172
|
-
map_element
|
109
|
+
map_attribute "name", to: :name
|
110
|
+
map_attribute "visibility", to: :visibility
|
111
|
+
map_attribute "ownerScope", to: :owner_scope
|
112
|
+
map_attribute "isQuery", to: :is_query
|
113
|
+
map_attribute "specification", to: :specification
|
114
|
+
map_attribute "isPolymorphic", to: :is_polymorphic
|
115
|
+
map_attribute "concurrency", to: :concurrency
|
116
|
+
map_attribute "binding", to: :binding
|
117
|
+
map_attribute "template", to: :template
|
118
|
+
map_attribute "templateParameter", to: :template_parameter
|
119
|
+
map_attribute "implementation", to: :implementation
|
120
|
+
map_attribute "view", to: :view
|
121
|
+
map_attribute "presentation", to: :presentation
|
122
|
+
map_attribute "namespace", to: :namespace
|
123
|
+
map_attribute "constraint", to: :constraint
|
124
|
+
map_attribute "requirement", to: :requirement
|
125
|
+
map_attribute "provision", to: :provision
|
126
|
+
map_attribute "stereotype", to: :stereotype
|
127
|
+
map_attribute "elementReference", to: :element_reference
|
128
|
+
map_attribute "ModelElement.collaboration", to: :model_element_collaboration
|
129
|
+
map_attribute "behavior", to: :behavior
|
130
|
+
map_attribute "partition", to: :partition
|
131
|
+
map_attribute "owner", to: :owner
|
132
|
+
map_attribute "classifierRole", to: :classifier_role
|
133
|
+
map_attribute "raisedException", to: :raised_exception
|
134
|
+
map_attribute "action", to: :action
|
135
|
+
map_attribute "messageInstance", to: :message_instance
|
136
|
+
map_attribute "method", to: :method
|
137
|
+
map_attribute "Operation.collaboration", to: :operation_collaboration
|
138
|
+
map_attribute "occurrence", to: :occurrence
|
139
|
+
map_attribute "xmi.id", to: :xmi_id
|
140
|
+
map_attribute "xmi.label", to: :xmi_label
|
141
|
+
map_attribute "xmi.uuid", to: :xmi_uuid
|
142
|
+
map_attribute "href", to: :href
|
143
|
+
map_attribute "xmi.idref", to: :xmi_idref
|
144
|
+
map_element "ModelElement.name", to: :model_element_name
|
145
|
+
map_element "ModelElement.visibility", to: :model_element_visibility
|
146
|
+
map_element "Feature.ownerScope", to: :feature_owner_scope
|
147
|
+
map_element "BehavioralFeature.isQuery", to: :behavioral_feature_is_query
|
148
|
+
map_element "Operation.specification", to: :operation_specification
|
149
|
+
map_element "Operation.isPolymorphic", to: :operation_is_polymorphic
|
150
|
+
map_element "Operation.concurrency", to: :operation_concurrency
|
151
|
+
map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
|
152
|
+
map_element "ModelElement.binding", to: :model_element_binding
|
153
|
+
map_element "ModelElement.template", to: :model_element_template
|
154
|
+
map_element "ModelElement.templateParameter", to: :model_element_template_parameter
|
155
|
+
map_element "ModelElement.implementation", to: :model_element_implementation
|
156
|
+
map_element "ModelElement.view", to: :model_element_view
|
157
|
+
map_element "ModelElement.presentation", to: :model_element_presentation
|
158
|
+
map_element "ModelElement.namespace", to: :model_element_namespace
|
159
|
+
map_element "ModelElement.constraint", to: :model_element_constraint
|
160
|
+
map_element "ModelElement.requirement", to: :model_element_requirement
|
161
|
+
map_element "ModelElement.provision", to: :model_element_provision
|
162
|
+
map_element "ModelElement.stereotype", to: :model_element_stereotype
|
163
|
+
map_element "ModelElement.elementReference", to: :model_element_element_reference
|
164
|
+
map_element "ModelElement.behavior", to: :model_element_behavior
|
165
|
+
map_element "ModelElement.partition", to: :model_element_partition
|
166
|
+
map_element "Feature.owner", to: :feature_owner
|
167
|
+
map_element "Feature.classifierRole", to: :feature_classifier_role
|
168
|
+
map_element "BehavioralFeature.raisedException", to: :behavioral_feature_raised_exception
|
169
|
+
map_element "Request.action", to: :request_action
|
170
|
+
map_element "Request.messageInstance", to: :request_message_instance
|
171
|
+
map_element "Operation.method", to: :operation_method
|
172
|
+
map_element "Operation.occurrence", to: :operation_occurrence
|
173
|
+
map_element "ModelElement.taggedValue", to: :model_element_tagged_value
|
174
|
+
map_element "BehavioralFeature.parameter", to: :behavioral_feature_parameter
|
173
175
|
end
|
174
176
|
end
|
@@ -1,14 +1,16 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
require "shale"
|
4
|
+
|
5
|
+
require_relative "collaboration"
|
4
6
|
|
5
7
|
class Operationcollaboration < Shale::Mapper
|
6
8
|
attribute :collaboration, Collaboration, collection: true
|
7
9
|
|
8
10
|
xml do
|
9
|
-
root
|
10
|
-
namespace
|
11
|
+
root "Operation.collaboration"
|
12
|
+
namespace "omg.org/UML1.3", "UML"
|
11
13
|
|
12
|
-
map_element
|
14
|
+
map_element "Collaboration", to: :collaboration
|
13
15
|
end
|
14
16
|
end
|
@@ -1,12 +1,14 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "shale"
|
2
4
|
|
3
5
|
class Operationconcurrency < Shale::Mapper
|
4
6
|
attribute :xmi_value, Shale::Type::String
|
5
7
|
|
6
8
|
xml do
|
7
|
-
root
|
8
|
-
namespace
|
9
|
+
root "Operation.concurrency"
|
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
|
@@ -1,12 +1,14 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "shale"
|
2
4
|
|
3
5
|
class OperationisPolymorphic < Shale::Mapper
|
4
6
|
attribute :xmi_value, Shale::Type::String
|
5
7
|
|
6
8
|
xml do
|
7
|
-
root
|
8
|
-
namespace
|
9
|
+
root "Operation.isPolymorphic"
|
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
|
@@ -1,14 +1,16 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
require "shale"
|
4
|
+
|
5
|
+
require_relative "method"
|
4
6
|
|
5
7
|
class Operationmethod < Shale::Mapper
|
6
8
|
attribute :method, Method, collection: true
|
7
9
|
|
8
10
|
xml do
|
9
|
-
root
|
10
|
-
namespace
|
11
|
+
root "Operation.method"
|
12
|
+
namespace "omg.org/UML1.3", "UML"
|
11
13
|
|
12
|
-
map_element
|
14
|
+
map_element "Method", to: :method
|
13
15
|
end
|
14
16
|
end
|
@@ -1,14 +1,16 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
require "shale"
|
4
|
+
|
5
|
+
require_relative "call_event"
|
4
6
|
|
5
7
|
class Operationoccurrence < Shale::Mapper
|
6
8
|
attribute :call_event, CallEvent, collection: true
|
7
9
|
|
8
10
|
xml do
|
9
|
-
root
|
10
|
-
namespace
|
11
|
+
root "Operation.occurrence"
|
12
|
+
namespace "omg.org/UML1.3", "UML"
|
11
13
|
|
12
|
-
map_element
|
14
|
+
map_element "CallEvent", to: :call_event
|
13
15
|
end
|
14
16
|
end
|
@@ -1,16 +1,18 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
require "shale"
|
4
|
+
|
5
|
+
require_relative "xm_ireference"
|
4
6
|
|
5
7
|
class Operationspecification < Shale::Mapper
|
6
8
|
attribute :content, Shale::Type::String
|
7
9
|
attribute :xmi_reference, XMIreference, collection: true
|
8
10
|
|
9
11
|
xml do
|
10
|
-
root
|
11
|
-
namespace
|
12
|
+
root "Operation.specification"
|
13
|
+
namespace "omg.org/UML1.3", "UML"
|
12
14
|
|
13
15
|
map_content to: :content
|
14
|
-
map_element
|
16
|
+
map_element "XMI.reference", to: :xmi_reference, prefix: nil, namespace: nil
|
15
17
|
end
|
16
18
|
end
|