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