org.systinet.uddi.client.v3.struct
Class Find_relatedBusinesses

java.lang.Object
  extended byorg.systinet.uddi.client.base.UDDIObject
      extended byorg.systinet.uddi.client.v3.struct.Find_relatedBusinesses
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class Find_relatedBusinesses
extends UDDIObject
implements java.lang.Cloneable, java.io.Serializable

Represents {urn:uddi-org:api_v3}find_relatedBusinesses type from uddi_v3.xsd (see http://uddi.org/schema/uddi_v3.xsd).

See Also:
Serialized Form

Field Summary
protected  java.lang.String authInfo
          Represents {urn:uddi-org:api_v3}authInfo type from uddi_v3.xsd
protected  java.lang.String businessKey
          Represents {urn:uddi-org:api_v3}businessKey type from uddi_v3.xsd
static int DISC_BUSINESSKEY
          BUSINESSKEY discriminator.
static int DISC_FROMKEY
          FROMKEY discriminator.
static int DISC_TOKEY
          TOKEY discriminator.
protected  StringArrayList findQualifierArrayList
          UDDI list of java.lang.String objects.
protected  java.lang.String fromKey
          Represents {urn:uddi-org:api_v3}fromKey type from uddi_v3.xsd
protected  KeyedReference keyedReference
          Represents {urn:uddi-org:api_v3}keyedReference type from uddi_v3.xsd
protected  java.lang.Integer listHead
          Represents listHead type from uddi_v3.xsd
protected  java.lang.Integer maxRows
          Represents maxRows type from uddi_v3.xsd
protected  java.lang.String toKey
          Represents {urn:uddi-org:api_v3}toKey type from uddi_v3.xsd
 
Constructor Summary
Find_relatedBusinesses()
          Creates Find_relatedBusinesses object.
Find_relatedBusinesses(int disc, java.lang.String String)
          Creates Find_relatedBusinesses object.
Find_relatedBusinesses(int disc, java.lang.String String, java.lang.String authInfo, StringArrayList findQualifierArrayList, KeyedReference keyedReference, java.lang.Integer maxRows, java.lang.Integer listHead)
          Creates Find_relatedBusinesses object.
 
Method Summary
 void addFindQualifier(java.lang.String item)
          Adds a findQualifier to the findQualifierArrayList
 void check()
          Checks this structure.
 java.lang.Object clone()
          Clones this structure.
 boolean equals(java.lang.Object o)
          Indicates whether another object is "equal to" this one.
static Find_relatedBusinesses fromXML(org.w3c.dom.Element element)
          Creates a new instance of org.systinet.uddi.client.v3.struct.Find_relatedBusinesses class from the element with XML representation of this object.
static Find_relatedBusinesses fromXML(java.io.Reader reader)
          Creates a new instance of org.systinet.uddi.client.v3.struct.Find_relatedBusinesses class from the reader with XML representation of this object.
static Find_relatedBusinesses fromXML(java.lang.String string)
          Creates a new instance of org.systinet.uddi.client.v3.struct.Find_relatedBusinesses class from the string with XML representation of this object.
static Find_relatedBusinesses fromXML(org.idoox.xml.Tokenizer tokenizer)
          Creates a new instance of org.systinet.uddi.client.v3.struct.Find_relatedBusinesses class from the reader with XML representation of this object.
static Find_relatedBusinesses fromXML(org.idoox.xml.Tokenizer tokenizer, java.util.Map mapping)
          Creates a new instance of org.systinet.uddi.client.v3.struct.Find_relatedBusinesses class from the reader with XML representation of this object.
 java.lang.String getAuthInfo()
          Returns the authInfo.
 java.lang.String getBusinessKey()
          Returns the businessKey.
 StringArrayList getFindQualifierArrayList()
          Returns the findQualifierArrayList.
 java.lang.String getFromKey()
          Returns the fromKey.
 KeyedReference getKeyedReference()
          Returns the keyedReference.
 java.lang.Integer getListHead()
          Returns the listHead.
 java.lang.Integer getMaxRows()
          Returns the maxRows.
 java.lang.String getToKey()
          Returns the toKey.
 int hashCode()
          Returns a hash code value for the object.
 boolean normalize()
          Normalizes this structure.
 void setAuthInfo(java.lang.String authInfo)
          Sets the authInfo.
 void setBusinessKey(java.lang.String businessKey)
          Sets the businessKey.
 void setFindQualifierArrayList(StringArrayList findQualifierArrayList)
          Sets the findQualifierArrayList.
 void setFromKey(java.lang.String fromKey)
          Sets the fromKey.
 void setKeyedReference(KeyedReference keyedReference)
          Sets the keyedReference.
 void setListHead(java.lang.Integer listHead)
          Sets the listHead.
 void setMaxRows(java.lang.Integer maxRows)
          Sets the maxRows.
 void setToKey(java.lang.String toKey)
          Sets the toKey.
 java.lang.String toXML()
          Returns the XML representation of this object.
 org.w3c.dom.Element toXML(org.w3c.dom.Document document)
          Returns the XML representation of this object.
 void toXML(java.lang.StringBuffer stringBuffer)
          Returns the XML representation of this object.
 void toXML(org.idoox.xml.TokenWriter tokenWriter)
          Returns the XML representation of this object.
 void toXML(org.idoox.xml.TokenWriter tokenWriter, java.util.Map mapping)
          Returns the XML representation of this object.
 void toXML(java.io.Writer writer)
          Returns the XML representation of this object.
 
Methods inherited from class org.systinet.uddi.client.base.UDDIObject
toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DISC_BUSINESSKEY

public static final int DISC_BUSINESSKEY
BUSINESSKEY discriminator.

See Also:
Constant Field Values

DISC_FROMKEY

public static final int DISC_FROMKEY
FROMKEY discriminator.

See Also:
Constant Field Values

DISC_TOKEY

public static final int DISC_TOKEY
TOKEY discriminator.

See Also:
Constant Field Values

authInfo

protected java.lang.String authInfo
Represents {urn:uddi-org:api_v3}authInfo type from uddi_v3.xsd


findQualifierArrayList

protected StringArrayList findQualifierArrayList
UDDI list of java.lang.String objects.


businessKey

protected java.lang.String businessKey
Represents {urn:uddi-org:api_v3}businessKey type from uddi_v3.xsd


fromKey

protected java.lang.String fromKey
Represents {urn:uddi-org:api_v3}fromKey type from uddi_v3.xsd


toKey

protected java.lang.String toKey
Represents {urn:uddi-org:api_v3}toKey type from uddi_v3.xsd


keyedReference

protected KeyedReference keyedReference
Represents {urn:uddi-org:api_v3}keyedReference type from uddi_v3.xsd


maxRows

protected java.lang.Integer maxRows
Represents maxRows type from uddi_v3.xsd


listHead

protected java.lang.Integer listHead
Represents listHead type from uddi_v3.xsd

Constructor Detail

Find_relatedBusinesses

public Find_relatedBusinesses()
Creates Find_relatedBusinesses object.


Find_relatedBusinesses

public Find_relatedBusinesses(int disc,
                              java.lang.String String)
                       throws InvalidParameterException
Creates Find_relatedBusinesses object.


Find_relatedBusinesses

public Find_relatedBusinesses(int disc,
                              java.lang.String String,
                              java.lang.String authInfo,
                              StringArrayList findQualifierArrayList,
                              KeyedReference keyedReference,
                              java.lang.Integer maxRows,
                              java.lang.Integer listHead)
                       throws InvalidParameterException
Creates Find_relatedBusinesses object.

Method Detail

getAuthInfo

public java.lang.String getAuthInfo()
Returns the authInfo.

Returns:
the authInfo

setAuthInfo

public void setAuthInfo(java.lang.String authInfo)
Sets the authInfo.

Parameters:
authInfo - the new authInfo

addFindQualifier

public void addFindQualifier(java.lang.String item)
                      throws InvalidParameterException
Adds a findQualifier to the findQualifierArrayList

Parameters:
item - the new findQualifier.
Throws:
InvalidParameterException

getFindQualifierArrayList

public StringArrayList getFindQualifierArrayList()
Returns the findQualifierArrayList.

Returns:
the findQualifierArrayList

setFindQualifierArrayList

public void setFindQualifierArrayList(StringArrayList findQualifierArrayList)
                               throws InvalidParameterException
Sets the findQualifierArrayList.

Parameters:
findQualifierArrayList - the new findQualifierArrayList
Throws:
InvalidParameterException

getBusinessKey

public java.lang.String getBusinessKey()
Returns the businessKey.

Returns:
the businessKey

setBusinessKey

public void setBusinessKey(java.lang.String businessKey)
                    throws InvalidParameterException
Sets the businessKey.

Parameters:
businessKey - the new businessKey
Throws:
InvalidParameterException

getFromKey

public java.lang.String getFromKey()
Returns the fromKey.

Returns:
the fromKey

setFromKey

public void setFromKey(java.lang.String fromKey)
                throws InvalidParameterException
Sets the fromKey.

Parameters:
fromKey - the new fromKey
Throws:
InvalidParameterException

getToKey

public java.lang.String getToKey()
Returns the toKey.

Returns:
the toKey

setToKey

public void setToKey(java.lang.String toKey)
              throws InvalidParameterException
Sets the toKey.

Parameters:
toKey - the new toKey
Throws:
InvalidParameterException

getKeyedReference

public KeyedReference getKeyedReference()
Returns the keyedReference.

Returns:
the keyedReference

setKeyedReference

public void setKeyedReference(KeyedReference keyedReference)
Sets the keyedReference.

Parameters:
keyedReference - the new keyedReference

getMaxRows

public java.lang.Integer getMaxRows()
Returns the maxRows.

Returns:
the maxRows

setMaxRows

public void setMaxRows(java.lang.Integer maxRows)
Sets the maxRows.

Parameters:
maxRows - the new maxRows

getListHead

public java.lang.Integer getListHead()
Returns the listHead.

Returns:
the listHead

setListHead

public void setListHead(java.lang.Integer listHead)
Sets the listHead.

Parameters:
listHead - the new listHead

toXML

public java.lang.String toXML()
Returns the XML representation of this object.

Overrides:
toXML in class UDDIObject
Returns:
the string with XML representation of this object

toXML

public void toXML(java.lang.StringBuffer stringBuffer)
Returns the XML representation of this object.

Overrides:
toXML in class UDDIObject
Parameters:
stringBuffer - the XML representation of this object will be added to this parameter

toXML

public org.w3c.dom.Element toXML(org.w3c.dom.Document document)
Returns the XML representation of this object.

Overrides:
toXML in class UDDIObject
Parameters:
document - base document
Returns:
the element with the XML representation of this object

toXML

public void toXML(java.io.Writer writer)
Returns the XML representation of this object.

Overrides:
toXML in class UDDIObject
Parameters:
writer - the XML representation of this object will be added to this parameter

toXML

public void toXML(org.idoox.xml.TokenWriter tokenWriter)
Returns the XML representation of this object.

Overrides:
toXML in class UDDIObject
Parameters:
tokenWriter - the XML representation of this object will be added to this parameter

toXML

public void toXML(org.idoox.xml.TokenWriter tokenWriter,
                  java.util.Map mapping)
Returns the XML representation of this object.

Overrides:
toXML in class UDDIObject
Parameters:
tokenWriter - the XML representation of this object will be added to this parameter
mapping -

fromXML

public static Find_relatedBusinesses fromXML(java.lang.String string)
                                      throws InvalidParameterException,
                                             org.idoox.util.WrappedException
Creates a new instance of org.systinet.uddi.client.v3.struct.Find_relatedBusinesses class from the string with XML representation of this object.

Parameters:
string - String with XML representation of this object
Throws:
InvalidParameterException
org.idoox.util.WrappedException

fromXML

public static Find_relatedBusinesses fromXML(org.w3c.dom.Element element)
                                      throws InvalidParameterException,
                                             org.idoox.util.WrappedException
Creates a new instance of org.systinet.uddi.client.v3.struct.Find_relatedBusinesses class from the element with XML representation of this object.

Parameters:
element - Elelemt with XML representation of this object
Throws:
InvalidParameterException
org.idoox.util.WrappedException

fromXML

public static Find_relatedBusinesses fromXML(java.io.Reader reader)
                                      throws InvalidParameterException,
                                             org.idoox.util.WrappedException
Creates a new instance of org.systinet.uddi.client.v3.struct.Find_relatedBusinesses class from the reader with XML representation of this object.

Parameters:
reader - Reader with XML representation of this object
Throws:
InvalidParameterException
org.idoox.util.WrappedException

fromXML

public static Find_relatedBusinesses fromXML(org.idoox.xml.Tokenizer tokenizer)
                                      throws InvalidParameterException,
                                             org.idoox.util.WrappedException
Creates a new instance of org.systinet.uddi.client.v3.struct.Find_relatedBusinesses class from the reader with XML representation of this object.

Parameters:
tokenizer - Tokenizer with XML representation of this object
Throws:
InvalidParameterException
org.idoox.util.WrappedException

fromXML

public static Find_relatedBusinesses fromXML(org.idoox.xml.Tokenizer tokenizer,
                                             java.util.Map mapping)
                                      throws InvalidParameterException,
                                             org.idoox.util.WrappedException
Creates a new instance of org.systinet.uddi.client.v3.struct.Find_relatedBusinesses class from the reader with XML representation of this object.

Parameters:
tokenizer - Tokenizer with XML representation of this object
mapping -
Throws:
InvalidParameterException
org.idoox.util.WrappedException

check

public void check()
           throws InvalidParameterException
Checks this structure.

Overrides:
check in class UDDIObject
Throws:
InvalidParameterException - if the required field is missing.

normalize

public boolean normalize()
Normalizes this structure. It removes not required empty members, arrays, and so on.

Overrides:
normalize in class UDDIObject

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clones this structure. It returns deep copy.

Overrides:
clone in class UDDIObject
Throws:
java.lang.CloneNotSupportedException

equals

public boolean equals(java.lang.Object o)
Indicates whether another object is "equal to" this one.

Parameters:
o - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.

hashCode

public int hashCode()
Returns a hash code value for the object. This method is supported for the benefit of hashtables such as those provided by java.util.Hashtable.

Overrides:
hashCode in class UDDIObject
Returns:
a hash code value for this object.