Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.juddi.datatype
Class DiscoveryURL  view DiscoveryURL download DiscoveryURL.java

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

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.


Field Summary
(package private)  java.lang.String urlValue
           
(package private)  java.lang.String useType
           
 
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
 

Field Detail

useType

java.lang.String useType

urlValue

java.lang.String urlValue
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.

Method Detail

setUseType

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


getUseType

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


setValue

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


getValue

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