Class Message

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

public class Message extends OperatorExpression implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
The Message operator is used to support errors, warnings, messages, and tracing in an ELM evaluation environment. The operator is defined to return the input source. If the severity is Error, the operator is expected to raise a run-time error and return the message to the calling environment. This is the only severity that stops processing. All other severities continue evaluation of the expression. If the severity is Trace, the operator is expected to make the message available to a tracing mechanism such as a debug log in the calling environment. If the severity is Warning, the operator is expected to provide the message as a warning to the calling environment. If the severity is Message, the operator is expected to provide the message as information to the calling environment.

Java class for Message complex type.

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

 <complexType name="Message">
   <complexContent>
     <extension base="{urn:hl7-org:elm:r1}OperatorExpression">
       <sequence>
         <element name="source" type="{urn:hl7-org:elm:r1}Expression"/>
         <element name="condition" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
         <element name="code" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
         <element name="severity" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
         <element name="message" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>