public class Error extends Object implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy 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.EqualsStrategy 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.HashCodeStrategy 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.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic Error withDescription(Description value)
Copyright © 2017 Digipost. All Rights Reserved.