Module: Xmi::Uml::ProfileAttributes
- Included in:
- Profile
- Defined in:
- lib/xmi/uml/profile.rb
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/xmi/uml/profile.rb', line 6 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 |