Module: RGen::MetamodelBuilder::DataTypes

Included in:
MMBase, UML13, UML13EA
Defined in:
lib/rgen/metamodel_builder/data_types.rb

Defined Under Namespace

Classes: Enum

Constant Summary collapse

Boolean =

Boolean is a predefined enum object having Ruby’s true and false singletons as possible values.

Enum.new(:name => "Boolean", :literals => [true, false])
Long =

This constant is merely a marker for keeping this information in the Ruby version of the metamodel, values of this type will always be instances of Integer or Bignum; Setting it to a string value ensures that it responds to “to_s” which is used in the metamodel generator

"Long"