org.w3._2003._05.soap_envelope
Class Fault

java.lang.Object
  extended by org.w3._2003._05.soap_envelope.Fault

public class Fault
extends Object

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="Code" type="{http://www.w3.org/2003/05/soap-envelope}faultcode"/>
         <element name="Reason" type="{http://www.w3.org/2003/05/soap-envelope}faultreason"/>
         <element name="Node" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="Role" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="Detail" type="{http://www.w3.org/2003/05/soap-envelope}detail" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Faultcode code
           
protected  Detail detail
           
protected  String node
           
protected  Faultreason reason
           
protected  String role
           
 
Constructor Summary
Fault()
           
 
Method Summary
 Faultcode getCode()
          Gets the value of the code property.
 Detail getDetail()
          Gets the value of the detail property.
 String getNode()
          Gets the value of the node property.
 Faultreason getReason()
          Gets the value of the reason property.
 String getRole()
          Gets the value of the role property.
 void setCode(Faultcode value)
          Sets the value of the code property.
 void setDetail(Detail value)
          Sets the value of the detail property.
 void setNode(String value)
          Sets the value of the node property.
 void setReason(Faultreason value)
          Sets the value of the reason property.
 void setRole(String value)
          Sets the value of the role property.
 Fault withCode(Faultcode value)
           
 Fault withDetail(Detail value)
           
 Fault withNode(String value)
           
 Fault withReason(Faultreason value)
           
 Fault withRole(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code

protected Faultcode code

reason

protected Faultreason reason

node

protected String node

role

protected String role

detail

protected Detail detail
Constructor Detail

Fault

public Fault()
Method Detail

getCode

public Faultcode getCode()
Gets the value of the code property.

Returns:
possible object is Faultcode

setCode

public void setCode(Faultcode value)
Sets the value of the code property.

Parameters:
value - allowed object is Faultcode

getReason

public Faultreason getReason()
Gets the value of the reason property.

Returns:
possible object is Faultreason

setReason

public void setReason(Faultreason value)
Sets the value of the reason property.

Parameters:
value - allowed object is Faultreason

getNode

public String getNode()
Gets the value of the node property.

Returns:
possible object is String

setNode

public void setNode(String value)
Sets the value of the node property.

Parameters:
value - allowed object is String

getRole

public String getRole()
Gets the value of the role property.

Returns:
possible object is String

setRole

public void setRole(String value)
Sets the value of the role 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

withCode

public Fault withCode(Faultcode value)

withReason

public Fault withReason(Faultreason value)

withNode

public Fault withNode(String value)

withRole

public Fault withRole(String value)

withDetail

public Fault withDetail(Detail value)


Apache Camel