org.xmlsoap.schemas.soap.envelope
Class Fault

java.lang.Object
  extended by org.xmlsoap.schemas.soap.envelope.Fault
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class Fault
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

Fault reporting structure

Java class for Fault complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Fault">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="faultcode" type="{http://www.w3.org/2001/XMLSchema}QName"/>
         <element name="faultstring" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="faultactor" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="detail" type="{http://schemas.xmlsoap.org/soap/envelope/}detail" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Detail detail
           
protected  String faultactor
           
protected  QName faultcode
           
protected  String faultstring
           
 
Constructor Summary
Fault()
          Default no-arg constructor
Fault(QName faultcode, String faultstring, String faultactor, Detail detail)
          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)
           
 Detail getDetail()
          Gets the value of the detail property.
 String getFaultactor()
          Gets the value of the faultactor property.
 QName getFaultcode()
          Gets the value of the faultcode property.
 String getFaultstring()
          Gets the value of the faultstring property.
 void setDetail(Detail value)
          Sets the value of the detail property.
 void setFaultactor(String value)
          Sets the value of the faultactor property.
 void setFaultcode(QName value)
          Sets the value of the faultcode property.
 void setFaultstring(String value)
          Sets the value of the faultstring property.
 String toString()
           
 Fault withDetail(Detail value)
           
 Fault withFaultactor(String value)
           
 Fault withFaultcode(QName value)
           
 Fault withFaultstring(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

faultcode

protected QName faultcode

faultstring

protected String faultstring

faultactor

protected String faultactor

detail

protected Detail detail
Constructor Detail

Fault

public Fault()
Default no-arg constructor


Fault

public Fault(QName faultcode,
             String faultstring,
             String faultactor,
             Detail detail)
Fully-initialising value constructor

Method Detail

getFaultcode

public QName getFaultcode()
Gets the value of the faultcode property.

Returns:
possible object is QName

setFaultcode

public void setFaultcode(QName value)
Sets the value of the faultcode property.

Parameters:
value - allowed object is QName

getFaultstring

public String getFaultstring()
Gets the value of the faultstring property.

Returns:
possible object is String

setFaultstring

public void setFaultstring(String value)
Sets the value of the faultstring property.

Parameters:
value - allowed object is String

getFaultactor

public String getFaultactor()
Gets the value of the faultactor property.

Returns:
possible object is String

setFaultactor

public void setFaultactor(String value)
Sets the value of the faultactor property.

Parameters:
value - allowed object is String

getDetail

public Detail getDetail()
Gets the value of the detail property.

Returns:
possible object is Detail

setDetail

public void setDetail(Detail value)
Sets the value of the detail property.

Parameters:
value - allowed object is Detail

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

withFaultcode

public Fault withFaultcode(QName value)

withFaultstring

public Fault withFaultstring(String value)

withFaultactor

public Fault withFaultactor(String value)

withDetail

public Fault withDetail(Detail value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.