Class Fault

java.lang.Object
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 Details

  • Constructor Details

    • Fault

      public Fault()
  • Method Details

    • 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)