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



522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'lib/xmi/sparx.rb', line 522

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