Module: Xmi::Sparx::SparxConnectorEnd

Included in:
SparxConnectorSource, SparxConnectorTarget
Defined in:
lib/xmi/sparx.rb

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'lib/xmi/sparx.rb', line 368

def self.included(klass)
  klass.class_eval do
    attribute :idref, Shale::Type::String
    attribute :model, SparxConnectorModel
    attribute :role, SparxConnectorEndRole
    attribute :type, SparxConnectorEndType
    attribute :constraints, SparxConnectorEndConstraints
    attribute :modifiers, SparxConnectorEndModifiers
    attribute :style, SparxConnectorEndStyle
    attribute :documentation, Shale::Type::String
    attribute :xrefs, SparxElementXrefs
    attribute :tags, SparxElementTags
  end
end