- java.lang.Object
-
- com.sun.xml.ws.security.soap12.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 FaultcodegetCode()Gets the value of the code property.DetailgetDetail()Gets the value of the detail property.StringgetNode()Gets the value of the node property.FaultreasongetReason()Gets the value of the reason property.StringgetRole()Gets the value of the role property.voidsetCode(Faultcode value)Sets the value of the code property.voidsetDetail(Detail value)Sets the value of the detail property.voidsetNode(String value)Sets the value of the node property.voidsetReason(Faultreason value)Sets the value of the reason property.voidsetRole(String value)Sets the value of the role property.
-
-
-
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
-
-