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
305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 |
# File 'lib/xmi/uml.rb', line 305 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 |