@Generated(value="com.sun.tools.xjc.Driver", date="2023-09-11T10:23:02+02:00", comments="JAXB RI v2.3.7") 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="Origin" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="Code" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="Message" type="{urn:be:fgov:ehealth:errors:core:v1}LocalisedStringType" maxOccurs="unbounded"/> <element name="Retry" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="Contact" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
ErrorType() |
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Gets the value of the code property.
|
String |
getContact()
Gets the value of the contact property.
|
String |
getId()
Gets the value of the id property.
|
List<LocalisedStringType> |
getMessages()
Gets the value of the messages property.
|
String |
getOrigin()
Gets the value of the origin property.
|
Boolean |
isRetry()
Gets the value of the retry property.
|
void |
setCode(String value)
Sets the value of the code property.
|
void |
setContact(String value)
Sets the value of the contact property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setOrigin(String value)
Sets the value of the origin property.
|
void |
setRetry(Boolean value)
Sets the value of the retry property.
|
public String getOrigin()
String
public void setOrigin(String value)
value
- allowed object is
String
public String getCode()
String
public void setCode(String value)
value
- allowed object is
String
public List<LocalisedStringType> getMessages()
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
LocalisedStringType
public Boolean isRetry()
Boolean
public void setRetry(Boolean value)
value
- allowed object is
Boolean
public String getContact()
String
public void setContact(String value)
value
- allowed object is
String
Connector Packaging TECHNICAL 4.4.0 API
Copyright © {inceptionYear}-2023 eHealth. All Rights Reserved.