org.oasis_open.docs.ebxml_msg.ebms.v3_0.ns.core._200704
Class Error

java.lang.Object
  extended by org.oasis_open.docs.ebxml_msg.ebms.v3_0.ns.core._200704.Error
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class Error
extends Object
implements 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>
 


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

description

protected Description description

errorDetail

protected String errorDetail

category

protected String category

refToMessageInError

protected String refToMessageInError

errorCode

protected String errorCode

origin

protected String origin

severity

protected String severity

shortDescription

protected String shortDescription
Constructor Detail

Error

public Error()
Default no-arg constructor


Error

public Error(Description description,
             String errorDetail,
             String category,
             String refToMessageInError,
             String errorCode,
             String origin,
             String severity,
             String shortDescription)
Fully-initialising value constructor

Method Detail

getDescription

public Description getDescription()
Gets the value of the description property.

Returns:
possible object is Description

setDescription

public void setDescription(Description value)
Sets the value of the description property.

Parameters:
value - allowed object is Description

getErrorDetail

public String getErrorDetail()
Gets the value of the errorDetail property.

Returns:
possible object is String

setErrorDetail

public void setErrorDetail(String value)
Sets the value of the errorDetail property.

Parameters:
value - allowed object is String

getCategory

public String getCategory()
Gets the value of the category property.

Returns:
possible object is String

setCategory

public void setCategory(String value)
Sets the value of the category property.

Parameters:
value - allowed object is String

getRefToMessageInError

public String getRefToMessageInError()
Gets the value of the refToMessageInError property.

Returns:
possible object is String

setRefToMessageInError

public void setRefToMessageInError(String value)
Sets the value of the refToMessageInError property.

Parameters:
value - allowed object is String

getErrorCode

public String getErrorCode()
Gets the value of the errorCode property.

Returns:
possible object is String

setErrorCode

public void setErrorCode(String value)
Sets the value of the errorCode property.

Parameters:
value - allowed object is String

getOrigin

public String getOrigin()
Gets the value of the origin property.

Returns:
possible object is String

setOrigin

public void setOrigin(String value)
Sets the value of the origin property.

Parameters:
value - allowed object is String

getSeverity

public String getSeverity()
Gets the value of the severity property.

Returns:
possible object is String

setSeverity

public void setSeverity(String value)
Sets the value of the severity property.

Parameters:
value - allowed object is String

getShortDescription

public String getShortDescription()
Gets the value of the shortDescription property.

Returns:
possible object is String

setShortDescription

public void setShortDescription(String value)
Sets the value of the shortDescription property.

Parameters:
value - allowed object is String

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

withDescription

public Error withDescription(Description value)

withErrorDetail

public Error withErrorDetail(String value)

withCategory

public Error withCategory(String value)

withRefToMessageInError

public Error withRefToMessageInError(String value)

withErrorCode

public Error withErrorCode(String value)

withOrigin

public Error withOrigin(String value)

withSeverity

public Error withSeverity(String value)

withShortDescription

public Error withShortDescription(String value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.