Module: Xmi::Uml::ProfileAttributes

Included in:
Profile
Defined in:
lib/xmi/uml.rb

Overview

TODO: add attributes xmlns:uml and xmlns:xmi

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



713
714
715
716
717
718
719
720
721
722
723
724
725
726
# File 'lib/xmi/uml.rb', line 713

def self.included(klass)
  klass.class_eval do
    attribute :packaged_element, PackagedElement, collection: true
    attribute :package_import, PackageImport, collection: true
    attribute :id, :string
    attribute :name, :string
    # attribute :xmi, :string
    # attribute :uml, :string
    attribute :ns_prefix, :string

    # Is this an EA thing?
    attribute :metamodel_reference, :string
  end
end