Package org.w3.soap
Class Fault
- java.lang.Object
-
- org.w3.soap.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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFault.Builder<_B>static classFault.Selectstatic classFault.Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot,?>,TParent>
-
Constructor Summary
Constructors Constructor Description Fault()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Fault.Builder<Void>builder()static Fault.Builder<Void>copyExcept(Fault _other, com.kscs.util.jaxb.PropertyTree _propertyTree)static <_B> Fault.Builder<_B>copyOf(Fault _other)static <_B> Fault.Builder<_B>copyOf(Fault _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)static Fault.Builder<Void>copyOnly(Fault _other, com.kscs.util.jaxb.PropertyTree _propertyTree)<_B> voidcopyTo(Fault.Builder<_B> _other)Copies all state of this object to a builder.<_B> voidcopyTo(Fault.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)Copies all state of this object to a builder.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.Fault.Builder<Void>newCopyBuilder()<_B> Fault.Builder<_B>newCopyBuilder(_B _parentBuilder)<_B> Fault.Builder<_B>newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)Fault.Builder<Void>newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)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
-
setDetail
public void setDetail(Detail value)
Sets the value of the detail property.- Parameters:
value- allowed object isDetail
-
copyTo
public <_B> void copyTo(Fault.Builder<_B> _other)
Copies all state of this object to a builder. This method is used by thecopyOf(org.w3.soap.Fault)method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
public <_B> Fault.Builder<_B> newCopyBuilder(_B _parentBuilder)
-
newCopyBuilder
public Fault.Builder<Void> newCopyBuilder()
-
builder
public static Fault.Builder<Void> builder()
-
copyOf
public static <_B> Fault.Builder<_B> copyOf(Fault _other)
-
copyTo
public <_B> void copyTo(Fault.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
Copies all state of this object to a builder. This method is used by thecopyOf(org.w3.soap.Fault)method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
public <_B> Fault.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
newCopyBuilder
public Fault.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
copyOf
public static <_B> Fault.Builder<_B> copyOf(Fault _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
copyExcept
public static Fault.Builder<Void> copyExcept(Fault _other, com.kscs.util.jaxb.PropertyTree _propertyTree)
-
copyOnly
public static Fault.Builder<Void> copyOnly(Fault _other, com.kscs.util.jaxb.PropertyTree _propertyTree)
-
-