|
Oracle® Application Server Web Services UDDI Client API Reference 10g Release 2 (10.1.2) Part No. B13971-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.uddi.message.UddiElement
oracle.uddi.message.datatype.business.Address
General information:
This class represents an element within the UDDI API schema
Element description:
It maps to address
element, used by businessEntity to refer to free form address related to a business. Typing and sorting are both done by convention.
Field Summary | |
static java.lang.String |
ATTR_SORTCODE |
static java.lang.String |
ATTR_TMODELKEY |
static java.lang.String |
ATTR_USETYPE |
static java.lang.String |
ELT_ADDRESS_LINE |
static java.lang.String |
UDDI_TAG |
Constructor Summary | |
Address(UddiElementFactory ueFactory) |
Method Summary | |
java.util.List |
getAddressLineList() This method returns a List of Strings which represent the address lines for this address. |
java.util.List |
getAddressLines() This method returns a List of AddressLine objects which represent the address lines for this address, including keyName and keyValue metadata. |
java.lang.String |
getSortCode() |
java.lang.String |
getTagName() Returns the local name of the tag of the UDDI Element. |
java.lang.String |
getTModelKey() |
java.lang.String |
getUseType() |
void |
init() This method is not intended for use by clients of the API. |
void |
setAddressLineList(java.util.List listAddressLineStrings) This method sets a List of Strings which represent the address lines for this address. |
void |
setAddressLines(java.util.List listAddressLine) This method sets a List of AddressLine objects which represent the address lines for this address, including keyName and keyValue metadata. |
void |
setSortCode(java.lang.String sortCode) |
void |
setTModelKey(java.lang.String tModelKey) |
void |
setUseType(java.lang.String useType) |
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 |
public static final java.lang.String UDDI_TAG
public static final java.lang.String ATTR_USETYPE
public static final java.lang.String ATTR_SORTCODE
public static final java.lang.String ATTR_TMODELKEY
public static final java.lang.String ELT_ADDRESS_LINE
Constructor Detail |
public Address(UddiElementFactory ueFactory)
Method Detail |
public void init()
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.
init
in class UddiElement
public java.lang.String getTagName()
UddiElement
getTagName
in class UddiElement
public java.util.List getAddressLines()
public java.util.List getAddressLineList()
public void setAddressLines(java.util.List listAddressLine)
public void setAddressLineList(java.util.List listAddressLineStrings)
public java.lang.String getUseType()
public void setUseType(java.lang.String useType)
public java.lang.String getSortCode()
public void setSortCode(java.lang.String sortCode)
public java.lang.String getTModelKey()
public void setTModelKey(java.lang.String tModelKey)
|
Oracle® Application Server Web Services UDDI Client API Reference 10g Release 2 (10.1.2) Part No. B13971-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |