xmi 0.3.9 → 0.3.10
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 +35 -110
- 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
data/lib/xmi/uml13/usage.rb
DELETED
@@ -1,137 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "dependencyclient"
|
6
|
-
require_relative "dependencydescription"
|
7
|
-
require_relative "dependencyowning_dependency"
|
8
|
-
require_relative "dependencysub_dependencies"
|
9
|
-
require_relative "dependencysupplier"
|
10
|
-
require_relative "model_elementbehavior"
|
11
|
-
require_relative "model_elementbinding"
|
12
|
-
require_relative "model_elementcollaboration"
|
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 "xm_iextension"
|
29
|
-
|
30
|
-
class Usage < Shale::Mapper
|
31
|
-
attribute :name, Shale::Type::Value
|
32
|
-
attribute :visibility, Shale::Type::String
|
33
|
-
attribute :description, Shale::Type::Value
|
34
|
-
attribute :binding, Shale::Type::Value
|
35
|
-
attribute :template, Shale::Type::Value
|
36
|
-
attribute :template_parameter, Shale::Type::Value
|
37
|
-
attribute :implementation, Shale::Type::Value
|
38
|
-
attribute :view, Shale::Type::Value
|
39
|
-
attribute :presentation, Shale::Type::Value
|
40
|
-
attribute :namespace, Shale::Type::Value
|
41
|
-
attribute :constraint, Shale::Type::Value
|
42
|
-
attribute :requirement, Shale::Type::Value
|
43
|
-
attribute :provision, Shale::Type::Value
|
44
|
-
attribute :stereotype, Shale::Type::Value
|
45
|
-
attribute :element_reference, Shale::Type::Value
|
46
|
-
attribute :collaboration, Shale::Type::Value
|
47
|
-
attribute :behavior, Shale::Type::Value
|
48
|
-
attribute :partition, Shale::Type::Value
|
49
|
-
attribute :owning_dependency, Shale::Type::Value
|
50
|
-
attribute :client, Shale::Type::Value
|
51
|
-
attribute :supplier, Shale::Type::Value
|
52
|
-
attribute :xmi_id, Shale::Type::Value
|
53
|
-
attribute :xmi_label, Shale::Type::Value
|
54
|
-
attribute :xmi_uuid, Shale::Type::Value
|
55
|
-
attribute :href, Shale::Type::Value
|
56
|
-
attribute :xmi_idref, Shale::Type::Value
|
57
|
-
attribute :model_element_name, ModelElementname, collection: true
|
58
|
-
attribute :model_element_visibility, ModelElementvisibility, collection: true
|
59
|
-
attribute :dependency_description, Dependencydescription, collection: true
|
60
|
-
attribute :xmi_extension, XMIextension, collection: true
|
61
|
-
attribute :model_element_binding, ModelElementbinding, collection: true
|
62
|
-
attribute :model_element_template, ModelElementtemplate, collection: true
|
63
|
-
attribute :model_element_template_parameter, ModelElementtemplateParameter, collection: true
|
64
|
-
attribute :model_element_implementation, ModelElementimplementation, collection: true
|
65
|
-
attribute :model_element_view, ModelElementview, collection: true
|
66
|
-
attribute :model_element_presentation, ModelElementpresentation, collection: true
|
67
|
-
attribute :model_element_namespace, ModelElementnamespace, collection: true
|
68
|
-
attribute :model_element_constraint, ModelElementconstraint, collection: true
|
69
|
-
attribute :model_element_requirement, ModelElementrequirement, collection: true
|
70
|
-
attribute :model_element_provision, ModelElementprovision, collection: true
|
71
|
-
attribute :model_element_stereotype, ModelElementstereotype, collection: true
|
72
|
-
attribute :model_element_element_reference, ModelElementelementReference, collection: true
|
73
|
-
attribute :model_element_collaboration, ModelElementcollaboration, collection: true
|
74
|
-
attribute :model_element_behavior, ModelElementbehavior, collection: true
|
75
|
-
attribute :model_element_partition, ModelElementpartition, collection: true
|
76
|
-
attribute :dependency_owning_dependency, DependencyowningDependency, collection: true
|
77
|
-
attribute :dependency_client, Dependencyclient, collection: true
|
78
|
-
attribute :dependency_supplier, Dependencysupplier, collection: true
|
79
|
-
attribute :model_element_tagged_value, ModelElementtaggedValue, collection: true
|
80
|
-
attribute :dependency_sub_dependencies, DependencysubDependencies, collection: true
|
81
|
-
|
82
|
-
xml do
|
83
|
-
root "Usage"
|
84
|
-
namespace "omg.org/UML1.3", "UML"
|
85
|
-
|
86
|
-
map_attribute "name", to: :name
|
87
|
-
map_attribute "visibility", to: :visibility
|
88
|
-
map_attribute "description", to: :description
|
89
|
-
map_attribute "binding", to: :binding
|
90
|
-
map_attribute "template", to: :template
|
91
|
-
map_attribute "templateParameter", to: :template_parameter
|
92
|
-
map_attribute "implementation", to: :implementation
|
93
|
-
map_attribute "view", to: :view
|
94
|
-
map_attribute "presentation", to: :presentation
|
95
|
-
map_attribute "namespace", to: :namespace
|
96
|
-
map_attribute "constraint", to: :constraint
|
97
|
-
map_attribute "requirement", to: :requirement
|
98
|
-
map_attribute "provision", to: :provision
|
99
|
-
map_attribute "stereotype", to: :stereotype
|
100
|
-
map_attribute "elementReference", to: :element_reference
|
101
|
-
map_attribute "collaboration", to: :collaboration
|
102
|
-
map_attribute "behavior", to: :behavior
|
103
|
-
map_attribute "partition", to: :partition
|
104
|
-
map_attribute "owningDependency", to: :owning_dependency
|
105
|
-
map_attribute "client", to: :client
|
106
|
-
map_attribute "supplier", to: :supplier
|
107
|
-
map_attribute "xmi.id", to: :xmi_id
|
108
|
-
map_attribute "xmi.label", to: :xmi_label
|
109
|
-
map_attribute "xmi.uuid", to: :xmi_uuid
|
110
|
-
map_attribute "href", to: :href
|
111
|
-
map_attribute "xmi.idref", to: :xmi_idref
|
112
|
-
map_element "ModelElement.name", to: :model_element_name
|
113
|
-
map_element "ModelElement.visibility", to: :model_element_visibility
|
114
|
-
map_element "Dependency.description", to: :dependency_description
|
115
|
-
map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
|
116
|
-
map_element "ModelElement.binding", to: :model_element_binding
|
117
|
-
map_element "ModelElement.template", to: :model_element_template
|
118
|
-
map_element "ModelElement.templateParameter", to: :model_element_template_parameter
|
119
|
-
map_element "ModelElement.implementation", to: :model_element_implementation
|
120
|
-
map_element "ModelElement.view", to: :model_element_view
|
121
|
-
map_element "ModelElement.presentation", to: :model_element_presentation
|
122
|
-
map_element "ModelElement.namespace", to: :model_element_namespace
|
123
|
-
map_element "ModelElement.constraint", to: :model_element_constraint
|
124
|
-
map_element "ModelElement.requirement", to: :model_element_requirement
|
125
|
-
map_element "ModelElement.provision", to: :model_element_provision
|
126
|
-
map_element "ModelElement.stereotype", to: :model_element_stereotype
|
127
|
-
map_element "ModelElement.elementReference", to: :model_element_element_reference
|
128
|
-
map_element "ModelElement.collaboration", to: :model_element_collaboration
|
129
|
-
map_element "ModelElement.behavior", to: :model_element_behavior
|
130
|
-
map_element "ModelElement.partition", to: :model_element_partition
|
131
|
-
map_element "Dependency.owningDependency", to: :dependency_owning_dependency
|
132
|
-
map_element "Dependency.client", to: :dependency_client
|
133
|
-
map_element "Dependency.supplier", to: :dependency_supplier
|
134
|
-
map_element "ModelElement.taggedValue", to: :model_element_tagged_value
|
135
|
-
map_element "Dependency.subDependencies", to: :dependency_sub_dependencies
|
136
|
-
end
|
137
|
-
end
|
data/lib/xmi/uml13/use_case.rb
DELETED
@@ -1,199 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "classifierassociation_end"
|
6
|
-
require_relative "classifierclassifier_in_state"
|
7
|
-
require_relative "classifierclassifier_role"
|
8
|
-
require_relative "classifiercreate_action"
|
9
|
-
require_relative "classifierfeature"
|
10
|
-
require_relative "classifierinstance"
|
11
|
-
require_relative "classifierparameter"
|
12
|
-
require_relative "classifierparticipant"
|
13
|
-
require_relative "classifierrealization"
|
14
|
-
require_relative "classifierspecification"
|
15
|
-
require_relative "classifierstructural_feature"
|
16
|
-
require_relative "generalizable_elementgeneralization"
|
17
|
-
require_relative "generalizable_elementis_abstract"
|
18
|
-
require_relative "generalizable_elementis_leaf"
|
19
|
-
require_relative "generalizable_elementis_root"
|
20
|
-
require_relative "generalizable_elementspecialization"
|
21
|
-
require_relative "model_elementbehavior"
|
22
|
-
require_relative "model_elementbinding"
|
23
|
-
require_relative "model_elementconstraint"
|
24
|
-
require_relative "model_elementelement_reference"
|
25
|
-
require_relative "model_elementimplementation"
|
26
|
-
require_relative "model_elementname"
|
27
|
-
require_relative "model_elementnamespace"
|
28
|
-
require_relative "model_elementpartition"
|
29
|
-
require_relative "model_elementpresentation"
|
30
|
-
require_relative "model_elementprovision"
|
31
|
-
require_relative "model_elementrequirement"
|
32
|
-
require_relative "model_elementstereotype"
|
33
|
-
require_relative "model_elementtagged_value"
|
34
|
-
require_relative "model_elementtemplate"
|
35
|
-
require_relative "model_elementtemplate_parameter"
|
36
|
-
require_relative "model_elementview"
|
37
|
-
require_relative "model_elementvisibility"
|
38
|
-
require_relative "namespaceowned_element"
|
39
|
-
require_relative "use_caseextension_point"
|
40
|
-
require_relative "xm_iextension"
|
41
|
-
|
42
|
-
class UseCase < Shale::Mapper
|
43
|
-
attribute :name, Shale::Type::Value
|
44
|
-
attribute :visibility, Shale::Type::String
|
45
|
-
attribute :is_root, Shale::Type::String
|
46
|
-
attribute :is_leaf, Shale::Type::String
|
47
|
-
attribute :is_abstract, Shale::Type::String
|
48
|
-
attribute :extension_point, Shale::Type::Value
|
49
|
-
attribute :binding, Shale::Type::Value
|
50
|
-
attribute :template, Shale::Type::Value
|
51
|
-
attribute :template_parameter, Shale::Type::Value
|
52
|
-
attribute :implementation, Shale::Type::Value
|
53
|
-
attribute :view, Shale::Type::Value
|
54
|
-
attribute :presentation, Shale::Type::Value
|
55
|
-
attribute :namespace, Shale::Type::Value
|
56
|
-
attribute :constraint, Shale::Type::Value
|
57
|
-
attribute :requirement, Shale::Type::Value
|
58
|
-
attribute :provision, Shale::Type::Value
|
59
|
-
attribute :stereotype, Shale::Type::Value
|
60
|
-
attribute :element_reference, Shale::Type::Value
|
61
|
-
attribute :model_element_collaboration, Shale::Type::Value
|
62
|
-
attribute :behavior, Shale::Type::Value
|
63
|
-
attribute :partition, Shale::Type::Value
|
64
|
-
attribute :generalization, Shale::Type::Value
|
65
|
-
attribute :specialization, Shale::Type::Value
|
66
|
-
attribute :parameter, Shale::Type::Value
|
67
|
-
attribute :structural_feature, Shale::Type::Value
|
68
|
-
attribute :specification, Shale::Type::Value
|
69
|
-
attribute :realization, Shale::Type::Value
|
70
|
-
attribute :association_end, Shale::Type::Value
|
71
|
-
attribute :participant, Shale::Type::Value
|
72
|
-
attribute :create_action, Shale::Type::Value
|
73
|
-
attribute :instance, Shale::Type::Value
|
74
|
-
attribute :classifier_collaboration, Shale::Type::Value
|
75
|
-
attribute :classifier_role, Shale::Type::Value
|
76
|
-
attribute :classifier_in_state, Shale::Type::Value
|
77
|
-
attribute :xmi_id, Shale::Type::Value
|
78
|
-
attribute :xmi_label, Shale::Type::Value
|
79
|
-
attribute :xmi_uuid, Shale::Type::Value
|
80
|
-
attribute :href, Shale::Type::Value
|
81
|
-
attribute :xmi_idref, Shale::Type::Value
|
82
|
-
attribute :model_element_name, ModelElementname, collection: true
|
83
|
-
attribute :model_element_visibility, ModelElementvisibility, collection: true
|
84
|
-
attribute :generalizable_element_is_root, GeneralizableElementisRoot, collection: true
|
85
|
-
attribute :generalizable_element_is_leaf, GeneralizableElementisLeaf, collection: true
|
86
|
-
attribute :generalizable_element_is_abstract, GeneralizableElementisAbstract, collection: true
|
87
|
-
attribute :use_case_extension_point, UseCaseextensionPoint, collection: true
|
88
|
-
attribute :xmi_extension, XMIextension, collection: true
|
89
|
-
attribute :model_element_binding, ModelElementbinding, collection: true
|
90
|
-
attribute :model_element_template, ModelElementtemplate, collection: true
|
91
|
-
attribute :model_element_template_parameter, ModelElementtemplateParameter, collection: true
|
92
|
-
attribute :model_element_implementation, ModelElementimplementation, collection: true
|
93
|
-
attribute :model_element_view, ModelElementview, collection: true
|
94
|
-
attribute :model_element_presentation, ModelElementpresentation, collection: true
|
95
|
-
attribute :model_element_namespace, ModelElementnamespace, collection: true
|
96
|
-
attribute :model_element_constraint, ModelElementconstraint, collection: true
|
97
|
-
attribute :model_element_requirement, ModelElementrequirement, collection: true
|
98
|
-
attribute :model_element_provision, ModelElementprovision, collection: true
|
99
|
-
attribute :model_element_stereotype, ModelElementstereotype, collection: true
|
100
|
-
attribute :model_element_element_reference, ModelElementelementReference, collection: true
|
101
|
-
attribute :model_element_behavior, ModelElementbehavior, collection: true
|
102
|
-
attribute :model_element_partition, ModelElementpartition, collection: true
|
103
|
-
attribute :generalizable_element_generalization, GeneralizableElementgeneralization, collection: true
|
104
|
-
attribute :generalizable_element_specialization, GeneralizableElementspecialization, collection: true
|
105
|
-
attribute :classifier_parameter, Classifierparameter, collection: true
|
106
|
-
attribute :classifier_structural_feature, ClassifierstructuralFeature, collection: true
|
107
|
-
attribute :classifier_specification, Classifierspecification, collection: true
|
108
|
-
attribute :classifier_realization, Classifierrealization, collection: true
|
109
|
-
attribute :classifier_association_end, ClassifierassociationEnd, collection: true
|
110
|
-
attribute :classifier_participant, Classifierparticipant, collection: true
|
111
|
-
attribute :classifier_create_action, ClassifiercreateAction, collection: true
|
112
|
-
attribute :classifier_instance, Classifierinstance, collection: true
|
113
|
-
attribute :classifier_classifier_role, ClassifierclassifierRole, collection: true
|
114
|
-
attribute :classifier_classifier_in_state, ClassifierclassifierInState, collection: true
|
115
|
-
attribute :model_element_tagged_value, ModelElementtaggedValue, collection: true
|
116
|
-
attribute :namespace_owned_element, NamespaceownedElement, collection: true
|
117
|
-
attribute :classifier_feature, Classifierfeature, collection: true
|
118
|
-
|
119
|
-
xml do
|
120
|
-
root "UseCase"
|
121
|
-
namespace "omg.org/UML1.3", "UML"
|
122
|
-
|
123
|
-
map_attribute "name", to: :name
|
124
|
-
map_attribute "visibility", to: :visibility
|
125
|
-
map_attribute "isRoot", to: :is_root
|
126
|
-
map_attribute "isLeaf", to: :is_leaf
|
127
|
-
map_attribute "isAbstract", to: :is_abstract
|
128
|
-
map_attribute "extensionPoint", to: :extension_point
|
129
|
-
map_attribute "binding", to: :binding
|
130
|
-
map_attribute "template", to: :template
|
131
|
-
map_attribute "templateParameter", to: :template_parameter
|
132
|
-
map_attribute "implementation", to: :implementation
|
133
|
-
map_attribute "view", to: :view
|
134
|
-
map_attribute "presentation", to: :presentation
|
135
|
-
map_attribute "namespace", to: :namespace
|
136
|
-
map_attribute "constraint", to: :constraint
|
137
|
-
map_attribute "requirement", to: :requirement
|
138
|
-
map_attribute "provision", to: :provision
|
139
|
-
map_attribute "stereotype", to: :stereotype
|
140
|
-
map_attribute "elementReference", to: :element_reference
|
141
|
-
map_attribute "ModelElement.collaboration", to: :model_element_collaboration
|
142
|
-
map_attribute "behavior", to: :behavior
|
143
|
-
map_attribute "partition", to: :partition
|
144
|
-
map_attribute "generalization", to: :generalization
|
145
|
-
map_attribute "specialization", to: :specialization
|
146
|
-
map_attribute "parameter", to: :parameter
|
147
|
-
map_attribute "structuralFeature", to: :structural_feature
|
148
|
-
map_attribute "specification", to: :specification
|
149
|
-
map_attribute "realization", to: :realization
|
150
|
-
map_attribute "associationEnd", to: :association_end
|
151
|
-
map_attribute "participant", to: :participant
|
152
|
-
map_attribute "createAction", to: :create_action
|
153
|
-
map_attribute "instance", to: :instance
|
154
|
-
map_attribute "Classifier.collaboration", to: :classifier_collaboration
|
155
|
-
map_attribute "classifierRole", to: :classifier_role
|
156
|
-
map_attribute "classifierInState", to: :classifier_in_state
|
157
|
-
map_attribute "xmi.id", to: :xmi_id
|
158
|
-
map_attribute "xmi.label", to: :xmi_label
|
159
|
-
map_attribute "xmi.uuid", to: :xmi_uuid
|
160
|
-
map_attribute "href", to: :href
|
161
|
-
map_attribute "xmi.idref", to: :xmi_idref
|
162
|
-
map_element "ModelElement.name", to: :model_element_name
|
163
|
-
map_element "ModelElement.visibility", to: :model_element_visibility
|
164
|
-
map_element "GeneralizableElement.isRoot", to: :generalizable_element_is_root
|
165
|
-
map_element "GeneralizableElement.isLeaf", to: :generalizable_element_is_leaf
|
166
|
-
map_element "GeneralizableElement.isAbstract", to: :generalizable_element_is_abstract
|
167
|
-
map_element "UseCase.extensionPoint", to: :use_case_extension_point
|
168
|
-
map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
|
169
|
-
map_element "ModelElement.binding", to: :model_element_binding
|
170
|
-
map_element "ModelElement.template", to: :model_element_template
|
171
|
-
map_element "ModelElement.templateParameter", to: :model_element_template_parameter
|
172
|
-
map_element "ModelElement.implementation", to: :model_element_implementation
|
173
|
-
map_element "ModelElement.view", to: :model_element_view
|
174
|
-
map_element "ModelElement.presentation", to: :model_element_presentation
|
175
|
-
map_element "ModelElement.namespace", to: :model_element_namespace
|
176
|
-
map_element "ModelElement.constraint", to: :model_element_constraint
|
177
|
-
map_element "ModelElement.requirement", to: :model_element_requirement
|
178
|
-
map_element "ModelElement.provision", to: :model_element_provision
|
179
|
-
map_element "ModelElement.stereotype", to: :model_element_stereotype
|
180
|
-
map_element "ModelElement.elementReference", to: :model_element_element_reference
|
181
|
-
map_element "ModelElement.behavior", to: :model_element_behavior
|
182
|
-
map_element "ModelElement.partition", to: :model_element_partition
|
183
|
-
map_element "GeneralizableElement.generalization", to: :generalizable_element_generalization
|
184
|
-
map_element "GeneralizableElement.specialization", to: :generalizable_element_specialization
|
185
|
-
map_element "Classifier.parameter", to: :classifier_parameter
|
186
|
-
map_element "Classifier.structuralFeature", to: :classifier_structural_feature
|
187
|
-
map_element "Classifier.specification", to: :classifier_specification
|
188
|
-
map_element "Classifier.realization", to: :classifier_realization
|
189
|
-
map_element "Classifier.associationEnd", to: :classifier_association_end
|
190
|
-
map_element "Classifier.participant", to: :classifier_participant
|
191
|
-
map_element "Classifier.createAction", to: :classifier_create_action
|
192
|
-
map_element "Classifier.instance", to: :classifier_instance
|
193
|
-
map_element "Classifier.classifierRole", to: :classifier_classifier_role
|
194
|
-
map_element "Classifier.classifierInState", to: :classifier_classifier_in_state
|
195
|
-
map_element "ModelElement.taggedValue", to: :model_element_tagged_value
|
196
|
-
map_element "Namespace.ownedElement", to: :namespace_owned_element
|
197
|
-
map_element "Classifier.feature", to: :classifier_feature
|
198
|
-
end
|
199
|
-
end
|
@@ -1,147 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "instanceattribute_link"
|
6
|
-
require_relative "instanceclassifier"
|
7
|
-
require_relative "instancelink_end"
|
8
|
-
require_relative "instancemessage_instance"
|
9
|
-
require_relative "instancemessage_instance2"
|
10
|
-
require_relative "instancemessage_instance3"
|
11
|
-
require_relative "instanceslot"
|
12
|
-
require_relative "model_elementbehavior"
|
13
|
-
require_relative "model_elementbinding"
|
14
|
-
require_relative "model_elementcollaboration"
|
15
|
-
require_relative "model_elementconstraint"
|
16
|
-
require_relative "model_elementelement_reference"
|
17
|
-
require_relative "model_elementimplementation"
|
18
|
-
require_relative "model_elementname"
|
19
|
-
require_relative "model_elementnamespace"
|
20
|
-
require_relative "model_elementpartition"
|
21
|
-
require_relative "model_elementpresentation"
|
22
|
-
require_relative "model_elementprovision"
|
23
|
-
require_relative "model_elementrequirement"
|
24
|
-
require_relative "model_elementstereotype"
|
25
|
-
require_relative "model_elementtagged_value"
|
26
|
-
require_relative "model_elementtemplate"
|
27
|
-
require_relative "model_elementtemplate_parameter"
|
28
|
-
require_relative "model_elementview"
|
29
|
-
require_relative "model_elementvisibility"
|
30
|
-
require_relative "xm_iextension"
|
31
|
-
|
32
|
-
class UseCaseInstance < Shale::Mapper
|
33
|
-
attribute :name, Shale::Type::Value
|
34
|
-
attribute :visibility, Shale::Type::String
|
35
|
-
attribute :binding, Shale::Type::Value
|
36
|
-
attribute :template, Shale::Type::Value
|
37
|
-
attribute :template_parameter, Shale::Type::Value
|
38
|
-
attribute :implementation, Shale::Type::Value
|
39
|
-
attribute :view, Shale::Type::Value
|
40
|
-
attribute :presentation, Shale::Type::Value
|
41
|
-
attribute :namespace, Shale::Type::Value
|
42
|
-
attribute :constraint, Shale::Type::Value
|
43
|
-
attribute :requirement, Shale::Type::Value
|
44
|
-
attribute :provision, Shale::Type::Value
|
45
|
-
attribute :stereotype, Shale::Type::Value
|
46
|
-
attribute :element_reference, Shale::Type::Value
|
47
|
-
attribute :collaboration, Shale::Type::Value
|
48
|
-
attribute :behavior, Shale::Type::Value
|
49
|
-
attribute :partition, Shale::Type::Value
|
50
|
-
attribute :link_end, Shale::Type::Value
|
51
|
-
attribute :message_instance3, Shale::Type::Value
|
52
|
-
attribute :message_instance2, Shale::Type::Value
|
53
|
-
attribute :message_instance, Shale::Type::Value
|
54
|
-
attribute :attribute_link, Shale::Type::Value
|
55
|
-
attribute :classifier, Shale::Type::Value
|
56
|
-
attribute :xmi_id, Shale::Type::Value
|
57
|
-
attribute :xmi_label, Shale::Type::Value
|
58
|
-
attribute :xmi_uuid, Shale::Type::Value
|
59
|
-
attribute :href, Shale::Type::Value
|
60
|
-
attribute :xmi_idref, Shale::Type::Value
|
61
|
-
attribute :model_element_name, ModelElementname, collection: true
|
62
|
-
attribute :model_element_visibility, ModelElementvisibility, collection: true
|
63
|
-
attribute :xmi_extension, XMIextension, collection: true
|
64
|
-
attribute :model_element_binding, ModelElementbinding, collection: true
|
65
|
-
attribute :model_element_template, ModelElementtemplate, collection: true
|
66
|
-
attribute :model_element_template_parameter, ModelElementtemplateParameter, collection: true
|
67
|
-
attribute :model_element_implementation, ModelElementimplementation, collection: true
|
68
|
-
attribute :model_element_view, ModelElementview, collection: true
|
69
|
-
attribute :model_element_presentation, ModelElementpresentation, collection: true
|
70
|
-
attribute :model_element_namespace, ModelElementnamespace, collection: true
|
71
|
-
attribute :model_element_constraint, ModelElementconstraint, collection: true
|
72
|
-
attribute :model_element_requirement, ModelElementrequirement, collection: true
|
73
|
-
attribute :model_element_provision, ModelElementprovision, collection: true
|
74
|
-
attribute :model_element_stereotype, ModelElementstereotype, collection: true
|
75
|
-
attribute :model_element_element_reference, ModelElementelementReference, collection: true
|
76
|
-
attribute :model_element_collaboration, ModelElementcollaboration, collection: true
|
77
|
-
attribute :model_element_behavior, ModelElementbehavior, collection: true
|
78
|
-
attribute :model_element_partition, ModelElementpartition, collection: true
|
79
|
-
attribute :instance_link_end, InstancelinkEnd, collection: true
|
80
|
-
attribute :instance_message_instance3, InstancemessageInstance3, collection: true
|
81
|
-
attribute :instance_message_instance2, InstancemessageInstance2, collection: true
|
82
|
-
attribute :instance_message_instance, InstancemessageInstance, collection: true
|
83
|
-
attribute :instance_attribute_link, InstanceattributeLink, collection: true
|
84
|
-
attribute :instance_classifier, Instanceclassifier, collection: true
|
85
|
-
attribute :model_element_tagged_value, ModelElementtaggedValue, collection: true
|
86
|
-
attribute :instance_slot, Instanceslot, collection: true
|
87
|
-
|
88
|
-
xml do
|
89
|
-
root "UseCaseInstance"
|
90
|
-
namespace "omg.org/UML1.3", "UML"
|
91
|
-
|
92
|
-
map_attribute "name", to: :name
|
93
|
-
map_attribute "visibility", to: :visibility
|
94
|
-
map_attribute "binding", to: :binding
|
95
|
-
map_attribute "template", to: :template
|
96
|
-
map_attribute "templateParameter", to: :template_parameter
|
97
|
-
map_attribute "implementation", to: :implementation
|
98
|
-
map_attribute "view", to: :view
|
99
|
-
map_attribute "presentation", to: :presentation
|
100
|
-
map_attribute "namespace", to: :namespace
|
101
|
-
map_attribute "constraint", to: :constraint
|
102
|
-
map_attribute "requirement", to: :requirement
|
103
|
-
map_attribute "provision", to: :provision
|
104
|
-
map_attribute "stereotype", to: :stereotype
|
105
|
-
map_attribute "elementReference", to: :element_reference
|
106
|
-
map_attribute "collaboration", to: :collaboration
|
107
|
-
map_attribute "behavior", to: :behavior
|
108
|
-
map_attribute "partition", to: :partition
|
109
|
-
map_attribute "linkEnd", to: :link_end
|
110
|
-
map_attribute "messageInstance3", to: :message_instance3
|
111
|
-
map_attribute "messageInstance2", to: :message_instance2
|
112
|
-
map_attribute "messageInstance", to: :message_instance
|
113
|
-
map_attribute "attributeLink", to: :attribute_link
|
114
|
-
map_attribute "classifier", to: :classifier
|
115
|
-
map_attribute "xmi.id", to: :xmi_id
|
116
|
-
map_attribute "xmi.label", to: :xmi_label
|
117
|
-
map_attribute "xmi.uuid", to: :xmi_uuid
|
118
|
-
map_attribute "href", to: :href
|
119
|
-
map_attribute "xmi.idref", to: :xmi_idref
|
120
|
-
map_element "ModelElement.name", to: :model_element_name
|
121
|
-
map_element "ModelElement.visibility", to: :model_element_visibility
|
122
|
-
map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
|
123
|
-
map_element "ModelElement.binding", to: :model_element_binding
|
124
|
-
map_element "ModelElement.template", to: :model_element_template
|
125
|
-
map_element "ModelElement.templateParameter", to: :model_element_template_parameter
|
126
|
-
map_element "ModelElement.implementation", to: :model_element_implementation
|
127
|
-
map_element "ModelElement.view", to: :model_element_view
|
128
|
-
map_element "ModelElement.presentation", to: :model_element_presentation
|
129
|
-
map_element "ModelElement.namespace", to: :model_element_namespace
|
130
|
-
map_element "ModelElement.constraint", to: :model_element_constraint
|
131
|
-
map_element "ModelElement.requirement", to: :model_element_requirement
|
132
|
-
map_element "ModelElement.provision", to: :model_element_provision
|
133
|
-
map_element "ModelElement.stereotype", to: :model_element_stereotype
|
134
|
-
map_element "ModelElement.elementReference", to: :model_element_element_reference
|
135
|
-
map_element "ModelElement.collaboration", to: :model_element_collaboration
|
136
|
-
map_element "ModelElement.behavior", to: :model_element_behavior
|
137
|
-
map_element "ModelElement.partition", to: :model_element_partition
|
138
|
-
map_element "Instance.linkEnd", to: :instance_link_end
|
139
|
-
map_element "Instance.messageInstance3", to: :instance_message_instance3
|
140
|
-
map_element "Instance.messageInstance2", to: :instance_message_instance2
|
141
|
-
map_element "Instance.messageInstance", to: :instance_message_instance
|
142
|
-
map_element "Instance.attributeLink", to: :instance_attribute_link
|
143
|
-
map_element "Instance.classifier", to: :instance_classifier
|
144
|
-
map_element "ModelElement.taggedValue", to: :model_element_tagged_value
|
145
|
-
map_element "Instance.slot", to: :instance_slot
|
146
|
-
end
|
147
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "xm_ireference"
|
6
|
-
|
7
|
-
class UseCaseextensionPoint < Shale::Mapper
|
8
|
-
attribute :content, Shale::Type::String
|
9
|
-
attribute :xmi_reference, XMIreference, collection: true
|
10
|
-
|
11
|
-
xml do
|
12
|
-
root "UseCase.extensionPoint"
|
13
|
-
namespace "omg.org/UML1.3", "UML"
|
14
|
-
|
15
|
-
map_content to: :content
|
16
|
-
map_element "XMI.reference", to: :xmi_reference, prefix: nil, namespace: nil
|
17
|
-
end
|
18
|
-
end
|
data/lib/xmi/uml13/use_cases.rb
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "actor"
|
6
|
-
require_relative "use_case"
|
7
|
-
require_relative "use_case_instance"
|
8
|
-
|
9
|
-
class UseCases < Shale::Mapper
|
10
|
-
attribute :xmi_id, Shale::Type::Value
|
11
|
-
attribute :xmi_label, Shale::Type::Value
|
12
|
-
attribute :xmi_uuid, Shale::Type::Value
|
13
|
-
attribute :href, Shale::Type::Value
|
14
|
-
attribute :xmi_idref, Shale::Type::Value
|
15
|
-
attribute :actor, Actor, collection: true
|
16
|
-
attribute :use_case, UseCase, collection: true
|
17
|
-
attribute :use_case_instance, UseCaseInstance, collection: true
|
18
|
-
|
19
|
-
xml do
|
20
|
-
root "Use_Cases"
|
21
|
-
namespace "omg.org/UML1.3", "UML"
|
22
|
-
|
23
|
-
map_attribute "xmi.id", to: :xmi_id
|
24
|
-
map_attribute "xmi.label", to: :xmi_label
|
25
|
-
map_attribute "xmi.uuid", to: :xmi_uuid
|
26
|
-
map_attribute "href", to: :href
|
27
|
-
map_attribute "xmi.idref", to: :xmi_idref
|
28
|
-
map_element "Actor", to: :actor
|
29
|
-
map_element "UseCase", to: :use_case
|
30
|
-
map_element "UseCaseInstance", to: :use_case_instance
|
31
|
-
end
|
32
|
-
end
|
@@ -1,36 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "view_elementmodel"
|
6
|
-
require_relative "view_elementpresentation"
|
7
|
-
require_relative "xm_iextension"
|
8
|
-
|
9
|
-
class ViewElement < Shale::Mapper
|
10
|
-
attribute :model, Shale::Type::Value
|
11
|
-
attribute :presentation, Shale::Type::Value
|
12
|
-
attribute :xmi_id, Shale::Type::Value
|
13
|
-
attribute :xmi_label, Shale::Type::Value
|
14
|
-
attribute :xmi_uuid, Shale::Type::Value
|
15
|
-
attribute :href, Shale::Type::Value
|
16
|
-
attribute :xmi_idref, Shale::Type::Value
|
17
|
-
attribute :xmi_extension, XMIextension, collection: true
|
18
|
-
attribute :view_element_model, ViewElementmodel, collection: true
|
19
|
-
attribute :view_element_presentation, ViewElementpresentation, collection: true
|
20
|
-
|
21
|
-
xml do
|
22
|
-
root "ViewElement"
|
23
|
-
namespace "omg.org/UML1.3", "UML"
|
24
|
-
|
25
|
-
map_attribute "model", to: :model
|
26
|
-
map_attribute "presentation", to: :presentation
|
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 "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
|
33
|
-
map_element "ViewElement.model", to: :view_element_model
|
34
|
-
map_element "ViewElement.presentation", to: :view_element_presentation
|
35
|
-
end
|
36
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "model_element"
|
6
|
-
|
7
|
-
class ViewElementmodel < Shale::Mapper
|
8
|
-
attribute :model_element, ModelElement, collection: true
|
9
|
-
|
10
|
-
xml do
|
11
|
-
root "ViewElement.model"
|
12
|
-
namespace "omg.org/UML1.3", "UML"
|
13
|
-
|
14
|
-
map_element "ModelElement", to: :model_element
|
15
|
-
end
|
16
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "presentation"
|
6
|
-
|
7
|
-
class ViewElementpresentation < Shale::Mapper
|
8
|
-
attribute :presentation, Presentation, collection: true
|
9
|
-
|
10
|
-
xml do
|
11
|
-
root "ViewElement.presentation"
|
12
|
-
namespace "omg.org/UML1.3", "UML"
|
13
|
-
|
14
|
-
map_element "Presentation", to: :presentation
|
15
|
-
end
|
16
|
-
end
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
class XMIextension < Shale::Mapper
|
6
|
-
attribute :content, Shale::Type::String
|
7
|
-
attribute :xmi_id, Shale::Type::Value
|
8
|
-
attribute :xmi_label, Shale::Type::Value
|
9
|
-
attribute :xmi_uuid, Shale::Type::Value
|
10
|
-
attribute :href, Shale::Type::Value
|
11
|
-
attribute :xmi_idref, Shale::Type::Value
|
12
|
-
attribute :xmi_extender, Shale::Type::Value
|
13
|
-
attribute :xmi_extender_id, Shale::Type::Value
|
14
|
-
|
15
|
-
xml do
|
16
|
-
root "XMI.extension"
|
17
|
-
|
18
|
-
map_content to: :content
|
19
|
-
map_attribute "xmi.id", to: :xmi_id
|
20
|
-
map_attribute "xmi.label", to: :xmi_label
|
21
|
-
map_attribute "xmi.uuid", to: :xmi_uuid
|
22
|
-
map_attribute "href", to: :href
|
23
|
-
map_attribute "xmi.idref", to: :xmi_idref
|
24
|
-
map_attribute "xmi.extender", to: :xmi_extender
|
25
|
-
map_attribute "xmi.extenderID", to: :xmi_extender_id
|
26
|
-
end
|
27
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
class XMIreference < Shale::Mapper
|
6
|
-
attribute :content, Shale::Type::String
|
7
|
-
attribute :href, Shale::Type::Value
|
8
|
-
attribute :xmi_idref, Shale::Type::Value
|
9
|
-
|
10
|
-
xml do
|
11
|
-
root "XMI.reference"
|
12
|
-
|
13
|
-
map_content to: :content
|
14
|
-
map_attribute "href", to: :href
|
15
|
-
map_attribute "xmi.idref", to: :xmi_idref
|
16
|
-
end
|
17
|
-
end
|