com.ibm.websphere.wsrf
Class ErrorCode
- java.lang.Object
-
- 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
Constructors Constructor and Description ErrorCode(java.net.URI dialect, IOSerializableSOAPElement[] childElements)
Constructs an ErrorCode with a dialect URI and a child elementErrorCode(java.net.URI dialect, java.lang.String value)
Constructs an ErrorCode with a dialect URI and a primitive value
-
Method Summary
Methods Modifier and Type Method and Description IOSerializableSOAPElement[]
getChildElements()
Returns the child elements of the ErrorCodejava.net.URI
getDialect()
Returns the dialect attribute valuejava.lang.String
getValue()
Returns the value part of the ErrorCode
-
-
-
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 ErrorCodevalue
- 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 ErrorCodechildElements
- 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
-
-