xmi 0.3.9 → 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rubocop.yml +1 -1
- data/README.adoc +3 -3
- data/lib/xmi/ea_root.rb +2 -8
- data/lib/xmi/root.rb +0 -22
- data/lib/xmi/sparx.rb +36 -111
- data/lib/xmi/uml.rb +4 -169
- data/lib/xmi/version.rb +1 -1
- data/lib/xmi.rb +0 -1
- metadata +2 -370
- data/lib/xmi/root13.rb +0 -44
- data/lib/xmi/uml13/abstraction.rb +0 -155
- data/lib/xmi/uml13/action.rb +0 -148
- data/lib/xmi/uml13/action_sequence.rb +0 -132
- data/lib/xmi/uml13/action_sequenceaction.rb +0 -40
- data/lib/xmi/uml13/action_sequencestate.rb +0 -16
- data/lib/xmi/uml13/action_sequencestate2.rb +0 -16
- data/lib/xmi/uml13/action_sequencetransition.rb +0 -16
- data/lib/xmi/uml13/action_state.rb +0 -153
- data/lib/xmi/uml13/actionaction_sequence.rb +0 -16
- data/lib/xmi/uml13/actionactual_argument.rb +0 -16
- data/lib/xmi/uml13/actionis_asynchronous.rb +0 -14
- data/lib/xmi/uml13/actionmessage.rb +0 -16
- data/lib/xmi/uml13/actionrecurrence.rb +0 -28
- data/lib/xmi/uml13/actionrequest.rb +0 -16
- data/lib/xmi/uml13/actionscript.rb +0 -18
- data/lib/xmi/uml13/actiontarget.rb +0 -16
- data/lib/xmi/uml13/activity_model.rb +0 -133
- data/lib/xmi/uml13/activity_modelpartition.rb +0 -16
- data/lib/xmi/uml13/activity_state.rb +0 -152
- data/lib/xmi/uml13/actor.rb +0 -194
- data/lib/xmi/uml13/argument.rb +0 -34
- data/lib/xmi/uml13/argumentaction.rb +0 -16
- data/lib/xmi/uml13/argumentvalue.rb +0 -28
- data/lib/xmi/uml13/association.rb +0 -155
- data/lib/xmi/uml13/association_class.rb +0 -206
- data/lib/xmi/uml13/association_end.rb +0 -172
- data/lib/xmi/uml13/association_end_role.rb +0 -182
- data/lib/xmi/uml13/association_end_roleassociation_role.rb +0 -16
- data/lib/xmi/uml13/association_end_rolebase.rb +0 -16
- data/lib/xmi/uml13/association_endaggregation.rb +0 -14
- data/lib/xmi/uml13/association_endassociation.rb +0 -16
- data/lib/xmi/uml13/association_endassociation_end_role.rb +0 -16
- data/lib/xmi/uml13/association_endchangeable.rb +0 -14
- data/lib/xmi/uml13/association_endis_navigable.rb +0 -14
- data/lib/xmi/uml13/association_endis_ordered.rb +0 -14
- data/lib/xmi/uml13/association_endlink_end.rb +0 -16
- data/lib/xmi/uml13/association_endmultiplicity.rb +0 -18
- data/lib/xmi/uml13/association_endqualifier.rb +0 -16
- data/lib/xmi/uml13/association_endspecification.rb +0 -16
- data/lib/xmi/uml13/association_endtarget_scope.rb +0 -14
- data/lib/xmi/uml13/association_endtype.rb +0 -16
- data/lib/xmi/uml13/association_role.rb +0 -164
- data/lib/xmi/uml13/association_rolebase.rb +0 -16
- data/lib/xmi/uml13/association_rolemultiplicity.rb +0 -18
- data/lib/xmi/uml13/association_rolenamespace.rb +0 -16
- data/lib/xmi/uml13/associationassociation_end.rb +0 -16
- data/lib/xmi/uml13/associationconnection.rb +0 -19
- data/lib/xmi/uml13/associationlink.rb +0 -16
- data/lib/xmi/uml13/attribute.rb +0 -162
- data/lib/xmi/uml13/attribute_link.rb +0 -129
- data/lib/xmi/uml13/attribute_linkattribute.rb +0 -16
- data/lib/xmi/uml13/attribute_linkinstance.rb +0 -16
- data/lib/xmi/uml13/attribute_linkvalue.rb +0 -16
- data/lib/xmi/uml13/attributeassociation_end.rb +0 -16
- data/lib/xmi/uml13/attributeattribute_link.rb +0 -16
- data/lib/xmi/uml13/attributeinitial_value.rb +0 -28
- data/lib/xmi/uml13/auxiliary_elements.rb +0 -50
- data/lib/xmi/uml13/behavioral_elements.rb +0 -35
- data/lib/xmi/uml13/behavioral_feature.rb +0 -142
- data/lib/xmi/uml13/behavioral_featureis_query.rb +0 -14
- data/lib/xmi/uml13/behavioral_featureparameter.rb +0 -16
- data/lib/xmi/uml13/behavioral_featureraised_exception.rb +0 -16
- data/lib/xmi/uml13/binding.rb +0 -140
- data/lib/xmi/uml13/bindingargument.rb +0 -268
- data/lib/xmi/uml13/boolean_expression.rb +0 -36
- data/lib/xmi/uml13/call_action.rb +0 -153
- data/lib/xmi/uml13/call_actionmode.rb +0 -14
- data/lib/xmi/uml13/call_event.rb +0 -129
- data/lib/xmi/uml13/call_eventoperation.rb +0 -16
- data/lib/xmi/uml13/change_event.rb +0 -127
- data/lib/xmi/uml13/change_eventchange_expression.rb +0 -16
- data/lib/xmi/uml13/class.rb +0 -199
- data/lib/xmi/uml13/classifier.rb +0 -194
- data/lib/xmi/uml13/classifier_in_state.rb +0 -209
- data/lib/xmi/uml13/classifier_in_statein_state.rb +0 -16
- data/lib/xmi/uml13/classifier_in_stateobject_flow_state.rb +0 -16
- data/lib/xmi/uml13/classifier_in_statetype.rb +0 -16
- data/lib/xmi/uml13/classifier_role.rb +0 -223
- data/lib/xmi/uml13/classifier_roleassociation_end_role.rb +0 -16
- data/lib/xmi/uml13/classifier_roleavailable_feature.rb +0 -16
- data/lib/xmi/uml13/classifier_rolebase.rb +0 -16
- data/lib/xmi/uml13/classifier_rolemessage.rb +0 -16
- data/lib/xmi/uml13/classifier_rolemessage2.rb +0 -16
- data/lib/xmi/uml13/classifier_rolemultiplicity.rb +0 -18
- data/lib/xmi/uml13/classifier_rolenamespace.rb +0 -16
- data/lib/xmi/uml13/classifierassociation_end.rb +0 -16
- data/lib/xmi/uml13/classifierclassifier_in_state.rb +0 -16
- data/lib/xmi/uml13/classifierclassifier_role.rb +0 -16
- data/lib/xmi/uml13/classifiercollaboration.rb +0 -16
- data/lib/xmi/uml13/classifiercreate_action.rb +0 -16
- data/lib/xmi/uml13/classifierfeature.rb +0 -34
- data/lib/xmi/uml13/classifierinstance.rb +0 -16
- data/lib/xmi/uml13/classifierparameter.rb +0 -16
- data/lib/xmi/uml13/classifierparticipant.rb +0 -16
- data/lib/xmi/uml13/classifierrealization.rb +0 -16
- data/lib/xmi/uml13/classifierspecification.rb +0 -16
- data/lib/xmi/uml13/classifierstructural_feature.rb +0 -16
- data/lib/xmi/uml13/classis_active.rb +0 -14
- data/lib/xmi/uml13/collaboration.rb +0 -135
- data/lib/xmi/uml13/collaborationconstraining_element.rb +0 -16
- data/lib/xmi/uml13/collaborationinteraction.rb +0 -16
- data/lib/xmi/uml13/collaborationrepresented_classifier.rb +0 -16
- data/lib/xmi/uml13/collaborationrepresented_operation.rb +0 -16
- data/lib/xmi/uml13/collaborations.rb +0 -41
- data/lib/xmi/uml13/comment.rb +0 -114
- data/lib/xmi/uml13/common_behavior.rb +0 -92
- data/lib/xmi/uml13/component.rb +0 -204
- data/lib/xmi/uml13/componentdeployment.rb +0 -16
- data/lib/xmi/uml13/componentimplements.rb +0 -16
- data/lib/xmi/uml13/composite_state.rb +0 -161
- data/lib/xmi/uml13/composite_stateis_concurrent.rb +0 -14
- data/lib/xmi/uml13/composite_statesubstate.rb +0 -40
- data/lib/xmi/uml13/constraint.rb +0 -127
- data/lib/xmi/uml13/constraintbody.rb +0 -16
- data/lib/xmi/uml13/constraintconstrained_element.rb +0 -16
- data/lib/xmi/uml13/constraintconstrained_stereotype.rb +0 -16
- data/lib/xmi/uml13/core.rb +0 -86
- data/lib/xmi/uml13/create_action.rb +0 -153
- data/lib/xmi/uml13/create_actioninstantiation.rb +0 -16
- data/lib/xmi/uml13/data_type.rb +0 -194
- data/lib/xmi/uml13/data_types.rb +0 -62
- data/lib/xmi/uml13/data_value.rb +0 -147
- data/lib/xmi/uml13/dependency.rb +0 -137
- data/lib/xmi/uml13/dependencyclient.rb +0 -16
- data/lib/xmi/uml13/dependencydescription.rb +0 -18
- data/lib/xmi/uml13/dependencyowning_dependency.rb +0 -16
- data/lib/xmi/uml13/dependencysub_dependencies.rb +0 -28
- data/lib/xmi/uml13/dependencysupplier.rb +0 -16
- data/lib/xmi/uml13/destroy_action.rb +0 -148
- data/lib/xmi/uml13/diagram.rb +0 -48
- data/lib/xmi/uml13/diagram_compositions.rb +0 -16
- data/lib/xmi/uml13/diagram_element.rb +0 -40
- data/lib/xmi/uml13/diagram_element_properties.rb +0 -19
- data/lib/xmi/uml13/diagram_elementdiagram.rb +0 -16
- data/lib/xmi/uml13/diagram_elementgeometry.rb +0 -18
- data/lib/xmi/uml13/diagram_elementstyle.rb +0 -18
- data/lib/xmi/uml13/diagram_properties.rb +0 -25
- data/lib/xmi/uml13/diagramdiagram_type.rb +0 -18
- data/lib/xmi/uml13/diagramelement.rb +0 -16
- data/lib/xmi/uml13/diagramname.rb +0 -18
- data/lib/xmi/uml13/diagramowner.rb +0 -241
- data/lib/xmi/uml13/diagramstyle.rb +0 -18
- data/lib/xmi/uml13/diagramtool_name.rb +0 -18
- data/lib/xmi/uml13/element.rb +0 -26
- data/lib/xmi/uml13/element_reference.rb +0 -46
- data/lib/xmi/uml13/element_referencealias.rb +0 -18
- data/lib/xmi/uml13/element_referencepackage.rb +0 -16
- data/lib/xmi/uml13/element_referencereferenced_element.rb +0 -16
- data/lib/xmi/uml13/element_referencevisibility.rb +0 -14
- data/lib/xmi/uml13/enumeration.rb +0 -197
- data/lib/xmi/uml13/enumeration_literal.rb +0 -36
- data/lib/xmi/uml13/enumeration_literalenumeration.rb +0 -16
- data/lib/xmi/uml13/enumeration_literalname.rb +0 -18
- data/lib/xmi/uml13/enumerationliteral.rb +0 -16
- data/lib/xmi/uml13/event.rb +0 -124
- data/lib/xmi/uml13/eventstate.rb +0 -16
- data/lib/xmi/uml13/eventtransition.rb +0 -16
- data/lib/xmi/uml13/exception.rb +0 -170
- data/lib/xmi/uml13/exceptioncontext.rb +0 -16
- data/lib/xmi/uml13/expression.rb +0 -36
- data/lib/xmi/uml13/expressionbody.rb +0 -18
- data/lib/xmi/uml13/expressionlanguage.rb +0 -18
- data/lib/xmi/uml13/extension_mechanisms.rb +0 -29
- data/lib/xmi/uml13/feature.rb +0 -129
- data/lib/xmi/uml13/featureclassifier_role.rb +0 -16
- data/lib/xmi/uml13/featureowner.rb +0 -16
- data/lib/xmi/uml13/featureowner_scope.rb +0 -14
- data/lib/xmi/uml13/foundation.rb +0 -35
- data/lib/xmi/uml13/generalizable_element.rb +0 -142
- data/lib/xmi/uml13/generalizable_elementgeneralization.rb +0 -16
- data/lib/xmi/uml13/generalizable_elementis_abstract.rb +0 -14
- data/lib/xmi/uml13/generalizable_elementis_leaf.rb +0 -14
- data/lib/xmi/uml13/generalizable_elementis_root.rb +0 -14
- data/lib/xmi/uml13/generalizable_elementspecialization.rb +0 -16
- data/lib/xmi/uml13/generalization.rb +0 -129
- data/lib/xmi/uml13/generalizationdiscriminator.rb +0 -18
- data/lib/xmi/uml13/generalizationsubtype.rb +0 -16
- data/lib/xmi/uml13/generalizationsupertype.rb +0 -16
- data/lib/xmi/uml13/geometry.rb +0 -31
- data/lib/xmi/uml13/geometrybody.rb +0 -18
- data/lib/xmi/uml13/graphic_marker.rb +0 -31
- data/lib/xmi/uml13/graphic_markerbody.rb +0 -18
- data/lib/xmi/uml13/guard.rb +0 -122
- data/lib/xmi/uml13/guardexpression.rb +0 -16
- data/lib/xmi/uml13/guardtransition.rb +0 -16
- data/lib/xmi/uml13/instance.rb +0 -147
- data/lib/xmi/uml13/instanceattribute_link.rb +0 -16
- data/lib/xmi/uml13/instanceclassifier.rb +0 -16
- data/lib/xmi/uml13/instancelink_end.rb +0 -16
- data/lib/xmi/uml13/instancemessage_instance.rb +0 -16
- data/lib/xmi/uml13/instancemessage_instance2.rb +0 -16
- data/lib/xmi/uml13/instancemessage_instance3.rb +0 -16
- data/lib/xmi/uml13/instanceslot.rb +0 -16
- data/lib/xmi/uml13/interaction.rb +0 -122
- data/lib/xmi/uml13/interactioncontext.rb +0 -16
- data/lib/xmi/uml13/interactionmessage.rb +0 -16
- data/lib/xmi/uml13/interface.rb +0 -194
- data/lib/xmi/uml13/link.rb +0 -122
- data/lib/xmi/uml13/link_end.rb +0 -129
- data/lib/xmi/uml13/link_endassociation_end.rb +0 -16
- data/lib/xmi/uml13/link_endinstance.rb +0 -16
- data/lib/xmi/uml13/link_endlink.rb +0 -16
- data/lib/xmi/uml13/link_object.rb +0 -155
- data/lib/xmi/uml13/linkassociation.rb +0 -16
- data/lib/xmi/uml13/linklink_role.rb +0 -16
- data/lib/xmi/uml13/local_invocation.rb +0 -148
- data/lib/xmi/uml13/mapping.rb +0 -31
- data/lib/xmi/uml13/mappingbody.rb +0 -18
- data/lib/xmi/uml13/message.rb +0 -154
- data/lib/xmi/uml13/message_instance.rb +0 -134
- data/lib/xmi/uml13/message_instanceargument.rb +0 -16
- data/lib/xmi/uml13/message_instancereceiver.rb +0 -16
- data/lib/xmi/uml13/message_instancesender.rb +0 -16
- data/lib/xmi/uml13/message_instancespecification.rb +0 -16
- data/lib/xmi/uml13/messageaction.rb +0 -16
- data/lib/xmi/uml13/messageactivator.rb +0 -16
- data/lib/xmi/uml13/messageinteraction.rb +0 -16
- data/lib/xmi/uml13/messagemessage.rb +0 -16
- data/lib/xmi/uml13/messagemessage2.rb +0 -16
- data/lib/xmi/uml13/messagepredecessor.rb +0 -16
- data/lib/xmi/uml13/messagereceiver.rb +0 -16
- data/lib/xmi/uml13/messagesender.rb +0 -16
- data/lib/xmi/uml13/method.rb +0 -150
- data/lib/xmi/uml13/methodbody.rb +0 -16
- data/lib/xmi/uml13/methodspecification.rb +0 -16
- data/lib/xmi/uml13/model.rb +0 -141
- data/lib/xmi/uml13/model_element.rb +0 -114
- data/lib/xmi/uml13/model_element_owns_diagramowned_diagram.rb +0 -16
- data/lib/xmi/uml13/model_elementbehavior.rb +0 -16
- data/lib/xmi/uml13/model_elementbinding.rb +0 -16
- data/lib/xmi/uml13/model_elementcollaboration.rb +0 -16
- data/lib/xmi/uml13/model_elementconstraint.rb +0 -16
- data/lib/xmi/uml13/model_elementelement_reference.rb +0 -16
- data/lib/xmi/uml13/model_elementimplementation.rb +0 -16
- data/lib/xmi/uml13/model_elementname.rb +0 -18
- data/lib/xmi/uml13/model_elementnamespace.rb +0 -16
- data/lib/xmi/uml13/model_elementpartition.rb +0 -16
- data/lib/xmi/uml13/model_elementpresentation.rb +0 -16
- data/lib/xmi/uml13/model_elementprovision.rb +0 -16
- data/lib/xmi/uml13/model_elementrequirement.rb +0 -16
- data/lib/xmi/uml13/model_elementstereotype.rb +0 -16
- data/lib/xmi/uml13/model_elementtagged_value.rb +0 -16
- data/lib/xmi/uml13/model_elementtemplate.rb +0 -16
- data/lib/xmi/uml13/model_elementtemplate_parameter.rb +0 -16
- data/lib/xmi/uml13/model_elementview.rb +0 -16
- data/lib/xmi/uml13/model_elementvisibility.rb +0 -14
- data/lib/xmi/uml13/model_management.rb +0 -35
- data/lib/xmi/uml13/multiplicity_range.rb +0 -36
- data/lib/xmi/uml13/multiplicity_rangelower.rb +0 -18
- data/lib/xmi/uml13/multiplicity_rangeupper.rb +0 -18
- data/lib/xmi/uml13/namespace.rb +0 -117
- data/lib/xmi/uml13/namespaceowned_element.rb +0 -268
- data/lib/xmi/uml13/node.rb +0 -199
- data/lib/xmi/uml13/nodecomponent.rb +0 -16
- data/lib/xmi/uml13/object.rb +0 -147
- data/lib/xmi/uml13/object_flow_state.rb +0 -158
- data/lib/xmi/uml13/object_flow_statetype_state.rb +0 -16
- data/lib/xmi/uml13/object_set_expression.rb +0 -36
- data/lib/xmi/uml13/operation.rb +0 -176
- data/lib/xmi/uml13/operationcollaboration.rb +0 -16
- data/lib/xmi/uml13/operationconcurrency.rb +0 -14
- data/lib/xmi/uml13/operationis_polymorphic.rb +0 -14
- data/lib/xmi/uml13/operationmethod.rb +0 -16
- data/lib/xmi/uml13/operationoccurrence.rb +0 -16
- data/lib/xmi/uml13/operationspecification.rb +0 -18
- data/lib/xmi/uml13/package.rb +0 -141
- data/lib/xmi/uml13/packageelement_reference.rb +0 -16
- data/lib/xmi/uml13/parameter.rb +0 -137
- data/lib/xmi/uml13/parameterbehavioral_feature.rb +0 -16
- data/lib/xmi/uml13/parameterdefault_value.rb +0 -28
- data/lib/xmi/uml13/parameterkind.rb +0 -14
- data/lib/xmi/uml13/parametersignal.rb +0 -16
- data/lib/xmi/uml13/parametertype.rb +0 -16
- data/lib/xmi/uml13/partition.rb +0 -124
- data/lib/xmi/uml13/partitionactivity_model.rb +0 -16
- data/lib/xmi/uml13/partitioncontents.rb +0 -16
- data/lib/xmi/uml13/presentation.rb +0 -42
- data/lib/xmi/uml13/presentationgeometry.rb +0 -16
- data/lib/xmi/uml13/presentationmodel.rb +0 -16
- data/lib/xmi/uml13/presentationstyle.rb +0 -16
- data/lib/xmi/uml13/presentationview_element.rb +0 -16
- data/lib/xmi/uml13/primitive.rb +0 -194
- data/lib/xmi/uml13/procedure_expression.rb +0 -36
- data/lib/xmi/uml13/pseudo_state.rb +0 -134
- data/lib/xmi/uml13/pseudo_statekind.rb +0 -14
- data/lib/xmi/uml13/reception.rb +0 -157
- data/lib/xmi/uml13/receptionis_polymorphic.rb +0 -14
- data/lib/xmi/uml13/receptionsignal.rb +0 -16
- data/lib/xmi/uml13/receptionspecification.rb +0 -18
- data/lib/xmi/uml13/refinement.rb +0 -140
- data/lib/xmi/uml13/refinementmapping.rb +0 -16
- data/lib/xmi/uml13/request.rb +0 -124
- data/lib/xmi/uml13/requestaction.rb +0 -16
- data/lib/xmi/uml13/requestmessage_instance.rb +0 -16
- data/lib/xmi/uml13/return_action.rb +0 -148
- data/lib/xmi/uml13/send_action.rb +0 -148
- data/lib/xmi/uml13/signal.rb +0 -165
- data/lib/xmi/uml13/signal_event.rb +0 -129
- data/lib/xmi/uml13/signal_eventsignal.rb +0 -16
- data/lib/xmi/uml13/signaloccurrence.rb +0 -16
- data/lib/xmi/uml13/signalparameter.rb +0 -16
- data/lib/xmi/uml13/signalreception.rb +0 -16
- data/lib/xmi/uml13/simple_state.rb +0 -153
- data/lib/xmi/uml13/state.rb +0 -153
- data/lib/xmi/uml13/state_machine.rb +0 -130
- data/lib/xmi/uml13/state_machinecontext.rb +0 -16
- data/lib/xmi/uml13/state_machines.rb +0 -83
- data/lib/xmi/uml13/state_machinesubmachine_state.rb +0 -16
- data/lib/xmi/uml13/state_machinetop.rb +0 -34
- data/lib/xmi/uml13/state_machinetransitions.rb +0 -16
- data/lib/xmi/uml13/state_vertex.rb +0 -129
- data/lib/xmi/uml13/state_vertexincoming.rb +0 -16
- data/lib/xmi/uml13/state_vertexoutgoing.rb +0 -16
- data/lib/xmi/uml13/state_vertexparent.rb +0 -16
- data/lib/xmi/uml13/stateclassifier_in_state.rb +0 -16
- data/lib/xmi/uml13/statedeferred_event.rb +0 -16
- data/lib/xmi/uml13/stateentry.rb +0 -16
- data/lib/xmi/uml13/stateexit.rb +0 -16
- data/lib/xmi/uml13/stateinternal_transition.rb +0 -16
- data/lib/xmi/uml13/statestate_machine.rb +0 -16
- data/lib/xmi/uml13/stereotype.rb +0 -163
- data/lib/xmi/uml13/stereotypebase_class.rb +0 -18
- data/lib/xmi/uml13/stereotypeextended_element.rb +0 -16
- data/lib/xmi/uml13/stereotypeicon.rb +0 -16
- data/lib/xmi/uml13/stereotyperequired_tag.rb +0 -16
- data/lib/xmi/uml13/stereotypestereotype_constraint.rb +0 -16
- data/lib/xmi/uml13/structural_feature.rb +0 -149
- data/lib/xmi/uml13/structural_featurechangeable.rb +0 -14
- data/lib/xmi/uml13/structural_featuremultiplicity.rb +0 -18
- data/lib/xmi/uml13/structural_featuretarget_scope.rb +0 -14
- data/lib/xmi/uml13/structural_featuretype.rb +0 -16
- data/lib/xmi/uml13/structure.rb +0 -194
- data/lib/xmi/uml13/submachine_state.rb +0 -152
- data/lib/xmi/uml13/submachine_statestate_machine.rb +0 -16
- data/lib/xmi/uml13/subsystem.rb +0 -198
- data/lib/xmi/uml13/subsystemis_instantiable.rb +0 -14
- data/lib/xmi/uml13/tagged_value.rb +0 -48
- data/lib/xmi/uml13/tagged_valuemodel_element.rb +0 -16
- data/lib/xmi/uml13/tagged_valuestereotype.rb +0 -16
- data/lib/xmi/uml13/tagged_valuetag.rb +0 -18
- data/lib/xmi/uml13/tagged_valuevalue.rb +0 -18
- data/lib/xmi/uml13/terminate_action.rb +0 -148
- data/lib/xmi/uml13/time_event.rb +0 -127
- data/lib/xmi/uml13/time_eventduration.rb +0 -16
- data/lib/xmi/uml13/time_expression.rb +0 -36
- data/lib/xmi/uml13/trace.rb +0 -137
- data/lib/xmi/uml13/transition.rb +0 -145
- data/lib/xmi/uml13/transitioneffect.rb +0 -16
- data/lib/xmi/uml13/transitionguard.rb +0 -16
- data/lib/xmi/uml13/transitionsource.rb +0 -16
- data/lib/xmi/uml13/transitionstate.rb +0 -16
- data/lib/xmi/uml13/transitionstatemachine.rb +0 -16
- data/lib/xmi/uml13/transitiontarget.rb +0 -16
- data/lib/xmi/uml13/transitiontrigger.rb +0 -16
- data/lib/xmi/uml13/uninterpreted_action.rb +0 -153
- data/lib/xmi/uml13/uninterpreted_actionbody.rb +0 -18
- data/lib/xmi/uml13/usage.rb +0 -137
- data/lib/xmi/uml13/use_case.rb +0 -199
- data/lib/xmi/uml13/use_case_instance.rb +0 -147
- data/lib/xmi/uml13/use_caseextension_point.rb +0 -18
- data/lib/xmi/uml13/use_cases.rb +0 -32
- data/lib/xmi/uml13/view_element.rb +0 -36
- data/lib/xmi/uml13/view_elementmodel.rb +0 -16
- data/lib/xmi/uml13/view_elementpresentation.rb +0 -16
- data/lib/xmi/uml13/xm_iextension.rb +0 -27
- data/lib/xmi/uml13/xm_ireference.rb +0 -17
- data/lib/xmi/uml13.rb +0 -368
@@ -1,153 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "model_elementbehavior"
|
6
|
-
require_relative "model_elementbinding"
|
7
|
-
require_relative "model_elementcollaboration"
|
8
|
-
require_relative "model_elementconstraint"
|
9
|
-
require_relative "model_elementelement_reference"
|
10
|
-
require_relative "model_elementimplementation"
|
11
|
-
require_relative "model_elementname"
|
12
|
-
require_relative "model_elementnamespace"
|
13
|
-
require_relative "model_elementpartition"
|
14
|
-
require_relative "model_elementpresentation"
|
15
|
-
require_relative "model_elementprovision"
|
16
|
-
require_relative "model_elementrequirement"
|
17
|
-
require_relative "model_elementstereotype"
|
18
|
-
require_relative "model_elementtagged_value"
|
19
|
-
require_relative "model_elementtemplate"
|
20
|
-
require_relative "model_elementtemplate_parameter"
|
21
|
-
require_relative "model_elementview"
|
22
|
-
require_relative "model_elementvisibility"
|
23
|
-
require_relative "state_vertexincoming"
|
24
|
-
require_relative "state_vertexoutgoing"
|
25
|
-
require_relative "state_vertexparent"
|
26
|
-
require_relative "stateclassifier_in_state"
|
27
|
-
require_relative "statedeferred_event"
|
28
|
-
require_relative "stateentry"
|
29
|
-
require_relative "stateexit"
|
30
|
-
require_relative "stateinternal_transition"
|
31
|
-
require_relative "statestate_machine"
|
32
|
-
require_relative "xm_iextension"
|
33
|
-
|
34
|
-
class SimpleState < Shale::Mapper
|
35
|
-
attribute :name, Shale::Type::Value
|
36
|
-
attribute :visibility, Shale::Type::String
|
37
|
-
attribute :binding, Shale::Type::Value
|
38
|
-
attribute :template, Shale::Type::Value
|
39
|
-
attribute :template_parameter, Shale::Type::Value
|
40
|
-
attribute :implementation, Shale::Type::Value
|
41
|
-
attribute :view, Shale::Type::Value
|
42
|
-
attribute :presentation, Shale::Type::Value
|
43
|
-
attribute :namespace, Shale::Type::Value
|
44
|
-
attribute :constraint, Shale::Type::Value
|
45
|
-
attribute :requirement, Shale::Type::Value
|
46
|
-
attribute :provision, Shale::Type::Value
|
47
|
-
attribute :stereotype, Shale::Type::Value
|
48
|
-
attribute :element_reference, Shale::Type::Value
|
49
|
-
attribute :collaboration, Shale::Type::Value
|
50
|
-
attribute :behavior, Shale::Type::Value
|
51
|
-
attribute :partition, Shale::Type::Value
|
52
|
-
attribute :outgoing, Shale::Type::Value
|
53
|
-
attribute :incoming, Shale::Type::Value
|
54
|
-
attribute :parent, Shale::Type::Value
|
55
|
-
attribute :state_machine, Shale::Type::Value
|
56
|
-
attribute :deferred_event, Shale::Type::Value
|
57
|
-
attribute :classifier_in_state, Shale::Type::Value
|
58
|
-
attribute :xmi_id, Shale::Type::Value
|
59
|
-
attribute :xmi_label, Shale::Type::Value
|
60
|
-
attribute :xmi_uuid, Shale::Type::Value
|
61
|
-
attribute :href, Shale::Type::Value
|
62
|
-
attribute :xmi_idref, Shale::Type::Value
|
63
|
-
attribute :model_element_name, ModelElementname, collection: true
|
64
|
-
attribute :model_element_visibility, ModelElementvisibility, collection: true
|
65
|
-
attribute :xmi_extension, XMIextension, collection: true
|
66
|
-
attribute :model_element_binding, ModelElementbinding, collection: true
|
67
|
-
attribute :model_element_template, ModelElementtemplate, collection: true
|
68
|
-
attribute :model_element_template_parameter, ModelElementtemplateParameter, collection: true
|
69
|
-
attribute :model_element_implementation, ModelElementimplementation, collection: true
|
70
|
-
attribute :model_element_view, ModelElementview, collection: true
|
71
|
-
attribute :model_element_presentation, ModelElementpresentation, collection: true
|
72
|
-
attribute :model_element_namespace, ModelElementnamespace, collection: true
|
73
|
-
attribute :model_element_constraint, ModelElementconstraint, collection: true
|
74
|
-
attribute :model_element_requirement, ModelElementrequirement, collection: true
|
75
|
-
attribute :model_element_provision, ModelElementprovision, collection: true
|
76
|
-
attribute :model_element_stereotype, ModelElementstereotype, collection: true
|
77
|
-
attribute :model_element_element_reference, ModelElementelementReference, collection: true
|
78
|
-
attribute :model_element_collaboration, ModelElementcollaboration, collection: true
|
79
|
-
attribute :model_element_behavior, ModelElementbehavior, collection: true
|
80
|
-
attribute :model_element_partition, ModelElementpartition, collection: true
|
81
|
-
attribute :state_vertex_outgoing, StateVertexoutgoing, collection: true
|
82
|
-
attribute :state_vertex_incoming, StateVertexincoming, collection: true
|
83
|
-
attribute :state_vertex_parent, StateVertexparent, collection: true
|
84
|
-
attribute :state_state_machine, StatestateMachine, collection: true
|
85
|
-
attribute :state_deferred_event, StatedeferredEvent, collection: true
|
86
|
-
attribute :state_classifier_in_state, StateclassifierInState, collection: true
|
87
|
-
attribute :model_element_tagged_value, ModelElementtaggedValue, collection: true
|
88
|
-
attribute :state_internal_transition, StateinternalTransition, collection: true
|
89
|
-
attribute :state_entry, Stateentry, collection: true
|
90
|
-
attribute :state_exit, Stateexit, collection: true
|
91
|
-
|
92
|
-
xml do
|
93
|
-
root "SimpleState"
|
94
|
-
namespace "omg.org/UML1.3", "UML"
|
95
|
-
|
96
|
-
map_attribute "name", to: :name
|
97
|
-
map_attribute "visibility", to: :visibility
|
98
|
-
map_attribute "binding", to: :binding
|
99
|
-
map_attribute "template", to: :template
|
100
|
-
map_attribute "templateParameter", to: :template_parameter
|
101
|
-
map_attribute "implementation", to: :implementation
|
102
|
-
map_attribute "view", to: :view
|
103
|
-
map_attribute "presentation", to: :presentation
|
104
|
-
map_attribute "namespace", to: :namespace
|
105
|
-
map_attribute "constraint", to: :constraint
|
106
|
-
map_attribute "requirement", to: :requirement
|
107
|
-
map_attribute "provision", to: :provision
|
108
|
-
map_attribute "stereotype", to: :stereotype
|
109
|
-
map_attribute "elementReference", to: :element_reference
|
110
|
-
map_attribute "collaboration", to: :collaboration
|
111
|
-
map_attribute "behavior", to: :behavior
|
112
|
-
map_attribute "partition", to: :partition
|
113
|
-
map_attribute "outgoing", to: :outgoing
|
114
|
-
map_attribute "incoming", to: :incoming
|
115
|
-
map_attribute "parent", to: :parent
|
116
|
-
map_attribute "stateMachine", to: :state_machine
|
117
|
-
map_attribute "deferredEvent", to: :deferred_event
|
118
|
-
map_attribute "classifierInState", to: :classifier_in_state
|
119
|
-
map_attribute "xmi.id", to: :xmi_id
|
120
|
-
map_attribute "xmi.label", to: :xmi_label
|
121
|
-
map_attribute "xmi.uuid", to: :xmi_uuid
|
122
|
-
map_attribute "href", to: :href
|
123
|
-
map_attribute "xmi.idref", to: :xmi_idref
|
124
|
-
map_element "ModelElement.name", to: :model_element_name
|
125
|
-
map_element "ModelElement.visibility", to: :model_element_visibility
|
126
|
-
map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
|
127
|
-
map_element "ModelElement.binding", to: :model_element_binding
|
128
|
-
map_element "ModelElement.template", to: :model_element_template
|
129
|
-
map_element "ModelElement.templateParameter", to: :model_element_template_parameter
|
130
|
-
map_element "ModelElement.implementation", to: :model_element_implementation
|
131
|
-
map_element "ModelElement.view", to: :model_element_view
|
132
|
-
map_element "ModelElement.presentation", to: :model_element_presentation
|
133
|
-
map_element "ModelElement.namespace", to: :model_element_namespace
|
134
|
-
map_element "ModelElement.constraint", to: :model_element_constraint
|
135
|
-
map_element "ModelElement.requirement", to: :model_element_requirement
|
136
|
-
map_element "ModelElement.provision", to: :model_element_provision
|
137
|
-
map_element "ModelElement.stereotype", to: :model_element_stereotype
|
138
|
-
map_element "ModelElement.elementReference", to: :model_element_element_reference
|
139
|
-
map_element "ModelElement.collaboration", to: :model_element_collaboration
|
140
|
-
map_element "ModelElement.behavior", to: :model_element_behavior
|
141
|
-
map_element "ModelElement.partition", to: :model_element_partition
|
142
|
-
map_element "StateVertex.outgoing", to: :state_vertex_outgoing
|
143
|
-
map_element "StateVertex.incoming", to: :state_vertex_incoming
|
144
|
-
map_element "StateVertex.parent", to: :state_vertex_parent
|
145
|
-
map_element "State.stateMachine", to: :state_state_machine
|
146
|
-
map_element "State.deferredEvent", to: :state_deferred_event
|
147
|
-
map_element "State.classifierInState", to: :state_classifier_in_state
|
148
|
-
map_element "ModelElement.taggedValue", to: :model_element_tagged_value
|
149
|
-
map_element "State.internalTransition", to: :state_internal_transition
|
150
|
-
map_element "State.entry", to: :state_entry
|
151
|
-
map_element "State.exit", to: :state_exit
|
152
|
-
end
|
153
|
-
end
|
data/lib/xmi/uml13/state.rb
DELETED
@@ -1,153 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "model_elementbehavior"
|
6
|
-
require_relative "model_elementbinding"
|
7
|
-
require_relative "model_elementcollaboration"
|
8
|
-
require_relative "model_elementconstraint"
|
9
|
-
require_relative "model_elementelement_reference"
|
10
|
-
require_relative "model_elementimplementation"
|
11
|
-
require_relative "model_elementname"
|
12
|
-
require_relative "model_elementnamespace"
|
13
|
-
require_relative "model_elementpartition"
|
14
|
-
require_relative "model_elementpresentation"
|
15
|
-
require_relative "model_elementprovision"
|
16
|
-
require_relative "model_elementrequirement"
|
17
|
-
require_relative "model_elementstereotype"
|
18
|
-
require_relative "model_elementtagged_value"
|
19
|
-
require_relative "model_elementtemplate"
|
20
|
-
require_relative "model_elementtemplate_parameter"
|
21
|
-
require_relative "model_elementview"
|
22
|
-
require_relative "model_elementvisibility"
|
23
|
-
require_relative "state_vertexincoming"
|
24
|
-
require_relative "state_vertexoutgoing"
|
25
|
-
require_relative "state_vertexparent"
|
26
|
-
require_relative "stateclassifier_in_state"
|
27
|
-
require_relative "statedeferred_event"
|
28
|
-
require_relative "stateentry"
|
29
|
-
require_relative "stateexit"
|
30
|
-
require_relative "stateinternal_transition"
|
31
|
-
require_relative "statestate_machine"
|
32
|
-
require_relative "xm_iextension"
|
33
|
-
|
34
|
-
class State < Shale::Mapper
|
35
|
-
attribute :name, Shale::Type::Value
|
36
|
-
attribute :visibility, Shale::Type::String
|
37
|
-
attribute :binding, Shale::Type::Value
|
38
|
-
attribute :template, Shale::Type::Value
|
39
|
-
attribute :template_parameter, Shale::Type::Value
|
40
|
-
attribute :implementation, Shale::Type::Value
|
41
|
-
attribute :view, Shale::Type::Value
|
42
|
-
attribute :presentation, Shale::Type::Value
|
43
|
-
attribute :namespace, Shale::Type::Value
|
44
|
-
attribute :constraint, Shale::Type::Value
|
45
|
-
attribute :requirement, Shale::Type::Value
|
46
|
-
attribute :provision, Shale::Type::Value
|
47
|
-
attribute :stereotype, Shale::Type::Value
|
48
|
-
attribute :element_reference, Shale::Type::Value
|
49
|
-
attribute :collaboration, Shale::Type::Value
|
50
|
-
attribute :behavior, Shale::Type::Value
|
51
|
-
attribute :partition, Shale::Type::Value
|
52
|
-
attribute :outgoing, Shale::Type::Value
|
53
|
-
attribute :incoming, Shale::Type::Value
|
54
|
-
attribute :parent, Shale::Type::Value
|
55
|
-
attribute :state_machine, Shale::Type::Value
|
56
|
-
attribute :deferred_event, Shale::Type::Value
|
57
|
-
attribute :classifier_in_state, Shale::Type::Value
|
58
|
-
attribute :xmi_id, Shale::Type::Value
|
59
|
-
attribute :xmi_label, Shale::Type::Value
|
60
|
-
attribute :xmi_uuid, Shale::Type::Value
|
61
|
-
attribute :href, Shale::Type::Value
|
62
|
-
attribute :xmi_idref, Shale::Type::Value
|
63
|
-
attribute :model_element_name, ModelElementname, collection: true
|
64
|
-
attribute :model_element_visibility, ModelElementvisibility, collection: true
|
65
|
-
attribute :xmi_extension, XMIextension, collection: true
|
66
|
-
attribute :model_element_binding, ModelElementbinding, collection: true
|
67
|
-
attribute :model_element_template, ModelElementtemplate, collection: true
|
68
|
-
attribute :model_element_template_parameter, ModelElementtemplateParameter, collection: true
|
69
|
-
attribute :model_element_implementation, ModelElementimplementation, collection: true
|
70
|
-
attribute :model_element_view, ModelElementview, collection: true
|
71
|
-
attribute :model_element_presentation, ModelElementpresentation, collection: true
|
72
|
-
attribute :model_element_namespace, ModelElementnamespace, collection: true
|
73
|
-
attribute :model_element_constraint, ModelElementconstraint, collection: true
|
74
|
-
attribute :model_element_requirement, ModelElementrequirement, collection: true
|
75
|
-
attribute :model_element_provision, ModelElementprovision, collection: true
|
76
|
-
attribute :model_element_stereotype, ModelElementstereotype, collection: true
|
77
|
-
attribute :model_element_element_reference, ModelElementelementReference, collection: true
|
78
|
-
attribute :model_element_collaboration, ModelElementcollaboration, collection: true
|
79
|
-
attribute :model_element_behavior, ModelElementbehavior, collection: true
|
80
|
-
attribute :model_element_partition, ModelElementpartition, collection: true
|
81
|
-
attribute :state_vertex_outgoing, StateVertexoutgoing, collection: true
|
82
|
-
attribute :state_vertex_incoming, StateVertexincoming, collection: true
|
83
|
-
attribute :state_vertex_parent, StateVertexparent, collection: true
|
84
|
-
attribute :state_state_machine, StatestateMachine, collection: true
|
85
|
-
attribute :state_deferred_event, StatedeferredEvent, collection: true
|
86
|
-
attribute :state_classifier_in_state, StateclassifierInState, collection: true
|
87
|
-
attribute :model_element_tagged_value, ModelElementtaggedValue, collection: true
|
88
|
-
attribute :state_internal_transition, StateinternalTransition, collection: true
|
89
|
-
attribute :state_entry, Stateentry, collection: true
|
90
|
-
attribute :state_exit, Stateexit, collection: true
|
91
|
-
|
92
|
-
xml do
|
93
|
-
root "State"
|
94
|
-
namespace "omg.org/UML1.3", "UML"
|
95
|
-
|
96
|
-
map_attribute "name", to: :name
|
97
|
-
map_attribute "visibility", to: :visibility
|
98
|
-
map_attribute "binding", to: :binding
|
99
|
-
map_attribute "template", to: :template
|
100
|
-
map_attribute "templateParameter", to: :template_parameter
|
101
|
-
map_attribute "implementation", to: :implementation
|
102
|
-
map_attribute "view", to: :view
|
103
|
-
map_attribute "presentation", to: :presentation
|
104
|
-
map_attribute "namespace", to: :namespace
|
105
|
-
map_attribute "constraint", to: :constraint
|
106
|
-
map_attribute "requirement", to: :requirement
|
107
|
-
map_attribute "provision", to: :provision
|
108
|
-
map_attribute "stereotype", to: :stereotype
|
109
|
-
map_attribute "elementReference", to: :element_reference
|
110
|
-
map_attribute "collaboration", to: :collaboration
|
111
|
-
map_attribute "behavior", to: :behavior
|
112
|
-
map_attribute "partition", to: :partition
|
113
|
-
map_attribute "outgoing", to: :outgoing
|
114
|
-
map_attribute "incoming", to: :incoming
|
115
|
-
map_attribute "parent", to: :parent
|
116
|
-
map_attribute "stateMachine", to: :state_machine
|
117
|
-
map_attribute "deferredEvent", to: :deferred_event
|
118
|
-
map_attribute "classifierInState", to: :classifier_in_state
|
119
|
-
map_attribute "xmi.id", to: :xmi_id
|
120
|
-
map_attribute "xmi.label", to: :xmi_label
|
121
|
-
map_attribute "xmi.uuid", to: :xmi_uuid
|
122
|
-
map_attribute "href", to: :href
|
123
|
-
map_attribute "xmi.idref", to: :xmi_idref
|
124
|
-
map_element "ModelElement.name", to: :model_element_name
|
125
|
-
map_element "ModelElement.visibility", to: :model_element_visibility
|
126
|
-
map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
|
127
|
-
map_element "ModelElement.binding", to: :model_element_binding
|
128
|
-
map_element "ModelElement.template", to: :model_element_template
|
129
|
-
map_element "ModelElement.templateParameter", to: :model_element_template_parameter
|
130
|
-
map_element "ModelElement.implementation", to: :model_element_implementation
|
131
|
-
map_element "ModelElement.view", to: :model_element_view
|
132
|
-
map_element "ModelElement.presentation", to: :model_element_presentation
|
133
|
-
map_element "ModelElement.namespace", to: :model_element_namespace
|
134
|
-
map_element "ModelElement.constraint", to: :model_element_constraint
|
135
|
-
map_element "ModelElement.requirement", to: :model_element_requirement
|
136
|
-
map_element "ModelElement.provision", to: :model_element_provision
|
137
|
-
map_element "ModelElement.stereotype", to: :model_element_stereotype
|
138
|
-
map_element "ModelElement.elementReference", to: :model_element_element_reference
|
139
|
-
map_element "ModelElement.collaboration", to: :model_element_collaboration
|
140
|
-
map_element "ModelElement.behavior", to: :model_element_behavior
|
141
|
-
map_element "ModelElement.partition", to: :model_element_partition
|
142
|
-
map_element "StateVertex.outgoing", to: :state_vertex_outgoing
|
143
|
-
map_element "StateVertex.incoming", to: :state_vertex_incoming
|
144
|
-
map_element "StateVertex.parent", to: :state_vertex_parent
|
145
|
-
map_element "State.stateMachine", to: :state_state_machine
|
146
|
-
map_element "State.deferredEvent", to: :state_deferred_event
|
147
|
-
map_element "State.classifierInState", to: :state_classifier_in_state
|
148
|
-
map_element "ModelElement.taggedValue", to: :model_element_tagged_value
|
149
|
-
map_element "State.internalTransition", to: :state_internal_transition
|
150
|
-
map_element "State.entry", to: :state_entry
|
151
|
-
map_element "State.exit", to: :state_exit
|
152
|
-
end
|
153
|
-
end
|
@@ -1,130 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "model_elementbehavior"
|
6
|
-
require_relative "model_elementbinding"
|
7
|
-
require_relative "model_elementcollaboration"
|
8
|
-
require_relative "model_elementconstraint"
|
9
|
-
require_relative "model_elementelement_reference"
|
10
|
-
require_relative "model_elementimplementation"
|
11
|
-
require_relative "model_elementname"
|
12
|
-
require_relative "model_elementnamespace"
|
13
|
-
require_relative "model_elementpartition"
|
14
|
-
require_relative "model_elementpresentation"
|
15
|
-
require_relative "model_elementprovision"
|
16
|
-
require_relative "model_elementrequirement"
|
17
|
-
require_relative "model_elementstereotype"
|
18
|
-
require_relative "model_elementtagged_value"
|
19
|
-
require_relative "model_elementtemplate"
|
20
|
-
require_relative "model_elementtemplate_parameter"
|
21
|
-
require_relative "model_elementview"
|
22
|
-
require_relative "model_elementvisibility"
|
23
|
-
require_relative "state_machinecontext"
|
24
|
-
require_relative "state_machinesubmachine_state"
|
25
|
-
require_relative "state_machinetop"
|
26
|
-
require_relative "state_machinetransitions"
|
27
|
-
require_relative "xm_iextension"
|
28
|
-
|
29
|
-
class StateMachine < Shale::Mapper
|
30
|
-
attribute :name, Shale::Type::Value
|
31
|
-
attribute :visibility, Shale::Type::String
|
32
|
-
attribute :binding, Shale::Type::Value
|
33
|
-
attribute :template, Shale::Type::Value
|
34
|
-
attribute :template_parameter, Shale::Type::Value
|
35
|
-
attribute :implementation, Shale::Type::Value
|
36
|
-
attribute :view, Shale::Type::Value
|
37
|
-
attribute :presentation, Shale::Type::Value
|
38
|
-
attribute :namespace, Shale::Type::Value
|
39
|
-
attribute :constraint, Shale::Type::Value
|
40
|
-
attribute :requirement, Shale::Type::Value
|
41
|
-
attribute :provision, Shale::Type::Value
|
42
|
-
attribute :stereotype, Shale::Type::Value
|
43
|
-
attribute :element_reference, Shale::Type::Value
|
44
|
-
attribute :collaboration, Shale::Type::Value
|
45
|
-
attribute :behavior, Shale::Type::Value
|
46
|
-
attribute :partition, Shale::Type::Value
|
47
|
-
attribute :context, Shale::Type::Value
|
48
|
-
attribute :submachine_state, Shale::Type::Value
|
49
|
-
attribute :xmi_id, Shale::Type::Value
|
50
|
-
attribute :xmi_label, Shale::Type::Value
|
51
|
-
attribute :xmi_uuid, Shale::Type::Value
|
52
|
-
attribute :href, Shale::Type::Value
|
53
|
-
attribute :xmi_idref, Shale::Type::Value
|
54
|
-
attribute :model_element_name, ModelElementname, collection: true
|
55
|
-
attribute :model_element_visibility, ModelElementvisibility, collection: true
|
56
|
-
attribute :xmi_extension, XMIextension, collection: true
|
57
|
-
attribute :model_element_binding, ModelElementbinding, collection: true
|
58
|
-
attribute :model_element_template, ModelElementtemplate, collection: true
|
59
|
-
attribute :model_element_template_parameter, ModelElementtemplateParameter, collection: true
|
60
|
-
attribute :model_element_implementation, ModelElementimplementation, collection: true
|
61
|
-
attribute :model_element_view, ModelElementview, collection: true
|
62
|
-
attribute :model_element_presentation, ModelElementpresentation, collection: true
|
63
|
-
attribute :model_element_namespace, ModelElementnamespace, collection: true
|
64
|
-
attribute :model_element_constraint, ModelElementconstraint, collection: true
|
65
|
-
attribute :model_element_requirement, ModelElementrequirement, collection: true
|
66
|
-
attribute :model_element_provision, ModelElementprovision, collection: true
|
67
|
-
attribute :model_element_stereotype, ModelElementstereotype, collection: true
|
68
|
-
attribute :model_element_element_reference, ModelElementelementReference, collection: true
|
69
|
-
attribute :model_element_collaboration, ModelElementcollaboration, collection: true
|
70
|
-
attribute :model_element_behavior, ModelElementbehavior, collection: true
|
71
|
-
attribute :model_element_partition, ModelElementpartition, collection: true
|
72
|
-
attribute :state_machine_context, StateMachinecontext, collection: true
|
73
|
-
attribute :state_machine_submachine_state, StateMachinesubmachineState, collection: true
|
74
|
-
attribute :model_element_tagged_value, ModelElementtaggedValue, collection: true
|
75
|
-
attribute :state_machine_top, StateMachinetop, collection: true
|
76
|
-
attribute :state_machine_transitions, StateMachinetransitions, collection: true
|
77
|
-
|
78
|
-
xml do
|
79
|
-
root "StateMachine"
|
80
|
-
namespace "omg.org/UML1.3", "UML"
|
81
|
-
|
82
|
-
map_attribute "name", to: :name
|
83
|
-
map_attribute "visibility", to: :visibility
|
84
|
-
map_attribute "binding", to: :binding
|
85
|
-
map_attribute "template", to: :template
|
86
|
-
map_attribute "templateParameter", to: :template_parameter
|
87
|
-
map_attribute "implementation", to: :implementation
|
88
|
-
map_attribute "view", to: :view
|
89
|
-
map_attribute "presentation", to: :presentation
|
90
|
-
map_attribute "namespace", to: :namespace
|
91
|
-
map_attribute "constraint", to: :constraint
|
92
|
-
map_attribute "requirement", to: :requirement
|
93
|
-
map_attribute "provision", to: :provision
|
94
|
-
map_attribute "stereotype", to: :stereotype
|
95
|
-
map_attribute "elementReference", to: :element_reference
|
96
|
-
map_attribute "collaboration", to: :collaboration
|
97
|
-
map_attribute "behavior", to: :behavior
|
98
|
-
map_attribute "partition", to: :partition
|
99
|
-
map_attribute "context", to: :context
|
100
|
-
map_attribute "submachineState", to: :submachine_state
|
101
|
-
map_attribute "xmi.id", to: :xmi_id
|
102
|
-
map_attribute "xmi.label", to: :xmi_label
|
103
|
-
map_attribute "xmi.uuid", to: :xmi_uuid
|
104
|
-
map_attribute "href", to: :href
|
105
|
-
map_attribute "xmi.idref", to: :xmi_idref
|
106
|
-
map_element "ModelElement.name", to: :model_element_name
|
107
|
-
map_element "ModelElement.visibility", to: :model_element_visibility
|
108
|
-
map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
|
109
|
-
map_element "ModelElement.binding", to: :model_element_binding
|
110
|
-
map_element "ModelElement.template", to: :model_element_template
|
111
|
-
map_element "ModelElement.templateParameter", to: :model_element_template_parameter
|
112
|
-
map_element "ModelElement.implementation", to: :model_element_implementation
|
113
|
-
map_element "ModelElement.view", to: :model_element_view
|
114
|
-
map_element "ModelElement.presentation", to: :model_element_presentation
|
115
|
-
map_element "ModelElement.namespace", to: :model_element_namespace
|
116
|
-
map_element "ModelElement.constraint", to: :model_element_constraint
|
117
|
-
map_element "ModelElement.requirement", to: :model_element_requirement
|
118
|
-
map_element "ModelElement.provision", to: :model_element_provision
|
119
|
-
map_element "ModelElement.stereotype", to: :model_element_stereotype
|
120
|
-
map_element "ModelElement.elementReference", to: :model_element_element_reference
|
121
|
-
map_element "ModelElement.collaboration", to: :model_element_collaboration
|
122
|
-
map_element "ModelElement.behavior", to: :model_element_behavior
|
123
|
-
map_element "ModelElement.partition", to: :model_element_partition
|
124
|
-
map_element "StateMachine.context", to: :state_machine_context
|
125
|
-
map_element "StateMachine.submachineState", to: :state_machine_submachine_state
|
126
|
-
map_element "ModelElement.taggedValue", to: :model_element_tagged_value
|
127
|
-
map_element "StateMachine.top", to: :state_machine_top
|
128
|
-
map_element "StateMachine.transitions", to: :state_machine_transitions
|
129
|
-
end
|
130
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "model_element"
|
6
|
-
|
7
|
-
class StateMachinecontext < Shale::Mapper
|
8
|
-
attribute :model_element, ModelElement, collection: true
|
9
|
-
|
10
|
-
xml do
|
11
|
-
root "StateMachine.context"
|
12
|
-
namespace "omg.org/UML1.3", "UML"
|
13
|
-
|
14
|
-
map_element "ModelElement", to: :model_element
|
15
|
-
end
|
16
|
-
end
|
@@ -1,83 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "action_state"
|
6
|
-
require_relative "activity_model"
|
7
|
-
require_relative "activity_state"
|
8
|
-
require_relative "call_event"
|
9
|
-
require_relative "change_event"
|
10
|
-
require_relative "classifier_in_state"
|
11
|
-
require_relative "composite_state"
|
12
|
-
require_relative "event"
|
13
|
-
require_relative "guard"
|
14
|
-
require_relative "object_flow_state"
|
15
|
-
require_relative "partition"
|
16
|
-
require_relative "pseudo_state"
|
17
|
-
require_relative "signal_event"
|
18
|
-
require_relative "simple_state"
|
19
|
-
require_relative "state"
|
20
|
-
require_relative "state_machine"
|
21
|
-
require_relative "state_vertex"
|
22
|
-
require_relative "submachine_state"
|
23
|
-
require_relative "time_event"
|
24
|
-
require_relative "transition"
|
25
|
-
|
26
|
-
class StateMachines < Shale::Mapper
|
27
|
-
attribute :xmi_id, Shale::Type::Value
|
28
|
-
attribute :xmi_label, Shale::Type::Value
|
29
|
-
attribute :xmi_uuid, Shale::Type::Value
|
30
|
-
attribute :href, Shale::Type::Value
|
31
|
-
attribute :xmi_idref, Shale::Type::Value
|
32
|
-
attribute :state_machine, StateMachine, collection: true
|
33
|
-
attribute :guard, Guard, collection: true
|
34
|
-
attribute :state_vertex, StateVertex, collection: true
|
35
|
-
attribute :transition, Transition, collection: true
|
36
|
-
attribute :pseudo_state, PseudoState, collection: true
|
37
|
-
attribute :state, State, collection: true
|
38
|
-
attribute :composite_state, CompositeState, collection: true
|
39
|
-
attribute :simple_state, SimpleState, collection: true
|
40
|
-
attribute :submachine_state, SubmachineState, collection: true
|
41
|
-
attribute :event, Event, collection: true
|
42
|
-
attribute :signal_event, SignalEvent, collection: true
|
43
|
-
attribute :call_event, CallEvent, collection: true
|
44
|
-
attribute :time_event, TimeEvent, collection: true
|
45
|
-
attribute :change_event, ChangeEvent, collection: true
|
46
|
-
attribute :activity_model, ActivityModel, collection: true
|
47
|
-
attribute :partition, Partition, collection: true
|
48
|
-
attribute :action_state, ActionState, collection: true
|
49
|
-
attribute :object_flow_state, ObjectFlowState, collection: true
|
50
|
-
attribute :classifier_in_state, ClassifierInState, collection: true
|
51
|
-
attribute :activity_state, ActivityState, collection: true
|
52
|
-
|
53
|
-
xml do
|
54
|
-
root "State_Machines"
|
55
|
-
namespace "omg.org/UML1.3", "UML"
|
56
|
-
|
57
|
-
map_attribute "xmi.id", to: :xmi_id
|
58
|
-
map_attribute "xmi.label", to: :xmi_label
|
59
|
-
map_attribute "xmi.uuid", to: :xmi_uuid
|
60
|
-
map_attribute "href", to: :href
|
61
|
-
map_attribute "xmi.idref", to: :xmi_idref
|
62
|
-
map_element "StateMachine", to: :state_machine
|
63
|
-
map_element "Guard", to: :guard
|
64
|
-
map_element "StateVertex", to: :state_vertex
|
65
|
-
map_element "Transition", to: :transition
|
66
|
-
map_element "PseudoState", to: :pseudo_state
|
67
|
-
map_element "State", to: :state
|
68
|
-
map_element "CompositeState", to: :composite_state
|
69
|
-
map_element "SimpleState", to: :simple_state
|
70
|
-
map_element "SubmachineState", to: :submachine_state
|
71
|
-
map_element "Event", to: :event
|
72
|
-
map_element "SignalEvent", to: :signal_event
|
73
|
-
map_element "CallEvent", to: :call_event
|
74
|
-
map_element "TimeEvent", to: :time_event
|
75
|
-
map_element "ChangeEvent", to: :change_event
|
76
|
-
map_element "ActivityModel", to: :activity_model
|
77
|
-
map_element "Partition", to: :partition
|
78
|
-
map_element "ActionState", to: :action_state
|
79
|
-
map_element "ObjectFlowState", to: :object_flow_state
|
80
|
-
map_element "ClassifierInState", to: :classifier_in_state
|
81
|
-
map_element "ActivityState", to: :activity_state
|
82
|
-
end
|
83
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "submachine_state"
|
6
|
-
|
7
|
-
class StateMachinesubmachineState < Shale::Mapper
|
8
|
-
attribute :submachine_state, SubmachineState, collection: true
|
9
|
-
|
10
|
-
xml do
|
11
|
-
root "StateMachine.submachineState"
|
12
|
-
namespace "omg.org/UML1.3", "UML"
|
13
|
-
|
14
|
-
map_element "SubmachineState", to: :submachine_state
|
15
|
-
end
|
16
|
-
end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "action_state"
|
6
|
-
require_relative "activity_state"
|
7
|
-
require_relative "composite_state"
|
8
|
-
require_relative "object_flow_state"
|
9
|
-
require_relative "simple_state"
|
10
|
-
require_relative "state"
|
11
|
-
require_relative "submachine_state"
|
12
|
-
|
13
|
-
class StateMachinetop < Shale::Mapper
|
14
|
-
attribute :state, State, collection: true
|
15
|
-
attribute :composite_state, CompositeState, collection: true
|
16
|
-
attribute :simple_state, SimpleState, collection: true
|
17
|
-
attribute :submachine_state, SubmachineState, collection: true
|
18
|
-
attribute :action_state, ActionState, collection: true
|
19
|
-
attribute :object_flow_state, ObjectFlowState, collection: true
|
20
|
-
attribute :activity_state, ActivityState, collection: true
|
21
|
-
|
22
|
-
xml do
|
23
|
-
root "StateMachine.top"
|
24
|
-
namespace "omg.org/UML1.3", "UML"
|
25
|
-
|
26
|
-
map_element "State", to: :state
|
27
|
-
map_element "CompositeState", to: :composite_state
|
28
|
-
map_element "SimpleState", to: :simple_state
|
29
|
-
map_element "SubmachineState", to: :submachine_state
|
30
|
-
map_element "ActionState", to: :action_state
|
31
|
-
map_element "ObjectFlowState", to: :object_flow_state
|
32
|
-
map_element "ActivityState", to: :activity_state
|
33
|
-
end
|
34
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "transition"
|
6
|
-
|
7
|
-
class StateMachinetransitions < Shale::Mapper
|
8
|
-
attribute :transition, Transition, collection: true
|
9
|
-
|
10
|
-
xml do
|
11
|
-
root "StateMachine.transitions"
|
12
|
-
namespace "omg.org/UML1.3", "UML"
|
13
|
-
|
14
|
-
map_element "Transition", to: :transition
|
15
|
-
end
|
16
|
-
end
|