Module: Xmi::Uml::ProfileAttributes

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

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



647
648
649
650
651
652
653
654
655
656
657
658
# File 'lib/xmi/uml.rb', line 647

def self.included(klass)
  klass.class_eval do
    attribute :packaged_element, PackagedElement, collection: true
    attribute :package_import, PackageImport, collection: true
    attribute :id, Shale::Type::String
    attribute :name, Shale::Type::String
    attribute :ns_prefix, Shale::Type::String

    # Is this an EA thing?
    attribute :metamodel_reference, Shale::Type::String
  end
end