Class Contains

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

public class Contains extends BinaryExpression implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
The Contains operator returns true if the first operand contains the second. There are two overloads of this operator: List, T : The type of T must be the same as the element type of the list. Interval, T : The type of T must be the same as the point type of the interval. For the List, T overload, this operator returns true if the given element is in the list, using equality semantics. For the Interval, T overload, this operator returns true if the given point is equal to the starting or ending point of the interval, or greater than the starting point and less than the ending point. For open interval boundaries, exclusive comparison operators are used. For closed interval boundaries, if the interval boundary is null, the result of the boundary comparison is considered true. If precision is specified and the point type is a Date, DateTime, or Time type, comparisons used in the operation are performed at the specified precision. If the first argument is null, the result is false. If the second argument is null, the result is null.

Java class for Contains complex type.

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

 <complexType name="Contains">
   <complexContent>
     <extension base="{urn:hl7-org:elm:r1}BinaryExpression">
       <attribute name="precision" type="{urn:hl7-org:elm:r1}DateTimePrecision" />
     </extension>
   </complexContent>
 </complexType>