Class Slice

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Direct Known Subclasses:
SliceEvaluator

public class Slice extends OperatorExpression implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
The Slice operator returns a portion of the elements in a list, beginning at the start index and ending just before the ending index. If the source list is null, the result is null. If the startIndex is null, the slice begins at the first element of the list. If the endIndex is null, the slice continues to the last element of the list. If the startIndex or endIndex is less than 0, or if the endIndex is less than the startIndex, the result is an empty list.

Java class for Slice complex type.

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

 <complexType name="Slice">
   <complexContent>
     <extension base="{urn:hl7-org:elm:r1}OperatorExpression">
       <sequence>
         <element name="source" type="{urn:hl7-org:elm:r1}Expression"/>
         <element name="startIndex" type="{urn:hl7-org:elm:r1}Expression"/>
         <element name="endIndex" type="{urn:hl7-org:elm:r1}Expression"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>