Module: Xmi::Uml::DiagramAttributes

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

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



487
488
489
490
491
492
493
494
495
# File 'lib/xmi/uml.rb', line 487

def self.included(klass)
  klass.class_eval do
    attribute :type, Shale::Type::String
    attribute :id, Shale::Type::String
    attribute :is_frame, Shale::Type::Boolean
    attribute :model_element, Shale::Type::String
    attribute :owned_element, OwnedElement, collection: true
  end
end