Package org.w3._2003._05.soap_envelope
Class Fault
- java.lang.Object
-
- org.w3._2003._05.soap_envelope.Fault
-
public class Fault extends Object
Fault reporting structureJava 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>
-
-
Constructor Summary
Constructors Constructor Description Fault()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
code
protected Faultcode code
-
reason
protected Faultreason reason
-
node
protected String node
-
role
protected String role
-
detail
protected Detail detail
-
-
Method Detail
-
getCode
public Faultcode getCode()
Gets the value of the code property.- Returns:
- possible object is
Faultcode
-
setCode
public void setCode(Faultcode value)
Sets the value of the code property.- Parameters:
value
- allowed object isFaultcode
-
getReason
public Faultreason getReason()
Gets the value of the reason property.- Returns:
- possible object is
Faultreason
-
setReason
public void setReason(Faultreason value)
Sets the value of the reason property.- Parameters:
value
- allowed object isFaultreason
-
getNode
public String getNode()
Gets the value of the node property.- Returns:
- possible object is
String
-
setNode
public void setNode(String value)
Sets the value of the node property.- Parameters:
value
- allowed object isString
-
getRole
public String getRole()
Gets the value of the role property.- Returns:
- possible object is
String
-
setRole
public void setRole(String value)
Sets the value of the role property.- Parameters:
value
- allowed object isString
-
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 isDetail
-
withReason
public Fault withReason(Faultreason value)
-
-