public class Error extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
Java class for Error complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Error">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Detail" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
<attribute name="code" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="element" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
code |
protected String |
detail |
protected String |
element |
protected String |
message |
| Constructor and Description |
|---|
Error() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) |
String |
getCode()
Gets the value of the code property.
|
String |
getDetail()
Gets the value of the detail property.
|
String |
getElement()
Gets the value of the element property.
|
String |
getMessage()
Gets the value of the message property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
void |
setCode(String value)
Sets the value of the code property.
|
void |
setDetail(String value)
Sets the value of the detail property.
|
void |
setElement(String value)
Sets the value of the element property.
|
void |
setMessage(String value)
Sets the value of the message property.
|
protected String message
protected String detail
protected String code
protected String element
public String getMessage()
Stringpublic void setMessage(String value)
value - allowed object is
Stringpublic String getDetail()
Stringpublic void setDetail(String value)
value - allowed object is
Stringpublic String getCode()
Stringpublic void setCode(String value)
value - allowed object is
Stringpublic String getElement()
Stringpublic void setElement(String value)
value - allowed object is
Stringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2Copyright © 2017. All rights reserved.