Class Error

java.lang.Object
de.gematik.ws.tel.error.v2.Error

public class Error extends Object

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="MessageID" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="Trace" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="EventID" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="Instance" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="LogReference" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="CompType" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="Code" type="{http://www.w3.org/2001/XMLSchema}integer"/>
                   <element name="Severity" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="ErrorType" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="ErrorText" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="Detail" minOccurs="0">
                     <complexType>
                       <simpleContent>
                         <extension base="<http://www.w3.org/2001/XMLSchema>string">
                           <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}string" />
                         </extension>
                       </simpleContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Error

      public Error()
  • Method Details

    • getMessageID

      public String getMessageID()
      Gets the value of the messageID property.
      Returns:
      possible object is String
    • setMessageID

      public void setMessageID(String value)
      Sets the value of the messageID property.
      Parameters:
      value - allowed object is String
    • getTimestamp

      public XMLGregorianCalendar getTimestamp()
      Gets the value of the timestamp property.
      Returns:
      possible object is XMLGregorianCalendar
    • setTimestamp

      public void setTimestamp(XMLGregorianCalendar value)
      Sets the value of the timestamp property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • getTrace

      public List<Error.Trace> getTrace()
      Gets the value of the trace property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the trace property.

      For example, to add a new item, do as follows:

          getTrace().add(newItem);
       

      Objects of the following type(s) are allowed in the list Error.Trace