org.systinet.wasp.management.services.wsdiscovery
Class UddiRegistry

java.lang.Object
  extended byorg.systinet.wasp.management.services.wsdiscovery.UddiRegistry
All Implemented Interfaces:
java.io.Serializable

public class UddiRegistry
extends java.lang.Object
implements java.io.Serializable

A UDDI registry basic info.

Since:
4.0
See Also:
Serialized Form
Component:
WSDiscovery-US

Field Summary
 java.lang.String inquiryUrl
          Inquiry port URL.
 java.lang.String publishingUrl
          Publishing port URL.
 java.lang.String securityUrl
          Security port URL.
 int version
          Version of UDDI registry - 1 or 2.
 java.lang.String webInterfaceUrl
          Web interface URL - irelevant for runtime, but used by users.
 
Constructor Summary
UddiRegistry()
          Default constructor.
UddiRegistry(int version, java.lang.String webInterfaceUrl, java.lang.String inquiryUrl, java.lang.String publishingUrl)
          Constructor.
UddiRegistry(int version, java.lang.String webInterfaceUrl, java.lang.String inquiryUrl, java.lang.String publishingUrl, java.lang.String securityUrl)
          Constructor.
UddiRegistry(java.lang.String name, int version, java.lang.String webInterfaceUrl, java.lang.String inquiryUrl, java.lang.String publishingUrl)
          Constructor.
UddiRegistry(java.lang.String name, int version, java.lang.String webInterfaceUrl, java.lang.String inquiryUrl, java.lang.String publishingUrl, java.lang.String securityUrl)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object anObject)
          Compares this UDDI registry to the specified object.
 java.lang.String getInquiryUrl()
          Getter for field inquiryUrl.
 java.lang.String getName()
          Getter for field name.
 java.lang.String getPublishingUrl()
          Getter for field publishingUrl.
 java.lang.String getSecurityUrl()
          Getter for field securityUrl.
 int getVersion()
          Getter for field version.
 java.lang.String getWebInterfaceUrl()
          Getter for field webInterfaceUrl.
 int hashCode()
          Returns a hash code value for the object.
 void setInquiryUrl(java.lang.String inquiryUrl)
          Setter for field inquiryUrl.
 void setName(java.lang.String name)
          Setter for field name.
 void setPublishingUrl(java.lang.String publishingUrl)
          Setter for field publishingUrl.
 void setSecurityUrl(java.lang.String securityUrl)
          Setter for field securityUrl.
 void setVersion(int version)
          Setter for field version.
 void setWebInterfaceUrl(java.lang.String webInterfaceUrl)
          Setter for field webInterfaceUrl.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

version

public int version
Version of UDDI registry - 1 or 2. Used by check methods.


inquiryUrl

public java.lang.String inquiryUrl
Inquiry port URL.


publishingUrl

public java.lang.String publishingUrl
Publishing port URL.


webInterfaceUrl

public java.lang.String webInterfaceUrl
Web interface URL - irelevant for runtime, but used by users.


securityUrl

public java.lang.String securityUrl
Security port URL.

Constructor Detail

UddiRegistry

public UddiRegistry()
Default constructor.


UddiRegistry

public UddiRegistry(int version,
                    java.lang.String webInterfaceUrl,
                    java.lang.String inquiryUrl,
                    java.lang.String publishingUrl)
Constructor.

Parameters:
version - version of the registry.
webInterfaceUrl - web interface URL.
inquiryUrl - inquiry SOAP interface URL.
publishingUrl - publishing SOAP interface URL

UddiRegistry

public UddiRegistry(int version,
                    java.lang.String webInterfaceUrl,
                    java.lang.String inquiryUrl,
                    java.lang.String publishingUrl,
                    java.lang.String securityUrl)
Constructor.

Parameters:
version - version of the registry.
webInterfaceUrl - web interface URL.
inquiryUrl - inquiry SOAP interface URL.
publishingUrl - publishing SOAP interface URL
securityUrl - security SOAP interface URL

UddiRegistry

public UddiRegistry(java.lang.String name,
                    int version,
                    java.lang.String webInterfaceUrl,
                    java.lang.String inquiryUrl,
                    java.lang.String publishingUrl)
Constructor.

Parameters:
name - registry name.
version - version of the registry.
webInterfaceUrl - web interface URL.
inquiryUrl - inquiry SOAP interface URL.
publishingUrl - publishing SOAP interface URL.
Throws:
WsDiscoveryException - indication that the name is too long.

UddiRegistry

public UddiRegistry(java.lang.String name,
                    int version,
                    java.lang.String webInterfaceUrl,
                    java.lang.String inquiryUrl,
                    java.lang.String publishingUrl,
                    java.lang.String securityUrl)
Constructor.

Parameters:
name - registry name.
version - version of the registry.
webInterfaceUrl - web interface URL.
inquiryUrl - inquiry SOAP interface URL.
publishingUrl - publishing SOAP interface URL.
securityUrl - security SOAP interface URL
Throws:
WsDiscoveryException - indication that the name is too long.
Method Detail

getVersion

public int getVersion()
Getter for field version.

Returns:
Value of field version.

setVersion

public void setVersion(int version)
Setter for field version.

Parameters:
version - New value of field version.

getName

public java.lang.String getName()
Getter for field name.

Returns:
Value of field name.

setName

public void setName(java.lang.String name)
             throws WsDiscoveryException
Setter for field name.

Parameters:
name - New value of field name.
Throws:
WsDiscoveryException

getInquiryUrl

public java.lang.String getInquiryUrl()
Getter for field inquiryUrl.

Returns:
Value of field inquiryUrl.

setInquiryUrl

public void setInquiryUrl(java.lang.String inquiryUrl)
Setter for field inquiryUrl.

Parameters:
inquiryUrl - New value of field inquiryUrl.

getPublishingUrl

public java.lang.String getPublishingUrl()
Getter for field publishingUrl.

Returns:
Value of field publishingUrl.

setPublishingUrl

public void setPublishingUrl(java.lang.String publishingUrl)
Setter for field publishingUrl.

Parameters:
publishingUrl - New value of field publishingUrl.

getWebInterfaceUrl

public java.lang.String getWebInterfaceUrl()
Getter for field webInterfaceUrl.

Returns:
Value of field webInterfaceUrl.

setWebInterfaceUrl

public void setWebInterfaceUrl(java.lang.String webInterfaceUrl)
Setter for field webInterfaceUrl.

Parameters:
webInterfaceUrl - New value of field webInterfaceUrl.

getSecurityUrl

public java.lang.String getSecurityUrl()
Getter for field securityUrl.

Returns:
Value of field securityUrl.

setSecurityUrl

public void setSecurityUrl(java.lang.String securityUrl)
Setter for field securityUrl.

Parameters:
securityUrl - New value of field securityUrl.

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.
Hashcode is formed as follows: hash code of the string inquiryUrl@publishingPort.

Returns:
hash code value for this object.

equals

public boolean equals(java.lang.Object anObject)
Compares this UDDI registry to the specified object. The result is true if and only if the argument is not null and is a UddiRegistry object which has identical endpoints.

Parameters:
anObject - an object.
Returns:
true if objects are the same.

toString

public java.lang.String toString()
Returns a string representation of the object.

Returns:
a string representation of the object.