Module: Xmi::Uml::DiagramAttributes

Included in:
Diagram
Defined in:
lib/xmi/uml.rb

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



544
545
546
547
548
549
550
551
552
# File 'lib/xmi/uml.rb', line 544

def self.included(klass)
  klass.class_eval do
    attribute :type, :string
    attribute :id, :string
    attribute :is_frame, :boolean
    attribute :model_element, :string
    attribute :owned_element, OwnedElement, collection: true
  end
end