public class Fault extends Object
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() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 Faultcode getCode()
Faultcode
public void setCode(Faultcode value)
value
- allowed object is
Faultcode
public Faultreason getReason()
Faultreason
public void setReason(Faultreason value)
value
- allowed object is
Faultreason
public String getNode()
String
public void setNode(String value)
value
- allowed object is
String
public String getRole()
String
public void setRole(String value)
value
- allowed object is
String
public Detail getDetail()
Detail
public void setDetail(Detail value)
value
- allowed object is
Detail
public Fault withReason(Faultreason value)
Apache Camel