IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.wsrf
Class ErrorCode

java.lang.Object
  extended by com.ibm.websphere.wsrf.ErrorCode
All Implemented Interfaces:
java.io.Serializable

public class ErrorCode
extends java.lang.Object
implements java.io.Serializable

The ErrorCode class represents an ErrorCode of a BaseFault. The ErrorCode is an optional element in the BaseFault of type xsd:anyType. It has an required attribute of type xsd:anyURI called dialect

See Also:
Serialized Form

Constructor Summary
ErrorCode(java.net.URI dialect, IOSerializableSOAPElement[] childElements)
          Constructs an ErrorCode with a dialect URI and a child element
ErrorCode(java.net.URI dialect, java.lang.String value)
          Constructs an ErrorCode with a dialect URI and a primitive value
 
Method Summary
 IOSerializableSOAPElement[] getChildElements()
          Returns the child elements of the ErrorCode
 java.net.URI getDialect()
          Returns the dialect attribute value
 java.lang.String getValue()
          Returns the value part of the ErrorCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorCode

public ErrorCode(java.net.URI dialect,
                 java.lang.String value)
Constructs an ErrorCode with a dialect URI and a primitive value

Parameters:
dialect - the required attribute value of the ErrorCode
value - the value of the ErrorCode

ErrorCode

public ErrorCode(java.net.URI dialect,
                 IOSerializableSOAPElement[] childElements)
Constructs an ErrorCode with a dialect URI and a child element

Parameters:
dialect - the required attribute value of the ErrorCode
childElements - the child elements of the ErrorCode
Method Detail

getDialect

public java.net.URI getDialect()
Returns the dialect attribute value

Returns:
the dialect attribute value

getValue

public java.lang.String getValue()
Returns the value part of the ErrorCode

Returns:
the value part of the ErrorCode

getChildElements

public IOSerializableSOAPElement[] getChildElements()
Returns the child elements of the ErrorCode

Returns:
the child elements of the ErrorCode

IBM WebSphere Application ServerTM
Release 7