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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
FaultImpl
public FaultImpl()
setName
public void setName(java.lang.String name)
- Set the name of this fault message.
- Specified by:
setName
in interface Fault
- Parameters:
name
- the desired name
getName
public java.lang.String getName()
- Get the name of this fault message.
- Specified by:
getName
in interface Fault
- Returns:
- the fault message name
setMessage
public void setMessage(Message message)
- Specified by:
setMessage
in interface Fault
getMessage
public Message getMessage()
- Specified by:
getMessage
in interface Fault
getNativeAttributeNames
public java.util.List getNativeAttributeNames()
- Get the list of local attribute names defined for this element in
the WSDL specification.
- Specified by:
getNativeAttributeNames
in interface AttributeExtensible
- Returns:
- a List of Strings, one for each local attribute name
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractWSDLElement
Copyright ? 2003,2006 IBM. All Rights Reserved.