package org.xmlsoap.schemas.soap.envelope; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.namespace.QName; /** * * Fault reporting structure * * * <p>Java class for Fault complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <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> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @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. * * @return * possible object is * {@link QName } * */ public QName getFaultcode() { return faultcode; } /** * Sets the value of the faultcode property. * * @param value * allowed object is * {@link QName } * */ public void setFaultcode(QName value) { this.faultcode = value; } /** * Gets the value of the faultstring property. * * @return * possible object is * {@link String } * */ public String getFaultstring() { return faultstring; } /** * Sets the value of the faultstring property. * * @param value * allowed object is * {@link String } * */ public void setFaultstring(String value) { this.faultstring = value; } /** * Gets the value of the faultactor property. * * @return * possible object is * {@link String } * */ public String getFaultactor() { return faultactor; } /** * Sets the value of the faultactor property. * * @param value * allowed object is * {@link String } * */ public void setFaultactor(String value) { this.faultactor = value; } /** * Gets the value of the detail property. * * @return * possible object is * {@link Detail } * */ public Detail getDetail() { return detail; } /** * Sets the value of the detail property. * * @param value * allowed object is * {@link Detail } * */ public void setDetail(Detail value) { this.detail = value; } }