Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.xmlsoap.schemas.soap.envelope;
  
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>
 
 
 @XmlType(name = "Fault", propOrder = {
     "faultcode",
     "faultstring",
     "faultactor",
     "detail"
 })
 public class Fault {
 
     @XmlElement(required = true)
     protected QName faultcode;
     @XmlElement(required = true)
     protected String faultstring;
     @XmlSchemaType(name = "anyURI")
     protected String faultactor;
     protected Detail detail;

    
Gets the value of the faultcode property.

Returns:
possible object is
 
     public QName getFaultcode() {
         return ;
     }

    
Sets the value of the faultcode property.

Parameters:
value allowed object is
 
     public void setFaultcode(QName value) {
         this. = value;
     }

    
Gets the value of the faultstring property.

Returns:
possible object is
 
     public String getFaultstring() {
         return ;
     }

    
Sets the value of the faultstring property.

Parameters:
value allowed object is
 
     public void setFaultstring(String value) {
        this. = value;
    }

    
Gets the value of the faultactor property.

Returns:
possible object is
    public String getFaultactor() {
        return ;
    }

    
Sets the value of the faultactor property.

Parameters:
value allowed object is
    public void setFaultactor(String value) {
        this. = value;
    }

    
Gets the value of the detail property.

Returns:
possible object is
    public Detail getDetail() {
        return ;
    }

    
Sets the value of the detail property.

Parameters:
value allowed object is
    public void setDetail(Detail value) {
        this. = value;
    }
New to GrepCode? Check out our FAQ X