Sha256: 8cd602e21cff99f4348446ef4293096bdbd0dbd63e2fb5561293ec5686246a0f

Contents?: true

Size: 681 Bytes

Versions: 14

Compression:

Stored size: 681 Bytes

Contents

module Expressir
  module Model
    class SubtypeConstraint < ModelElement
      include Scope
      include Identifier

      attr_accessor :applies_to
      attr_accessor :abstract
      attr_accessor :total_over
      attr_accessor :supertype_expression

      def initialize(options = {})
        @id = options[:id]
        @remarks = options.fetch(:remarks, [])
        @source = options[:source]

        @applies_to = options[:applies_to]
        @abstract = options[:abstract]
        @total_over = options[:total_over]
        @supertype_expression = options[:supertype_expression]
      end

      def children
        items = []
        items
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
expressir-0.2.11 lib/expressir/model/subtype_constraint.rb
expressir-0.2.11-x86_64-linux lib/expressir/model/subtype_constraint.rb
expressir-0.2.11-x86_64-darwin lib/expressir/model/subtype_constraint.rb
expressir-0.2.11-x86-mingw32 lib/expressir/model/subtype_constraint.rb
expressir-0.2.11-x86-linux lib/expressir/model/subtype_constraint.rb
expressir-0.2.11-x64-mingw32 lib/expressir/model/subtype_constraint.rb
expressir-0.2.11-arm64-darwin lib/expressir/model/subtype_constraint.rb
expressir-0.2.10 lib/expressir/model/subtype_constraint.rb
expressir-0.2.10-x86_64-linux lib/expressir/model/subtype_constraint.rb
expressir-0.2.10-x86_64-darwin lib/expressir/model/subtype_constraint.rb
expressir-0.2.10-x86-mingw32 lib/expressir/model/subtype_constraint.rb
expressir-0.2.10-x86-linux lib/expressir/model/subtype_constraint.rb
expressir-0.2.10-x64-mingw32 lib/expressir/model/subtype_constraint.rb
expressir-0.2.10-arm64-darwin lib/expressir/model/subtype_constraint.rb