|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.w3.soap.Fault
public class Fault
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="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>
| Field Summary | |
|---|---|
protected Faultcode |
code
|
protected Detail |
detail
|
protected String |
node
|
protected Faultreason |
reason
|
protected String |
role
|
| Constructor Summary | |
|---|---|
Fault()
Default no-arg constructor |
|
Fault(Faultcode code,
Faultreason reason,
String node,
String role,
Detail detail)
Fully-initialising value constructor |
|
| Method Summary | |
|---|---|
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)
|
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. |
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Faultcode code
protected Faultreason reason
protected String node
protected String role
protected Detail detail
| Constructor Detail |
|---|
public Fault()
public Fault(Faultcode code,
Faultreason reason,
String node,
String role,
Detail detail)
| Method 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 String toString()
toString in class Object
public 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.ToString
public 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 Fault withCode(Faultcode value)
public Fault withReason(Faultreason value)
public Fault withNode(String value)
public Fault withRole(String value)
public Fault withDetail(Detail value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||