public class Error extends Object implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
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="Description" type="{http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/}Description" minOccurs="0"/>
<element name="ErrorDetail" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
</sequence>
<attribute name="category" type="{http://www.w3.org/2001/XMLSchema}token" />
<attribute name="refToMessageInError" type="{http://www.w3.org/2001/XMLSchema}token" />
<attribute name="errorCode" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
<attribute name="origin" type="{http://www.w3.org/2001/XMLSchema}token" />
<attribute name="severity" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
<attribute name="shortDescription" type="{http://www.w3.org/2001/XMLSchema}token" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
category |
protected Description |
description |
protected String |
errorCode |
protected String |
errorDetail |
protected String |
origin |
protected String |
refToMessageInError |
protected String |
severity |
protected String |
shortDescription |
| Constructor and Description |
|---|
Error()
Default no-arg constructor
|
Error(Description description,
String errorDetail,
String category,
String refToMessageInError,
String errorCode,
String origin,
String severity,
String shortDescription)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
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 |
getCategory()
Gets the value of the category property.
|
Description |
getDescription()
Gets the value of the description property.
|
String |
getErrorCode()
Gets the value of the errorCode property.
|
String |
getErrorDetail()
Gets the value of the errorDetail property.
|
String |
getOrigin()
Gets the value of the origin property.
|
String |
getRefToMessageInError()
Gets the value of the refToMessageInError property.
|
String |
getSeverity()
Gets the value of the severity property.
|
String |
getShortDescription()
Gets the value of the shortDescription property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
void |
setCategory(String value)
Sets the value of the category property.
|
void |
setDescription(Description value)
Sets the value of the description property.
|
void |
setErrorCode(String value)
Sets the value of the errorCode property.
|
void |
setErrorDetail(String value)
Sets the value of the errorDetail property.
|
void |
setOrigin(String value)
Sets the value of the origin property.
|
void |
setRefToMessageInError(String value)
Sets the value of the refToMessageInError property.
|
void |
setSeverity(String value)
Sets the value of the severity property.
|
void |
setShortDescription(String value)
Sets the value of the shortDescription property.
|
String |
toString() |
Error |
withCategory(String value) |
Error |
withDescription(Description value) |
Error |
withErrorCode(String value) |
Error |
withErrorDetail(String value) |
Error |
withOrigin(String value) |
Error |
withRefToMessageInError(String value) |
Error |
withSeverity(String value) |
Error |
withShortDescription(String value) |
protected Description description
protected String errorDetail
protected String category
protected String refToMessageInError
protected String errorCode
protected String origin
protected String severity
protected String shortDescription
public Description getDescription()
Descriptionpublic void setDescription(Description value)
value - allowed object is
Descriptionpublic String getErrorDetail()
Stringpublic void setErrorDetail(String value)
value - allowed object is
Stringpublic String getCategory()
Stringpublic void setCategory(String value)
value - allowed object is
Stringpublic String getRefToMessageInError()
Stringpublic void setRefToMessageInError(String value)
value - allowed object is
Stringpublic String getErrorCode()
Stringpublic void setErrorCode(String value)
value - allowed object is
Stringpublic String getOrigin()
Stringpublic void setOrigin(String value)
value - allowed object is
Stringpublic String getSeverity()
Stringpublic void setSeverity(String value)
value - allowed object is
Stringpublic String getShortDescription()
Stringpublic void setShortDescription(String value)
value - allowed object is
Stringpublic StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString2public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2public 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.HashCode2public Error withDescription(Description value)
Copyright © 2019 Digipost. All rights reserved.