public class Fault
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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>
| Modifier and Type | Field and Description |
|---|---|
protected Faultcode |
code |
protected Detail |
detail |
protected java.lang.String |
node |
protected Faultreason |
reason |
protected java.lang.String |
role |
| Constructor and Description |
|---|
Fault()
Default no-arg constructor
|
Fault(Faultcode code,
Faultreason reason,
java.lang.String node,
java.lang.String role,
Detail detail)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
Faultcode |
getCode()
Gets the value of the code property.
|
Detail |
getDetail()
Gets the value of the detail property.
|
java.lang.String |
getNode()
Gets the value of the node property.
|
Faultreason |
getReason()
Gets the value of the reason property.
|
java.lang.String |
getRole()
Gets the value of the role property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCode(Faultcode value)
Sets the value of the code property.
|
void |
setDetail(Detail value)
Sets the value of the detail property.
|
void |
setNode(java.lang.String value)
Sets the value of the node property.
|
void |
setReason(Faultreason value)
Sets the value of the reason property.
|
void |
setRole(java.lang.String value)
Sets the value of the role property.
|
java.lang.String |
toString() |
Fault |
withCode(Faultcode value) |
Fault |
withDetail(Detail value) |
Fault |
withNode(java.lang.String value) |
Fault |
withReason(Faultreason value) |
Fault |
withRole(java.lang.String value) |
protected Faultcode code
protected Faultreason reason
protected java.lang.String node
protected java.lang.String role
protected Detail detail
public Fault()
public Fault(Faultcode code, Faultreason reason, java.lang.String node, java.lang.String role, Detail detail)
public Faultcode getCode()
Faultcodepublic void setCode(Faultcode value)
value - allowed object is
Faultcodepublic Faultreason getReason()
Faultreasonpublic void setReason(Faultreason value)
value - allowed object is
Faultreasonpublic java.lang.String getNode()
Stringpublic void setNode(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getRole()
Stringpublic void setRole(java.lang.String value)
value - allowed object is
Stringpublic Detail getDetail()
Detailpublic void setDetail(Detail value)
value - allowed object is
Detailpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class java.lang.Objectpublic Fault withReason(Faultreason value)
public Fault withNode(java.lang.String value)
public Fault withRole(java.lang.String value)
Copyright © 2014 Digipost Open Source. All Rights Reserved.