public class SharedRelationships extends UDDIElement
Element description:
This is a collection element that contains zero or more keyedReference elements. These elements form part of the RelatedBusinessInfo structure. The RelatedBusinessInfo structure is a response message to the find_relatedBusinesses inquiry message. The information in the keyedReference and businessKey elements, for a specific businessEntity (present in relatedBusinessInfo structure), represent complete relationships when they match publisher assertions made by the publisher for each businessEntity.
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.Element |
base |
static java.lang.String |
DIRECTION_FROMKEY |
static java.lang.String |
DIRECTION_TOKEY |
static java.lang.String |
UDDI_TAG |
GENERIC, SOAPNS, XMLNS, XMLNS_PREFIX
Constructor and Description |
---|
SharedRelationships()
Default constructor.
|
SharedRelationships(org.w3c.dom.Element base)
Construct the object from a DOM tree.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDirection() |
java.util.Vector |
getKeyedReferenceVector() |
void |
saveToXML(org.w3c.dom.Element parent)
Save an object to the DOM tree.
|
void |
setDirection(java.lang.String d) |
void |
setKeyedReferenceVector(java.util.Vector keyedReference) |
getChildElementsByTagName, getText
public static final java.lang.String UDDI_TAG
public static final java.lang.String DIRECTION_TOKEY
public static final java.lang.String DIRECTION_FROMKEY
protected org.w3c.dom.Element base
public SharedRelationships()
public SharedRelationships(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 java.util.Vector getKeyedReferenceVector()
public void setKeyedReferenceVector(java.util.Vector keyedReference)
public java.lang.String getDirection()
public void setDirection(java.lang.String d)
public void saveToXML(org.w3c.dom.Element parent)
saveToXML
in class UDDIElement
parent
- 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.