Package be.fgov.ehealth.etee.commons._1_0.etee

# Class ErrorType

java.lang.Object
be.fgov.ehealth.etee.commons._1_0.etee.ErrorType

All Implemented Interfaces:
  `Serializable`

@Generated(value="com.sun.tools.xjc.Driver", date="2025-09-16T05:10:04+02:00", comments="JAXB RI v4.0.5") public class ErrorType extends Object implements Serializable

Java class for ErrorType complex type

.

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

     <complexType name="ErrorType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="Code" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="Message" type="{urn:be:fgov:ehealth:commons:1_0:core}LocalisedString" maxOccurs="unbounded"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ErrorType()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getCode()`
  Gets the value of the code property.
  `List<LocalisedString>`
  `getMessages()`
  Gets the value of the messages property.
  `void`
  `setCode(String value)`
  Sets the value of the code property.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ErrorType

    public ErrorType()

- ## Method Details

  - ### getCode

    public String getCode()
    Gets the value of the code property.
    Returns:
      possible object is `String`

  - ### setCode

    public void setCode(String value)
    Sets the value of the code property.
    Parameters:
      `value` - allowed object is `String`

  - ### getMessages

    public List<LocalisedString> getMessages()
    Gets the value of the messages 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 JAXB object. This is why there is not a `set` method for the messages property.

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

         getMessages().add(newItem);

    Objects of the following type(s) are allowed in the list `LocalisedString`

    Returns:
      The value of the messages property.