Class: Expressir::Model::DataTypes::Set

Inherits:
Expressir::Model::DataType show all
Defined in:
lib/expressir/model/data_types/set.rb

Overview

Specified in ISO 10303-11:2004

  • section 8.2.4 Set data type

Instance Attribute Summary collapse

Attributes inherited from ModelElement

#parent

Instance Method Summary collapse

Methods inherited from ModelElement

#children, #children_by_id, #find, from_hash, model_attr_accessor, model_attrs, #path, #reset_children_by_id, #to_hash, #to_liquid, #to_s

Constructor Details

#initialize(options = {}) ⇒ Set

Returns a new instance of Set.

Parameters:

  • options (Hash) (defaults to: {})

Options Hash (options):



15
16
17
18
19
20
21
# File 'lib/expressir/model/data_types/set.rb', line 15

def initialize(options = {})
  @bound1 = options[:bound1]
  @bound2 = options[:bound2]
  @base_type = options[:base_type]

  super
end

Instance Attribute Details

#base_typeDataType

Returns:



9
# File 'lib/expressir/model/data_types/set.rb', line 9

model_attr_accessor :base_type, "DataType"

#bound1Expression

Returns:



7
# File 'lib/expressir/model/data_types/set.rb', line 7

model_attr_accessor :bound1, "Expression"

#bound2Expression

Returns:



8
# File 'lib/expressir/model/data_types/set.rb', line 8

model_attr_accessor :bound2, "Expression"