Oracle Application Server Web Services UDDI Client API Reference
10g (9.0.4)

Part No. B10396-01

oracle.uddi.message.response
Class ErrInfo

java.lang.Object
  |
  +--oracle.uddi.message.UddiElement
        |
        +--oracle.uddi.message.response.ErrInfo

public class ErrInfo
extends UddiElement

General information:

This class represents an element within the UDDI API schema

Element description:

It maps to errInfo element, which is used in dispositionReport in error reporting.


Field Summary
static java.lang.String ATTR_ERRCODE
           
static java.lang.String E_accountLimitExceeded
           
static java.lang.String E_authTokenExpired
           
static java.lang.String E_authTokenRequired
           
static java.lang.String E_categorizationNotAllowed
           
static java.lang.String E_invalidCategory
           
static java.lang.String E_invalidKeyPassed
           
static java.lang.String E_invalidURLPassed
           
static java.lang.String E_keyRetired
           
static java.lang.String E_operatorMismatch
           
static java.lang.String E_userMismatch
           
static java.lang.String UDDI_TAG
           

 

Constructor Summary
ErrInfo(UddiElementFactory ueFactory)
           

 

Method Summary
 java.lang.String getContent()
           
 java.lang.String getErrCode()
           
 java.lang.String getTagName()
          Returns the local name of the tag of the UDDI Element.
 void init()
          This method is not intended for use by clients of the API.
 void setContent(java.lang.String content)
           
 void setErrCode(java.lang.String errCode)
           

 

Methods inherited from class oracle.uddi.message.UddiElement
getElementName, getElementPrefix, getGeneric, getNamespaceUri, getUddiElementFactory, getVersion, hasEmptyContent, isV1Compatible, isV2Compatible, marshall, unmarshall

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

UDDI_TAG

public static final java.lang.String UDDI_TAG
See Also:
Constant Field Values

ATTR_ERRCODE

public static final java.lang.String ATTR_ERRCODE
See Also:
Constant Field Values

E_authTokenExpired

public static final java.lang.String E_authTokenExpired
See Also:
Constant Field Values

E_authTokenRequired

public static final java.lang.String E_authTokenRequired
See Also:
Constant Field Values

E_keyRetired

public static final java.lang.String E_keyRetired
See Also:
Constant Field Values

E_invalidKeyPassed

public static final java.lang.String E_invalidKeyPassed
See Also:
Constant Field Values

E_invalidURLPassed

public static final java.lang.String E_invalidURLPassed
See Also:
Constant Field Values

E_userMismatch

public static final java.lang.String E_userMismatch
See Also:
Constant Field Values

E_operatorMismatch

public static final java.lang.String E_operatorMismatch
See Also:
Constant Field Values

E_invalidCategory

public static final java.lang.String E_invalidCategory
See Also:
Constant Field Values

E_categorizationNotAllowed

public static final java.lang.String E_categorizationNotAllowed
See Also:
Constant Field Values

E_accountLimitExceeded

public static final java.lang.String E_accountLimitExceeded
See Also:
Constant Field Values
Constructor Detail

ErrInfo

public ErrInfo(UddiElementFactory ueFactory)
Method Detail

init

public void init()
Description copied from class: UddiElement

This method is not intended for use by clients of the API.

Initalizes the element. If the element has been initalized, it re-initalizes the element so that it is as if it is a new object. This method enables object reuse.

Note on re-initalization: Reinitalization is done such that the object will be in the state as if it is a new object. It implies that all sub-elements will be discarded. If the caller wants to re-use sub-elements, it is caller's responsibility to get the sub-elements prior to re-initalization and reassign the optional sub-elements after re-initalization.

For example, A tModel contains an optional sub-element identifierBag. Hence identifierBag will be discarded. If the caller wishes to re-use the identifierBag, the caller has to get the identifierBag, re-initalize it and assign it back as the tModel's identifierBag :

   ...
   IdentifierBag identifierBag = tModel.getIdentifierBag();
   tModel.init();
   identifierBag.init();
   tModel.setIdentifierBag(identifierBag);
   ...


Access to UddiElement and its sub-structure is not guaranteed to be thread-safe.

Every subclass of UddiElement MUST overwrite init(). In the implementation, it should always invoke super.init() and intialize/reinitialize subclass-specific members. The pattern is exactly the same as a Java constructor.

Overrides:
init in class UddiElement

getTagName

public java.lang.String getTagName()
Description copied from class: UddiElement
Returns the local name of the tag of the UDDI Element.
Specified by:
getTagName in class UddiElement

getContent

public java.lang.String getContent()

setContent

public void setContent(java.lang.String content)

getErrCode

public java.lang.String getErrCode()

setErrCode

public void setErrCode(java.lang.String errCode)

Oracle Application Server Web Services UDDI Client API Reference
10g (9.0.4)

Part No. B10396-01

Copyright © 2001, 2003, Oracle. All rights reserved.