Module: RGen::ECore
- Extended by:
- MetamodelBuilder::ModuleExtension
- Included in:
- ECoreToUML13, ECoreXMLInstantiator, UML13ToECore, XMI11Instantiator
- Defined in:
- lib/rgen/ecore/ecore.rb,
lib/rgen/ecore/ecore_ext.rb,
lib/rgen/ecore/ecore_to_json.rb,
lib/rgen/ecore/ecore_to_ruby.rb,
lib/rgen/ecore/ruby_to_ecore.rb,
lib/rgen/ecore/ecore_interface.rb,
lib/mmgen/mm_ext/ecore_mmgen_ext.rb,
lib/rgen/ecore/ecore_builder_methods.rb
Overview
This is the ECore metamodel described using the RGen::MetamodelBuilder language.
Known differences to the Java/EMF implementation are:
-
Attributes can not be “many”
Defined Under Namespace
Modules: ECoreBuilderMethods, ECoreInterface Classes: EAnnotation, EAttribute, EClass, EClassifier, ECoreToJson, ECoreToRuby, EDataType, EEnum, EEnumLiteral, EFactory, EGenericType, EModelElement, ENamedElement, EObject, EOperation, EPackage, EParameter, EReference, EStringToStringMapEntry, EStructuralFeature, ETypeArgument, ETypedElement, RubyToECore
Constant Summary collapse
- EString =
predefined datatypes
EDataType.new(:name => "EString", :instanceClassName => "String")
- EInt =
EDataType.new(:name => "EInt", :instanceClassName => "Integer")
- ELong =
EDataType.new(:name => "ELong", :instanceClassName => "Long")
- EBoolean =
EDataType.new(:name => "EBoolean", :instanceClassName => "Boolean")
- EFloat =
EDataType.new(:name => "EFloat", :instanceClassName => "Float")
- ERubyObject =
EDataType.new(:name => "ERubyObject", :instanceClassName => "Object")
- EJavaObject =
EDataType.new(:name => "EJavaObject")
- ERubyClass =
EDataType.new(:name => "ERubyClass", :instanceClassName => "Class")
- EJavaClass =
EDataType.new(:name => "EJavaClass")
Method Summary
Methods included from MetamodelBuilder::ModuleExtension
_annotations, _constantOrder, annotation, extended, final_method, method_added