Module: Xmi::Uml::ProfileAttributes

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

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



471
472
473
474
475
476
477
478
479
480
481
482
483
484
# File 'lib/xmi/uml.rb', line 471

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

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