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