Class: Expressir::Model::Expressions::QueryExpression
- Inherits:
-
Expressir::Model::Expression
- Object
- ModelElement
- Expressir::Model::Expression
- Expressir::Model::Expressions::QueryExpression
- Includes:
- Identifier
- Defined in:
- lib/expressir/model/expressions/query_expression.rb
Overview
Specified in ISO 10303-11:2004
-
section 12.6.7 Query expression
Instance Attribute Summary collapse
Attributes included from Identifier
#id, #remark_items, #remarks, #source
Attributes inherited from ModelElement
Instance Method Summary collapse
- #children ⇒ Array<Declaration>
-
#initialize(options = {}) ⇒ QueryExpression
constructor
A new instance of QueryExpression.
Methods inherited from ModelElement
#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 = {}) ⇒ QueryExpression
Returns a new instance of QueryExpression.
16 17 18 19 20 21 22 23 |
# File 'lib/expressir/model/expressions/query_expression.rb', line 16 def initialize( = {}) initialize_identifier() @aggregate_source = [:aggregate_source] @expression = [:expression] super end |
Instance Attribute Details
#aggregate_source ⇒ Reference
9 |
# File 'lib/expressir/model/expressions/query_expression.rb', line 9 model_attr_accessor :aggregate_source, 'Reference' |
#expression ⇒ Expression
10 |
# File 'lib/expressir/model/expressions/query_expression.rb', line 10 model_attr_accessor :expression, 'Expression' |
Instance Method Details
#children ⇒ Array<Declaration>
26 27 28 29 30 31 |
# File 'lib/expressir/model/expressions/query_expression.rb', line 26 def children [ self, *remark_items ] end |