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