Class Aggregate

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class Aggregate extends AggregateExpression implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
The Aggregate operator performs custom aggregation by evaluating an expression for each element of the source. If a path is specified, the aggregation is performed for value of the property specified by the path for each element of the source. The iteration expression has access to the $this, $index, and $total variables. At the end of each iteration, the value of the $total variable is updated to the result of the iteration expression. The value of the $total variable is initialized to the result of the initialValue expression, if present. If the list is null, the result is null.

Java class for Aggregate complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Aggregate">
   <complexContent>
     <extension base="{urn:hl7-org:elm:r1}AggregateExpression">
       <sequence>
         <element name="iteration" type="{urn:hl7-org:elm:r1}Expression"/>
         <element name="initialValue" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>