Class: OpenEHR::AQL::Model::ContainmentAnd

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

Overview

containsExpr : ... | containsExpr AND containsExpr | ... ; Groups sibling containment branches that must ALL be present under the same parent, e.g. "CONTAINS (OBSERVATION o1 AND OBSERVATION o2)".

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(left:, right:) ⇒ ContainmentAnd

Returns a new instance of ContainmentAnd.



26
27
28
29
30
# File 'lib/openehr/aql/model/containment.rb', line 26

def initialize(left:, right:)
  @left = left
  @right = right
  freeze
end

Instance Attribute Details

#leftObject (readonly)

Returns the value of attribute left.



24
25
26
# File 'lib/openehr/aql/model/containment.rb', line 24

def left
  @left
end

#rightObject (readonly)

Returns the value of attribute right.



24
25
26
# File 'lib/openehr/aql/model/containment.rb', line 24

def right
  @right
end