Class ConvertsToBoolean

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

public class ConvertsToBoolean extends UnaryExpression implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
The ConvertsToBoolean operator returns true if the value of its argument is or can be converted to a Boolean value. The operator accepts 'true', 't', 'yes', 'y', and '1' as string representations of true, and 'false', 'f', 'no', 'n', and '0' as string representations of false, ignoring case. If the input is an Integer or Long, the result is true if the integer is 1 or 0. If the input is a Decimal, the result is true if the decimal is 1.0 or 0.0. If the input cannot be interpreted as a valid Boolean value, the result is false. If the argument is null the result is null.

Java class for ConvertsToBoolean complex type.

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

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