Package org.somda.sdc.dpws.soap.model
Class Fault
java.lang.Object
org.somda.sdc.dpws.soap.model.Fault
- All Implemented Interfaces:
Copyable,PartialCopyable,Cloneable,org.jvnet.jaxb2_commons.lang.ToString2
public class Fault
extends Object
implements Cloneable, Copyable, PartialCopyable, org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classFault.Selector<TRoot extends Selector<TRoot,?>, TParent> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFault()Generated by copy-constructor plugin, JAXB requires public no-arg constructor.Instantiates a Fault copying the state of another FaultFault(Fault _other, PropertyTree _propertyTree, PropertyTreeUse _propertyTreeUse) Instantiates a Fault copying the state of another Fault -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) clone()copyExcept(PropertyTree _propertyTree) Clones this instances partially, the parts to be EXCLUDED will be defined by propertyTreecopyOnly(PropertyTree _propertyTree) Clones this instances partially, the parts to be INCLUDED will be defined by propertyTree, all other parts will be excluded.createCopy(PropertyTree _propertyTree, PropertyTreeUse _propertyTreeUse) Clones this instances partially, the parts will be defined by propertyTreebooleangetCode()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.inthashCode()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.toString()
-
Field Details
-
code
-
reason
-
node
-
role
-
detail
-
-
Constructor Details
-
Fault
public Fault()Generated by copy-constructor plugin, JAXB requires public no-arg constructor. -
Fault
Instantiates a Fault copying the state of another Fault- Parameters:
_other- The original Fault from which to copy state.
-
Fault
Instantiates a Fault copying the state of another Fault- Parameters:
_propertyTreeUse- Meaning of thePropertyPath: Exclude or include members contained in property path._propertyTree- A restrictingPropertyPaththat defines which nodes of the source object tree should actually be copied._other- The original Fault from which to copy state.
-
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
clone
-
createCopy
- Specified by:
createCopyin interfaceCopyable
-
createCopy
Description copied from interface:PartialCopyableClones this instances partially, the parts will be defined by propertyTree- Specified by:
createCopyin interfacePartialCopyable- Parameters:
_propertyTree- Defines which parts of the object tree will be cloned or excluded_propertyTreeUse- Defines how the clone graph will be used: To include or to exclude properties.- Returns:
- A copy of the original object.
-
copyExcept
Description copied from interface:PartialCopyableClones this instances partially, the parts to be EXCLUDED will be defined by propertyTree- Specified by:
copyExceptin interfacePartialCopyable- Parameters:
_propertyTree- Defines which parts of the object tree will be excluded- Returns:
- A copy of the original object.
-
copyOnly
Description copied from interface:PartialCopyableClones this instances partially, the parts to be INCLUDED will be defined by propertyTree, all other parts will be excluded.- Specified by:
copyOnlyin interfacePartialCopyable- Parameters:
_propertyTree- Defines which parts of the object tree will be included in the clone- Returns:
- A copy of the original object.
-