class UML13ToUML13EA

Public Instance Methods

copyAssociationEnd() click to toggle source
# File lib/puppet/vendor/rgen/lib/ea_support/uml13_to_uml13_ea.rb, line 66
def copyAssociationEnd
  _lower = multiplicity && multiplicity.range.first.lower
  _upper = multiplicity && multiplicity.range.first.upper
  copy_features :except => [:multiplicity, :ordering, :changeability] do
    { :multiplicity => _lower == _upper ? _lower : "#{_lower}..#{_upper}",
      :isOrdered => ordering == :ordered,
      :changeable => :none } #{:frozen => :none}[changeability] || changeability}

  end
end
transform() click to toggle source
# File lib/puppet/vendor/rgen/lib/ea_support/uml13_to_uml13_ea.rb, line 9
def transform
  trans(:class => Package)
  trans(:class => Class)
end