org.apache.juddi.datatype
Class DiscoveryURL

java.lang.Object
  extended by org.apache.juddi.datatype.DiscoveryURL
All Implemented Interfaces:
java.io.Serializable, RegistryObject

public class DiscoveryURL
extends java.lang.Object
implements RegistryObject

A businessEntity has a "discoveryURLs" attribute which is a collection of these. Consists of an attribute whose value designates the URL use type convention and a string found within the body of the element. The use type will be "businessEntity" or "businessEntityExt" according to the containing object being saved. Each time a businessEntity object is saved this collection is augmented with the new URL identifying the newly saved object. The useType can be an empty string ("") if the discoveryURL is used in a find_business message.

Author:
Steve Viens (sviens@apache.org)
See Also:
Serialized Form

Constructor Summary
DiscoveryURL()
          Construct a new discoveryURL with null usetype and url values.
DiscoveryURL(java.lang.String type, java.lang.String url)
          Construct a new discoveryURL with the given usetype and url.
 
Method Summary
 java.lang.String getUseType()
          Returns the usetype of this discoveryURL.
 java.lang.String getValue()
          Returns the url of this discoveryURL.
 void setUseType(java.lang.String useType)
          Sets the usetype of this discoveryURL to the given usetype.
 void setValue(java.lang.String url)
          Sets the url of this discoveryURL to the given url.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscoveryURL

public DiscoveryURL()
Construct a new discoveryURL with null usetype and url values.


DiscoveryURL

public DiscoveryURL(java.lang.String type,
                    java.lang.String url)
Construct a new discoveryURL with the given usetype and url.

Parameters:
type - The usetype of this discoveryURL.
url - The url of this discoveryURL
Method Detail

setUseType

public void setUseType(java.lang.String useType)
Sets the usetype of this discoveryURL to the given usetype.

Parameters:
useType - The new usetype of this discoveryURL.

getUseType

public java.lang.String getUseType()
Returns the usetype of this discoveryURL.

Returns:
The usetype of this discoveryURL.

setValue

public void setValue(java.lang.String url)
Sets the url of this discoveryURL to the given url.

Parameters:
url - The new url of this discoveryURL.

getValue

public java.lang.String getValue()
Returns the url of this discoveryURL.

Returns:
The url of this discoveryURL.


Copyright © 2004-2007. All Rights Reserved.