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
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 |
# File 'lib/xmi/uml.rb', line 278 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 |