Class: OpenEHR::AQL::Model::FromClause

Inherits:
Object
  • Object
show all
Defined in:
lib/openehr/aql/model/from_clause.rb

Overview

fromClause : FROM fromExpr ; fromExpr : containsExpr ; containment holds the root of the containsExpr tree. Until M3/M7 add archetype/node predicates and CONTAINS nesting, it is always a single, unpredicated ClassExpression.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(containment:) ⇒ FromClause

Returns a new instance of FromClause.



11
12
13
14
# File 'lib/openehr/aql/model/from_clause.rb', line 11

def initialize(containment:)
  @containment = containment
  freeze
end

Instance Attribute Details

#containmentObject (readonly)

Returns the value of attribute containment.



9
10
11
# File 'lib/openehr/aql/model/from_clause.rb', line 9

def containment
  @containment
end