Module: Xmi::Uml::DiagramAttributes

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

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



390
391
392
393
394
395
396
397
398
# File 'lib/xmi/uml.rb', line 390

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