java.io.Serializablepublic class TModelBag extends UDDIElement
Element description:
A support element used in searches by tModel key values.
| Modifier and Type | Field | Description |
|---|---|---|
protected org.w3c.dom.Element |
base |
|
static java.lang.String |
UDDI_TAG |
GENERIC, SOAPNS, XMLNS, XMLNS_PREFIX| Constructor | Description |
|---|---|
TModelBag() |
Default constructor.
|
TModelBag(java.util.Vector tModelKeyStrings) |
Construct the object with required fields.
|
TModelBag(org.w3c.dom.Element base) |
Construct the object from a DOM tree.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(TModelKey t) |
Add a TModelKey object to the collection
|
TModelKey |
get(int index) |
Retrieve the TModelKey at the specified index within the collection.
|
java.util.Vector |
getTModelKeyStrings() |
Get tModelKey.
|
java.util.Vector |
getTModelKeyVector() |
Get tModelKey.
|
boolean |
remove(TModelKey t) |
Remove a TModelKey object from the collection
|
void |
saveToXML(org.w3c.dom.Element parent) |
Save an object to the DOM tree.
|
void |
setTModelKeyStrings(java.util.Vector s) |
Set tModelKey.
|
void |
setTModelKeyVector(java.util.Vector s) |
Set tModelKey vector.
|
int |
size() |
Return current size of the collection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildElementsByTagName, getTextpublic static final java.lang.String UDDI_TAG
protected org.w3c.dom.Element base
public TModelBag()
public TModelBag(java.util.Vector tModelKeyStrings)
tModelKeyStrings - Vector of TModelKey Strings.public TModelBag(org.w3c.dom.Element base)
throws UDDIException
base - Element with the name appropriate for this class.UDDIException - Thrown if DOM tree contains a SOAP fault
or a disposition report indicating a UDDI error.public void setTModelKeyVector(java.util.Vector s)
s - Vector of TModelKey objects.public void setTModelKeyStrings(java.util.Vector s)
s - Vector of String objects.public java.util.Vector getTModelKeyVector()
public java.util.Vector getTModelKeyStrings()
public void add(TModelKey t)
t - TModelKey to be addedpublic boolean remove(TModelKey t)
t - TModelKey to be removedpublic TModelKey get(int index)
index - Index to retrieve from.public int size()
public void saveToXML(org.w3c.dom.Element parent)
saveToXML in class UDDIElementparent - Object will serialize as a child element under the
passed in parent element.Copyright © 2001 International Business Machines Corporation, Hewlett-Packard Company. All Rights Reserved.