|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.fgov.ehealth.errors.core.v1.ErrorType
@Generated(value="com.sun.tools.xjc.Driver", date="2023-04-04T03:39:47+02:00", comments="JAXB RI v2.3.6") public class ErrorType
Basic information on Error.
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 Summary | |
---|---|
ErrorType()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ErrorType()
Method Detail |
---|
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
public String getId()
String
public void setId(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |