Module: Xmi::Uml::PackagedElementAttributes
- Included in:
- PackagedElement
- Defined in:
- lib/xmi/uml.rb
Class Method Summary collapse
-
.included(klass) ⇒ Object
rubocop:disable Metrics/MethodLength.
Class Method Details
.included(klass) ⇒ Object
rubocop:disable Metrics/MethodLength
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 |
# File 'lib/xmi/uml.rb', line 279 def self.included(klass) # rubocop:disable Metrics/MethodLength klass.class_eval do attribute :type, :string attribute :id, :string attribute :name, :string attribute :member_end, :string attribute :member_ends, MemberEnd, collection: true attribute :owned_literal, OwnedLiteral, collection: true attribute :owned_operation, OwnedOperation, collection: true # EA specific attribute :supplier, :string attribute :client, :string end end |