Class: Expressir::Model::DataTypes::List
- Inherits:
-
Expressir::Model::DataType
- Object
- ModelElement
- Expressir::Model::DataType
- Expressir::Model::DataTypes::List
- Defined in:
- lib/expressir/model/data_types/list.rb
Overview
Specified in ISO 10303-11:2004
-
section 8.2.2 List data type
Instance Attribute Summary collapse
Attributes inherited from ModelElement
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ List
constructor
A new instance of List.
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 = {}) ⇒ List
Returns a new instance of List.
17 18 19 20 21 22 23 24 |
# File 'lib/expressir/model/data_types/list.rb', line 17 def initialize( = {}) @bound1 = [:bound1] @bound2 = [:bound2] @unique = [:unique] @base_type = [:base_type] super end |
Instance Attribute Details
#base_type ⇒ DataType
10 |
# File 'lib/expressir/model/data_types/list.rb', line 10 model_attr_accessor :base_type, "DataType" |
#bound1 ⇒ Expression
7 |
# File 'lib/expressir/model/data_types/list.rb', line 7 model_attr_accessor :bound1, "Expression" |
#bound2 ⇒ Expression
8 |
# File 'lib/expressir/model/data_types/list.rb', line 8 model_attr_accessor :bound2, "Expression" |
#unique ⇒ ::Boolean
9 |
# File 'lib/expressir/model/data_types/list.rb', line 9 model_attr_accessor :unique, "::Boolean" |