Sha256: 58e94cfa174e20f260d1f6b30ec9c70149beca8a5b6983cc490d8de3dc86d16a

Contents?: true

Size: 704 Bytes

Versions: 171

Compression:

Stored size: 704 Bytes

Contents

module Expressir
  module Model
    module Declarations
      # Specified in ISO 10303-11:2004
      # - section 9.2.2.1 Uniqueness rule
      class UniqueRule < Declaration
        include Identifier

        model_attr_accessor :attributes, 'Reference'

        # @param [Hash] options
        # @option (see Identifier#initialize_identifier)
        # @option options [Reference] :attributes
        def initialize(options = {})
          initialize_identifier(options)

          @attributes = options[:attributes] || []

          super
        end

        # @return [Array<Declaration>]
        def children
          [
            *remark_items
          ]
        end
      end
    end
  end
end

Version data entries

171 entries across 171 versions & 1 rubygems

Version Path
expressir-1.2.0-x86-mingw32 lib/expressir/model/declarations/unique_rule.rb
expressir-1.2.0-x86-linux lib/expressir/model/declarations/unique_rule.rb
expressir-1.2.0-x64-mingw32 lib/expressir/model/declarations/unique_rule.rb
expressir-1.2.0-arm64-darwin lib/expressir/model/declarations/unique_rule.rb
expressir-1.1.0 lib/expressir/model/declarations/unique_rule.rb
expressir-1.1.0-x86_64-linux lib/expressir/model/declarations/unique_rule.rb
expressir-1.1.0-x86_64-darwin lib/expressir/model/declarations/unique_rule.rb
expressir-1.1.0-x86-mingw32 lib/expressir/model/declarations/unique_rule.rb
expressir-1.1.0-x86-linux lib/expressir/model/declarations/unique_rule.rb
expressir-1.1.0-x64-mingw32 lib/expressir/model/declarations/unique_rule.rb
expressir-1.1.0-arm64-darwin lib/expressir/model/declarations/unique_rule.rb