Package com.ibm.wsdl
Class FaultImpl
- java.lang.Object
-
- com.ibm.wsdl.AbstractWSDLElement
-
- com.ibm.wsdl.FaultImpl
-
- All Implemented Interfaces:
java.io.Serializable,AttributeExtensible,ElementExtensible,Fault,WSDLElement
public class FaultImpl extends AbstractWSDLElement implements Fault
This class represents a fault message, and contains the name of the fault and the message itself.- Author:
- Matthew J. Duftler
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Messagemessageprotected java.lang.Stringnameprotected java.util.ListnativeAttributeNamesstatic longserialVersionUID-
Fields inherited from class com.ibm.wsdl.AbstractWSDLElement
docEl, extElements, extensionAttributes
-
Fields inherited from interface javax.wsdl.extensions.AttributeExtensible
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE
-
-
Constructor Summary
Constructors Constructor Description FaultImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessagegetMessage()java.lang.StringgetName()Get the name of this fault message.java.util.ListgetNativeAttributeNames()Get the list of local attribute names defined for this element in the WSDL specification.voidsetMessage(Message message)voidsetName(java.lang.String name)Set the name of this fault message.java.lang.StringtoString()-
Methods inherited from class com.ibm.wsdl.AbstractWSDLElement
addExtensibilityElement, getDocumentationElement, getExtensibilityElements, getExtensionAttribute, getExtensionAttributes, removeExtensibilityElement, setDocumentationElement, setExtensionAttribute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.wsdl.extensions.AttributeExtensible
getExtensionAttribute, getExtensionAttributes, setExtensionAttribute
-
Methods inherited from interface javax.wsdl.extensions.ElementExtensible
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElement
-
Methods inherited from interface javax.wsdl.WSDLElement
getDocumentationElement, setDocumentationElement
-
-
-
-
Field Detail
-
name
protected java.lang.String name
-
message
protected Message message
-
nativeAttributeNames
protected java.util.List nativeAttributeNames
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
Set the name of this fault message.
-
getName
public java.lang.String getName()
Get the name of this fault message.
-
setMessage
public void setMessage(Message message)
- Specified by:
setMessagein interfaceFault
-
getMessage
public Message getMessage()
- Specified by:
getMessagein interfaceFault
-
getNativeAttributeNames
public java.util.List getNativeAttributeNames()
Get the list of local attribute names defined for this element in the WSDL specification.- Specified by:
getNativeAttributeNamesin interfaceAttributeExtensible- Returns:
- a List of Strings, one for each local attribute name
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractWSDLElement
-
-