Module: Xmi::Uml::DiagramAttributes

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

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



481
482
483
484
485
486
487
488
489
# File 'lib/xmi/uml.rb', line 481

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