xmi 0.3.8 → 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 +56 -111
- data/lib/xmi/uml.rb +5 -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,16 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "node"
|
6
|
-
|
7
|
-
class Componentdeployment < Shale::Mapper
|
8
|
-
attribute :node, Node, collection: true
|
9
|
-
|
10
|
-
xml do
|
11
|
-
root "Component.deployment"
|
12
|
-
namespace "omg.org/UML1.3", "UML"
|
13
|
-
|
14
|
-
map_element "Node", to: :node
|
15
|
-
end
|
16
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "model_element"
|
6
|
-
|
7
|
-
class Componentimplements < Shale::Mapper
|
8
|
-
attribute :model_element, ModelElement, collection: true
|
9
|
-
|
10
|
-
xml do
|
11
|
-
root "Component.implements"
|
12
|
-
namespace "omg.org/UML1.3", "UML"
|
13
|
-
|
14
|
-
map_element "ModelElement", to: :model_element
|
15
|
-
end
|
16
|
-
end
|
@@ -1,161 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "composite_stateis_concurrent"
|
6
|
-
require_relative "composite_statesubstate"
|
7
|
-
require_relative "model_elementbehavior"
|
8
|
-
require_relative "model_elementbinding"
|
9
|
-
require_relative "model_elementcollaboration"
|
10
|
-
require_relative "model_elementconstraint"
|
11
|
-
require_relative "model_elementelement_reference"
|
12
|
-
require_relative "model_elementimplementation"
|
13
|
-
require_relative "model_elementname"
|
14
|
-
require_relative "model_elementnamespace"
|
15
|
-
require_relative "model_elementpartition"
|
16
|
-
require_relative "model_elementpresentation"
|
17
|
-
require_relative "model_elementprovision"
|
18
|
-
require_relative "model_elementrequirement"
|
19
|
-
require_relative "model_elementstereotype"
|
20
|
-
require_relative "model_elementtagged_value"
|
21
|
-
require_relative "model_elementtemplate"
|
22
|
-
require_relative "model_elementtemplate_parameter"
|
23
|
-
require_relative "model_elementview"
|
24
|
-
require_relative "model_elementvisibility"
|
25
|
-
require_relative "state_vertexincoming"
|
26
|
-
require_relative "state_vertexoutgoing"
|
27
|
-
require_relative "state_vertexparent"
|
28
|
-
require_relative "stateclassifier_in_state"
|
29
|
-
require_relative "statedeferred_event"
|
30
|
-
require_relative "stateentry"
|
31
|
-
require_relative "stateexit"
|
32
|
-
require_relative "stateinternal_transition"
|
33
|
-
require_relative "statestate_machine"
|
34
|
-
require_relative "xm_iextension"
|
35
|
-
|
36
|
-
class CompositeState < Shale::Mapper
|
37
|
-
attribute :name, Shale::Type::Value
|
38
|
-
attribute :visibility, Shale::Type::String
|
39
|
-
attribute :is_concurrent, Shale::Type::String
|
40
|
-
attribute :binding, Shale::Type::Value
|
41
|
-
attribute :template, Shale::Type::Value
|
42
|
-
attribute :template_parameter, Shale::Type::Value
|
43
|
-
attribute :implementation, Shale::Type::Value
|
44
|
-
attribute :view, Shale::Type::Value
|
45
|
-
attribute :presentation, Shale::Type::Value
|
46
|
-
attribute :namespace, Shale::Type::Value
|
47
|
-
attribute :constraint, Shale::Type::Value
|
48
|
-
attribute :requirement, Shale::Type::Value
|
49
|
-
attribute :provision, Shale::Type::Value
|
50
|
-
attribute :stereotype, Shale::Type::Value
|
51
|
-
attribute :element_reference, Shale::Type::Value
|
52
|
-
attribute :collaboration, Shale::Type::Value
|
53
|
-
attribute :behavior, Shale::Type::Value
|
54
|
-
attribute :partition, Shale::Type::Value
|
55
|
-
attribute :outgoing, Shale::Type::Value
|
56
|
-
attribute :incoming, Shale::Type::Value
|
57
|
-
attribute :parent, Shale::Type::Value
|
58
|
-
attribute :state_machine, Shale::Type::Value
|
59
|
-
attribute :deferred_event, Shale::Type::Value
|
60
|
-
attribute :classifier_in_state, Shale::Type::Value
|
61
|
-
attribute :xmi_id, Shale::Type::Value
|
62
|
-
attribute :xmi_label, Shale::Type::Value
|
63
|
-
attribute :xmi_uuid, Shale::Type::Value
|
64
|
-
attribute :href, Shale::Type::Value
|
65
|
-
attribute :xmi_idref, Shale::Type::Value
|
66
|
-
attribute :model_element_name, ModelElementname, collection: true
|
67
|
-
attribute :model_element_visibility, ModelElementvisibility, collection: true
|
68
|
-
attribute :composite_state_is_concurrent, CompositeStateisConcurrent, collection: true
|
69
|
-
attribute :xmi_extension, XMIextension, collection: true
|
70
|
-
attribute :model_element_binding, ModelElementbinding, collection: true
|
71
|
-
attribute :model_element_template, ModelElementtemplate, collection: true
|
72
|
-
attribute :model_element_template_parameter, ModelElementtemplateParameter, collection: true
|
73
|
-
attribute :model_element_implementation, ModelElementimplementation, collection: true
|
74
|
-
attribute :model_element_view, ModelElementview, collection: true
|
75
|
-
attribute :model_element_presentation, ModelElementpresentation, collection: true
|
76
|
-
attribute :model_element_namespace, ModelElementnamespace, collection: true
|
77
|
-
attribute :model_element_constraint, ModelElementconstraint, collection: true
|
78
|
-
attribute :model_element_requirement, ModelElementrequirement, collection: true
|
79
|
-
attribute :model_element_provision, ModelElementprovision, collection: true
|
80
|
-
attribute :model_element_stereotype, ModelElementstereotype, collection: true
|
81
|
-
attribute :model_element_element_reference, ModelElementelementReference, collection: true
|
82
|
-
attribute :model_element_collaboration, ModelElementcollaboration, collection: true
|
83
|
-
attribute :model_element_behavior, ModelElementbehavior, collection: true
|
84
|
-
attribute :model_element_partition, ModelElementpartition, collection: true
|
85
|
-
attribute :state_vertex_outgoing, StateVertexoutgoing, collection: true
|
86
|
-
attribute :state_vertex_incoming, StateVertexincoming, collection: true
|
87
|
-
attribute :state_vertex_parent, StateVertexparent, collection: true
|
88
|
-
attribute :state_state_machine, StatestateMachine, collection: true
|
89
|
-
attribute :state_deferred_event, StatedeferredEvent, collection: true
|
90
|
-
attribute :state_classifier_in_state, StateclassifierInState, collection: true
|
91
|
-
attribute :model_element_tagged_value, ModelElementtaggedValue, collection: true
|
92
|
-
attribute :state_internal_transition, StateinternalTransition, collection: true
|
93
|
-
attribute :state_entry, Stateentry, collection: true
|
94
|
-
attribute :state_exit, Stateexit, collection: true
|
95
|
-
attribute :composite_state_substate, CompositeStatesubstate, collection: true
|
96
|
-
|
97
|
-
xml do
|
98
|
-
root "CompositeState"
|
99
|
-
namespace "omg.org/UML1.3", "UML"
|
100
|
-
|
101
|
-
map_attribute "name", to: :name
|
102
|
-
map_attribute "visibility", to: :visibility
|
103
|
-
map_attribute "isConcurrent", to: :is_concurrent
|
104
|
-
map_attribute "binding", to: :binding
|
105
|
-
map_attribute "template", to: :template
|
106
|
-
map_attribute "templateParameter", to: :template_parameter
|
107
|
-
map_attribute "implementation", to: :implementation
|
108
|
-
map_attribute "view", to: :view
|
109
|
-
map_attribute "presentation", to: :presentation
|
110
|
-
map_attribute "namespace", to: :namespace
|
111
|
-
map_attribute "constraint", to: :constraint
|
112
|
-
map_attribute "requirement", to: :requirement
|
113
|
-
map_attribute "provision", to: :provision
|
114
|
-
map_attribute "stereotype", to: :stereotype
|
115
|
-
map_attribute "elementReference", to: :element_reference
|
116
|
-
map_attribute "collaboration", to: :collaboration
|
117
|
-
map_attribute "behavior", to: :behavior
|
118
|
-
map_attribute "partition", to: :partition
|
119
|
-
map_attribute "outgoing", to: :outgoing
|
120
|
-
map_attribute "incoming", to: :incoming
|
121
|
-
map_attribute "parent", to: :parent
|
122
|
-
map_attribute "stateMachine", to: :state_machine
|
123
|
-
map_attribute "deferredEvent", to: :deferred_event
|
124
|
-
map_attribute "classifierInState", to: :classifier_in_state
|
125
|
-
map_attribute "xmi.id", to: :xmi_id
|
126
|
-
map_attribute "xmi.label", to: :xmi_label
|
127
|
-
map_attribute "xmi.uuid", to: :xmi_uuid
|
128
|
-
map_attribute "href", to: :href
|
129
|
-
map_attribute "xmi.idref", to: :xmi_idref
|
130
|
-
map_element "ModelElement.name", to: :model_element_name
|
131
|
-
map_element "ModelElement.visibility", to: :model_element_visibility
|
132
|
-
map_element "CompositeState.isConcurrent", to: :composite_state_is_concurrent
|
133
|
-
map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
|
134
|
-
map_element "ModelElement.binding", to: :model_element_binding
|
135
|
-
map_element "ModelElement.template", to: :model_element_template
|
136
|
-
map_element "ModelElement.templateParameter", to: :model_element_template_parameter
|
137
|
-
map_element "ModelElement.implementation", to: :model_element_implementation
|
138
|
-
map_element "ModelElement.view", to: :model_element_view
|
139
|
-
map_element "ModelElement.presentation", to: :model_element_presentation
|
140
|
-
map_element "ModelElement.namespace", to: :model_element_namespace
|
141
|
-
map_element "ModelElement.constraint", to: :model_element_constraint
|
142
|
-
map_element "ModelElement.requirement", to: :model_element_requirement
|
143
|
-
map_element "ModelElement.provision", to: :model_element_provision
|
144
|
-
map_element "ModelElement.stereotype", to: :model_element_stereotype
|
145
|
-
map_element "ModelElement.elementReference", to: :model_element_element_reference
|
146
|
-
map_element "ModelElement.collaboration", to: :model_element_collaboration
|
147
|
-
map_element "ModelElement.behavior", to: :model_element_behavior
|
148
|
-
map_element "ModelElement.partition", to: :model_element_partition
|
149
|
-
map_element "StateVertex.outgoing", to: :state_vertex_outgoing
|
150
|
-
map_element "StateVertex.incoming", to: :state_vertex_incoming
|
151
|
-
map_element "StateVertex.parent", to: :state_vertex_parent
|
152
|
-
map_element "State.stateMachine", to: :state_state_machine
|
153
|
-
map_element "State.deferredEvent", to: :state_deferred_event
|
154
|
-
map_element "State.classifierInState", to: :state_classifier_in_state
|
155
|
-
map_element "ModelElement.taggedValue", to: :model_element_tagged_value
|
156
|
-
map_element "State.internalTransition", to: :state_internal_transition
|
157
|
-
map_element "State.entry", to: :state_entry
|
158
|
-
map_element "State.exit", to: :state_exit
|
159
|
-
map_element "CompositeState.substate", to: :composite_state_substate
|
160
|
-
end
|
161
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
class CompositeStateisConcurrent < Shale::Mapper
|
6
|
-
attribute :xmi_value, Shale::Type::String
|
7
|
-
|
8
|
-
xml do
|
9
|
-
root "CompositeState.isConcurrent"
|
10
|
-
namespace "omg.org/UML1.3", "UML"
|
11
|
-
|
12
|
-
map_attribute "xmi.value", to: :xmi_value
|
13
|
-
end
|
14
|
-
end
|
@@ -1,40 +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 "pseudo_state"
|
10
|
-
require_relative "simple_state"
|
11
|
-
require_relative "state"
|
12
|
-
require_relative "state_vertex"
|
13
|
-
require_relative "submachine_state"
|
14
|
-
|
15
|
-
class CompositeStatesubstate < Shale::Mapper
|
16
|
-
attribute :state_vertex, StateVertex, collection: true
|
17
|
-
attribute :pseudo_state, PseudoState, collection: true
|
18
|
-
attribute :state, State, collection: true
|
19
|
-
attribute :composite_state, CompositeState, collection: true
|
20
|
-
attribute :simple_state, SimpleState, collection: true
|
21
|
-
attribute :submachine_state, SubmachineState, collection: true
|
22
|
-
attribute :action_state, ActionState, collection: true
|
23
|
-
attribute :object_flow_state, ObjectFlowState, collection: true
|
24
|
-
attribute :activity_state, ActivityState, collection: true
|
25
|
-
|
26
|
-
xml do
|
27
|
-
root "CompositeState.substate"
|
28
|
-
namespace "omg.org/UML1.3", "UML"
|
29
|
-
|
30
|
-
map_element "StateVertex", to: :state_vertex
|
31
|
-
map_element "PseudoState", to: :pseudo_state
|
32
|
-
map_element "State", to: :state
|
33
|
-
map_element "CompositeState", to: :composite_state
|
34
|
-
map_element "SimpleState", to: :simple_state
|
35
|
-
map_element "SubmachineState", to: :submachine_state
|
36
|
-
map_element "ActionState", to: :action_state
|
37
|
-
map_element "ObjectFlowState", to: :object_flow_state
|
38
|
-
map_element "ActivityState", to: :activity_state
|
39
|
-
end
|
40
|
-
end
|
data/lib/xmi/uml13/constraint.rb
DELETED
@@ -1,127 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "constraintbody"
|
6
|
-
require_relative "constraintconstrained_element"
|
7
|
-
require_relative "constraintconstrained_stereotype"
|
8
|
-
require_relative "model_elementbehavior"
|
9
|
-
require_relative "model_elementbinding"
|
10
|
-
require_relative "model_elementcollaboration"
|
11
|
-
require_relative "model_elementconstraint"
|
12
|
-
require_relative "model_elementelement_reference"
|
13
|
-
require_relative "model_elementimplementation"
|
14
|
-
require_relative "model_elementname"
|
15
|
-
require_relative "model_elementnamespace"
|
16
|
-
require_relative "model_elementpartition"
|
17
|
-
require_relative "model_elementpresentation"
|
18
|
-
require_relative "model_elementprovision"
|
19
|
-
require_relative "model_elementrequirement"
|
20
|
-
require_relative "model_elementstereotype"
|
21
|
-
require_relative "model_elementtagged_value"
|
22
|
-
require_relative "model_elementtemplate"
|
23
|
-
require_relative "model_elementtemplate_parameter"
|
24
|
-
require_relative "model_elementview"
|
25
|
-
require_relative "model_elementvisibility"
|
26
|
-
require_relative "xm_iextension"
|
27
|
-
|
28
|
-
class Constraint < Shale::Mapper
|
29
|
-
attribute :name, Shale::Type::Value
|
30
|
-
attribute :visibility, Shale::Type::String
|
31
|
-
attribute :binding, Shale::Type::Value
|
32
|
-
attribute :template, Shale::Type::Value
|
33
|
-
attribute :template_parameter, Shale::Type::Value
|
34
|
-
attribute :implementation, Shale::Type::Value
|
35
|
-
attribute :view, Shale::Type::Value
|
36
|
-
attribute :presentation, Shale::Type::Value
|
37
|
-
attribute :namespace, Shale::Type::Value
|
38
|
-
attribute :constraint, Shale::Type::Value
|
39
|
-
attribute :requirement, Shale::Type::Value
|
40
|
-
attribute :provision, Shale::Type::Value
|
41
|
-
attribute :stereotype, Shale::Type::Value
|
42
|
-
attribute :element_reference, Shale::Type::Value
|
43
|
-
attribute :collaboration, Shale::Type::Value
|
44
|
-
attribute :behavior, Shale::Type::Value
|
45
|
-
attribute :partition, Shale::Type::Value
|
46
|
-
attribute :constrained_element, Shale::Type::Value
|
47
|
-
attribute :constrained_stereotype, Shale::Type::Value
|
48
|
-
attribute :xmi_id, Shale::Type::Value
|
49
|
-
attribute :xmi_label, Shale::Type::Value
|
50
|
-
attribute :xmi_uuid, Shale::Type::Value
|
51
|
-
attribute :href, Shale::Type::Value
|
52
|
-
attribute :xmi_idref, Shale::Type::Value
|
53
|
-
attribute :model_element_name, ModelElementname, collection: true
|
54
|
-
attribute :model_element_visibility, ModelElementvisibility, collection: true
|
55
|
-
attribute :constraint_body, Constraintbody, 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 :constraint_constrained_element, ConstraintconstrainedElement, collection: true
|
73
|
-
attribute :constraint_constrained_stereotype, ConstraintconstrainedStereotype, collection: true
|
74
|
-
attribute :model_element_tagged_value, ModelElementtaggedValue, collection: true
|
75
|
-
|
76
|
-
xml do
|
77
|
-
root "Constraint"
|
78
|
-
namespace "omg.org/UML1.3", "UML"
|
79
|
-
|
80
|
-
map_attribute "name", to: :name
|
81
|
-
map_attribute "visibility", to: :visibility
|
82
|
-
map_attribute "binding", to: :binding
|
83
|
-
map_attribute "template", to: :template
|
84
|
-
map_attribute "templateParameter", to: :template_parameter
|
85
|
-
map_attribute "implementation", to: :implementation
|
86
|
-
map_attribute "view", to: :view
|
87
|
-
map_attribute "presentation", to: :presentation
|
88
|
-
map_attribute "namespace", to: :namespace
|
89
|
-
map_attribute "constraint", to: :constraint
|
90
|
-
map_attribute "requirement", to: :requirement
|
91
|
-
map_attribute "provision", to: :provision
|
92
|
-
map_attribute "stereotype", to: :stereotype
|
93
|
-
map_attribute "elementReference", to: :element_reference
|
94
|
-
map_attribute "collaboration", to: :collaboration
|
95
|
-
map_attribute "behavior", to: :behavior
|
96
|
-
map_attribute "partition", to: :partition
|
97
|
-
map_attribute "constrainedElement", to: :constrained_element
|
98
|
-
map_attribute "constrainedStereotype", to: :constrained_stereotype
|
99
|
-
map_attribute "xmi.id", to: :xmi_id
|
100
|
-
map_attribute "xmi.label", to: :xmi_label
|
101
|
-
map_attribute "xmi.uuid", to: :xmi_uuid
|
102
|
-
map_attribute "href", to: :href
|
103
|
-
map_attribute "xmi.idref", to: :xmi_idref
|
104
|
-
map_element "ModelElement.name", to: :model_element_name
|
105
|
-
map_element "ModelElement.visibility", to: :model_element_visibility
|
106
|
-
map_element "Constraint.body", to: :constraint_body
|
107
|
-
map_element "XMI.extension", to: :xmi_extension, prefix: nil, namespace: nil
|
108
|
-
map_element "ModelElement.binding", to: :model_element_binding
|
109
|
-
map_element "ModelElement.template", to: :model_element_template
|
110
|
-
map_element "ModelElement.templateParameter", to: :model_element_template_parameter
|
111
|
-
map_element "ModelElement.implementation", to: :model_element_implementation
|
112
|
-
map_element "ModelElement.view", to: :model_element_view
|
113
|
-
map_element "ModelElement.presentation", to: :model_element_presentation
|
114
|
-
map_element "ModelElement.namespace", to: :model_element_namespace
|
115
|
-
map_element "ModelElement.constraint", to: :model_element_constraint
|
116
|
-
map_element "ModelElement.requirement", to: :model_element_requirement
|
117
|
-
map_element "ModelElement.provision", to: :model_element_provision
|
118
|
-
map_element "ModelElement.stereotype", to: :model_element_stereotype
|
119
|
-
map_element "ModelElement.elementReference", to: :model_element_element_reference
|
120
|
-
map_element "ModelElement.collaboration", to: :model_element_collaboration
|
121
|
-
map_element "ModelElement.behavior", to: :model_element_behavior
|
122
|
-
map_element "ModelElement.partition", to: :model_element_partition
|
123
|
-
map_element "Constraint.constrainedElement", to: :constraint_constrained_element
|
124
|
-
map_element "Constraint.constrainedStereotype", to: :constraint_constrained_stereotype
|
125
|
-
map_element "ModelElement.taggedValue", to: :model_element_tagged_value
|
126
|
-
end
|
127
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "boolean_expression"
|
6
|
-
|
7
|
-
class Constraintbody < Shale::Mapper
|
8
|
-
attribute :boolean_expression, BooleanExpression
|
9
|
-
|
10
|
-
xml do
|
11
|
-
root "Constraint.body"
|
12
|
-
namespace "omg.org/UML1.3", "UML"
|
13
|
-
|
14
|
-
map_element "BooleanExpression", to: :boolean_expression
|
15
|
-
end
|
16
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "model_element"
|
6
|
-
|
7
|
-
class ConstraintconstrainedElement < Shale::Mapper
|
8
|
-
attribute :model_element, ModelElement, collection: true
|
9
|
-
|
10
|
-
xml do
|
11
|
-
root "Constraint.constrainedElement"
|
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 "stereotype"
|
6
|
-
|
7
|
-
class ConstraintconstrainedStereotype < Shale::Mapper
|
8
|
-
attribute :stereotype, Stereotype, collection: true
|
9
|
-
|
10
|
-
xml do
|
11
|
-
root "Constraint.constrainedStereotype"
|
12
|
-
namespace "omg.org/UML1.3", "UML"
|
13
|
-
|
14
|
-
map_element "Stereotype", to: :stereotype
|
15
|
-
end
|
16
|
-
end
|
data/lib/xmi/uml13/core.rb
DELETED
@@ -1,86 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "shale"
|
4
|
-
|
5
|
-
require_relative "association"
|
6
|
-
require_relative "association_class"
|
7
|
-
require_relative "association_end"
|
8
|
-
require_relative "attribute"
|
9
|
-
require_relative "behavioral_feature"
|
10
|
-
require_relative "class"
|
11
|
-
require_relative "classifier"
|
12
|
-
require_relative "constraint"
|
13
|
-
require_relative "data_type"
|
14
|
-
require_relative "dependency"
|
15
|
-
require_relative "element"
|
16
|
-
require_relative "feature"
|
17
|
-
require_relative "generalizable_element"
|
18
|
-
require_relative "generalization"
|
19
|
-
require_relative "interface"
|
20
|
-
require_relative "method"
|
21
|
-
require_relative "model_element"
|
22
|
-
require_relative "namespace"
|
23
|
-
require_relative "operation"
|
24
|
-
require_relative "parameter"
|
25
|
-
require_relative "structural_feature"
|
26
|
-
|
27
|
-
class Core < Shale::Mapper
|
28
|
-
attribute :xmi_id, Shale::Type::Value
|
29
|
-
attribute :xmi_label, Shale::Type::Value
|
30
|
-
attribute :xmi_uuid, Shale::Type::Value
|
31
|
-
attribute :href, Shale::Type::Value
|
32
|
-
attribute :xmi_idref, Shale::Type::Value
|
33
|
-
attribute :element, Element, collection: true
|
34
|
-
attribute :model_element, ModelElement, collection: true
|
35
|
-
attribute :namespace, Namespace, collection: true
|
36
|
-
attribute :generalizable_element, GeneralizableElement, collection: true
|
37
|
-
attribute :classifier, Classifier, collection: true
|
38
|
-
attribute :interface, Interface, collection: true
|
39
|
-
attribute :class, Class, collection: true
|
40
|
-
attribute :data_type, DataType, collection: true
|
41
|
-
attribute :feature, Feature, collection: true
|
42
|
-
attribute :structural_feature, StructuralFeature, collection: true
|
43
|
-
attribute :behavioral_feature, BehavioralFeature, collection: true
|
44
|
-
attribute :operation, Operation, collection: true
|
45
|
-
attribute :method, Method, collection: true
|
46
|
-
attribute :parameter, Parameter, collection: true
|
47
|
-
attribute :constraint, Constraint, collection: true
|
48
|
-
attribute :dependency, Dependency, collection: true
|
49
|
-
attribute :generalization, Generalization, collection: true
|
50
|
-
attribute :association_end, AssociationEnd, collection: true
|
51
|
-
attribute :association, Association, collection: true
|
52
|
-
attribute :association_class, AssociationClass, collection: true
|
53
|
-
attribute :attribute, Attribute, collection: true
|
54
|
-
|
55
|
-
xml do
|
56
|
-
root "Core"
|
57
|
-
namespace "omg.org/UML1.3", "UML"
|
58
|
-
|
59
|
-
map_attribute "xmi.id", to: :xmi_id
|
60
|
-
map_attribute "xmi.label", to: :xmi_label
|
61
|
-
map_attribute "xmi.uuid", to: :xmi_uuid
|
62
|
-
map_attribute "href", to: :href
|
63
|
-
map_attribute "xmi.idref", to: :xmi_idref
|
64
|
-
map_element "Element", to: :element
|
65
|
-
map_element "ModelElement", to: :model_element
|
66
|
-
map_element "Namespace", to: :namespace
|
67
|
-
map_element "GeneralizableElement", to: :generalizable_element
|
68
|
-
map_element "Classifier", to: :classifier
|
69
|
-
map_element "Interface", to: :interface
|
70
|
-
map_element "Class", to: :class
|
71
|
-
map_element "DataType", to: :data_type
|
72
|
-
map_element "Feature", to: :feature
|
73
|
-
map_element "StructuralFeature", to: :structural_feature
|
74
|
-
map_element "BehavioralFeature", to: :behavioral_feature
|
75
|
-
map_element "Operation", to: :operation
|
76
|
-
map_element "Method", to: :method
|
77
|
-
map_element "Parameter", to: :parameter
|
78
|
-
map_element "Constraint", to: :constraint
|
79
|
-
map_element "Dependency", to: :dependency
|
80
|
-
map_element "Generalization", to: :generalization
|
81
|
-
map_element "AssociationEnd", to: :association_end
|
82
|
-
map_element "Association", to: :association
|
83
|
-
map_element "AssociationClass", to: :association_class
|
84
|
-
map_element "Attribute", to: :attribute
|
85
|
-
end
|
86
|
-
end
|