Module: Xmi::Sparx::SparxConnectorEnd

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

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object

rubocop:disable Metrics/MethodLength



537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'lib/xmi/sparx.rb', line 537

def self.included(klass) # rubocop:disable Metrics/MethodLength
  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