Module: Xmi::Uml::PackagedElementAttributes
- Included in:
- PackagedElement, PackagedElement2013
- 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
342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 |
# File 'lib/xmi/uml.rb', line 342 def self.included(klass) # rubocop:disable Metrics/MethodLength klass.class_eval do attribute :type, Shale::Type::String attribute :id, Shale::Type::String attribute :name, Shale::Type::String attribute :member_end, Shale::Type::String attribute :member_ends, MemberEnd, collection: true attribute :owned_literal, OwnedLiteral, collection: true attribute :owned_operation, OwnedOperation, collection: true # EA specific attribute :supplier, Shale::Type::String attribute :client, Shale::Type::String end end |