Package com.sun.xml.ws.security.soap12
Class Fault
java.lang.Object
com.sun.xml.ws.security.soap12.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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Gets the value of the code property.Gets the value of the detail property.getNode()Gets the value of the node property.Gets the value of the reason property.getRole()Gets the value of the role property.voidSets the value of the code property.voidSets the value of the detail property.voidSets the value of the node property.voidsetReason(Faultreason value) Sets the value of the reason property.voidSets the value of the role property.
-
Field Details
-
code
-
reason
-
node
-
role
-
detail
-
-
Constructor Details
-
Fault
public Fault()
-
-
Method Details
-
getCode
Gets the value of the code property.- Returns:
- possible object is
Faultcode
-
setCode
Sets the value of the code property.- Parameters:
value- allowed object isFaultcode
-
getReason
Gets the value of the reason property.- Returns:
- possible object is
Faultreason
-
setReason
Sets the value of the reason property.- Parameters:
value- allowed object isFaultreason
-
getNode
Gets the value of the node property.- Returns:
- possible object is
String
-
setNode
Sets the value of the node property.- Parameters:
value- allowed object isString
-
getRole
Gets the value of the role property.- Returns:
- possible object is
String
-
setRole
Sets the value of the role property.- Parameters:
value- allowed object isString
-
getDetail
Gets the value of the detail property.- Returns:
- possible object is
Detail
-
setDetail
Sets the value of the detail property.- Parameters:
value- allowed object isDetail
-