public class Error
extends java.lang.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 java.lang.String |
category |
protected Description |
description |
protected java.lang.String |
errorCode |
protected java.lang.String |
errorDetail |
protected java.lang.String |
origin |
protected java.lang.String |
refToMessageInError |
protected java.lang.String |
severity |
protected java.lang.String |
shortDescription |
| Constructor and Description |
|---|
Error()
Default no-arg constructor
|
Error(Description description,
java.lang.String errorDetail,
java.lang.String category,
java.lang.String refToMessageInError,
java.lang.String errorCode,
java.lang.String origin,
java.lang.String severity,
java.lang.String shortDescription)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
java.lang.String |
getCategory()
Gets the value of the category property.
|
Description |
getDescription()
Gets the value of the description property.
|
java.lang.String |
getErrorCode()
Gets the value of the errorCode property.
|
java.lang.String |
getErrorDetail()
Gets the value of the errorDetail property.
|
java.lang.String |
getOrigin()
Gets the value of the origin property.
|
java.lang.String |
getRefToMessageInError()
Gets the value of the refToMessageInError property.
|
java.lang.String |
getSeverity()
Gets the value of the severity property.
|
java.lang.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(java.lang.String value)
Sets the value of the category property.
|
void |
setDescription(Description value)
Sets the value of the description property.
|
void |
setErrorCode(java.lang.String value)
Sets the value of the errorCode property.
|
void |
setErrorDetail(java.lang.String value)
Sets the value of the errorDetail property.
|
void |
setOrigin(java.lang.String value)
Sets the value of the origin property.
|
void |
setRefToMessageInError(java.lang.String value)
Sets the value of the refToMessageInError property.
|
void |
setSeverity(java.lang.String value)
Sets the value of the severity property.
|
void |
setShortDescription(java.lang.String value)
Sets the value of the shortDescription property.
|
java.lang.String |
toString() |
Error |
withCategory(java.lang.String value) |
Error |
withDescription(Description value) |
Error |
withErrorCode(java.lang.String value) |
Error |
withErrorDetail(java.lang.String value) |
Error |
withOrigin(java.lang.String value) |
Error |
withRefToMessageInError(java.lang.String value) |
Error |
withSeverity(java.lang.String value) |
Error |
withShortDescription(java.lang.String value) |
protected Description description
protected java.lang.String errorDetail
protected java.lang.String category
protected java.lang.String refToMessageInError
protected java.lang.String errorCode
protected java.lang.String origin
protected java.lang.String severity
protected java.lang.String shortDescription
public Error()
public Error(Description description, java.lang.String errorDetail, java.lang.String category, java.lang.String refToMessageInError, java.lang.String errorCode, java.lang.String origin, java.lang.String severity, java.lang.String shortDescription)
public Description getDescription()
Descriptionpublic void setDescription(Description value)
value - allowed object is
Descriptionpublic java.lang.String getErrorDetail()
Stringpublic void setErrorDetail(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getCategory()
Stringpublic void setCategory(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getRefToMessageInError()
Stringpublic void setRefToMessageInError(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getErrorCode()
Stringpublic void setErrorCode(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getOrigin()
Stringpublic void setOrigin(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getSeverity()
Stringpublic void setSeverity(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getShortDescription()
Stringpublic void setShortDescription(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.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,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic 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 int hashCode()
hashCode in class java.lang.Objectpublic Error withDescription(Description value)
public Error withErrorDetail(java.lang.String value)
public Error withCategory(java.lang.String value)
public Error withRefToMessageInError(java.lang.String value)
public Error withErrorCode(java.lang.String value)
public Error withOrigin(java.lang.String value)
public Error withSeverity(java.lang.String value)
public Error withShortDescription(java.lang.String value)
Copyright © 2014 Digipost Open Source. All Rights Reserved.