|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasis_open.docs.ebxml_msg.ebms.v3_0.ns.core._200704.Error
public class Error
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>
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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)
|
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. |
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Description description
protected String errorDetail
protected String category
protected String refToMessageInError
protected String errorCode
protected String origin
protected String severity
protected String shortDescription
| Constructor Detail |
|---|
public Error()
public Error(Description description,
String errorDetail,
String category,
String refToMessageInError,
String errorCode,
String origin,
String severity,
String shortDescription)
| Method Detail |
|---|
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 String toString()
toString in class Object
public 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.ToString
public 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 Error withDescription(Description value)
public Error withErrorDetail(String value)
public Error withCategory(String value)
public Error withRefToMessageInError(String value)
public Error withErrorCode(String value)
public Error withOrigin(String value)
public Error withSeverity(String value)
public Error withShortDescription(String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||