Class Fault

  • All Implemented Interfaces:
    org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

    public class Fault
    extends Object
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    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 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
      • append

        public StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                    StringBuilder buffer,
                                    org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
      • appendFields

        public StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                          StringBuilder buffer,
                                          org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • withFaultcode

        public Fault withFaultcode​(QName value)
      • withFaultstring

        public Fault withFaultstring​(String value)
      • withFaultactor

        public Fault withFaultactor​(String value)
      • withDetail

        public Fault withDetail​(Detail value)