Class ToList

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

    public class ToList
    extends UnaryExpression
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    The ToList operator returns its argument as a List value. The operator accepts a singleton value of any type and returns a list with the value as the single element. If the argument is null, the operator returns an empty list. The operator is effectively shorthand for "if operand is null then { } else { operand }". The operator is used to implement list promotion efficiently.

    Java class for ToList complex type.

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

     <complexType name="ToList">
       <complexContent>
         <extension base="{urn:hl7-org:elm:r1}UnaryExpression">
         </extension>
       </complexContent>
     </complexType>