Class: SimpleXmiToECore

Inherits:
RGen::Transformer show all
Includes:
RGen::ECore
Defined in:
lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_to_ecore.rb

Defined Under Namespace

Classes: MapHelper, TaggedValueHelper

Constant Summary

Constants included from RGen::ECore

RGen::ECore::EBoolean, RGen::ECore::EFloat, RGen::ECore::EInt, RGen::ECore::EJavaClass, RGen::ECore::EJavaObject, RGen::ECore::ELong, RGen::ECore::ERubyClass, RGen::ECore::ERubyObject, RGen::ECore::EString

Instance Method Summary collapse

Methods included from RGen::MetamodelBuilder::ModuleExtension

#_annotations, #_constantOrder, #annotation, extended, #final_method, #method_added

Methods included from RGen::ECore::ECoreInterface

#_set_ecore_internal, clear_ecore_cache, #ecore

Methods inherited from RGen::Transformer

_methods, #_transformProperties, _transformer_blocks, copy, copy_all, #copy_features, #initialize, method, #method_missing, #trans, transform

Constructor Details

This class inherits a constructor from RGen::Transformer

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RGen::Transformer

Instance Method Details

#transformObject

Do the actual transformation. Input and output environment have to be provided to the transformer constructor.



27
28
29
# File 'lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_to_ecore.rb', line 27

def transform
  trans(:class => SimpleXMIMetaModel::UML::Clazz)
end