Sha256: bed006201a86182abcaa9e32c3d474ef2a8165e910da8e011b278563e10a4611

Contents?: true

Size: 893 Bytes

Versions: 171

Compression:

Stored size: 893 Bytes

Contents

module Expressir
  module Model
    module DataTypes
      # Specified in ISO 10303-11:2004
      # - section 8.4.2 Select data type
      class Select < DataType
        model_attr_accessor :extensible, '::Boolean'
        model_attr_accessor :generic_entity, '::Boolean'
        model_attr_accessor :based_on, 'Reference'
        model_attr_accessor :items, '::Array<Reference>'

        # @param [Hash] options
        # @option options [::Boolean] :extensible
        # @option options [::Boolean] :generic_entity
        # @option options [Reference] :based_on
        # @option options [::Array<Reference>] :items
        def initialize(options = {})
          @extensible = options[:extensible]
          @generic_entity = options[:generic_entity]
          @based_on = options[:based_on]
          @items = options[:items] || []

          super
        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/data_types/select.rb
expressir-1.2.0-x86-linux lib/expressir/model/data_types/select.rb
expressir-1.2.0-x64-mingw32 lib/expressir/model/data_types/select.rb
expressir-1.2.0-arm64-darwin lib/expressir/model/data_types/select.rb
expressir-1.1.0 lib/expressir/model/data_types/select.rb
expressir-1.1.0-x86_64-linux lib/expressir/model/data_types/select.rb
expressir-1.1.0-x86_64-darwin lib/expressir/model/data_types/select.rb
expressir-1.1.0-x86-mingw32 lib/expressir/model/data_types/select.rb
expressir-1.1.0-x86-linux lib/expressir/model/data_types/select.rb
expressir-1.1.0-x64-mingw32 lib/expressir/model/data_types/select.rb
expressir-1.1.0-arm64-darwin lib/expressir/model/data_types/select.rb