org.apache.juddi.datatype.request
Class FindBinding

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

public class FindBinding
extends java.lang.Object
implements RegistryObject, Inquiry

"Used to locate specific bindings within a registered businessService. Returns a bindingDetail message."

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

Constructor Summary
FindBinding()
           
FindBinding(java.lang.String serviceKey)
          Construct a new find_binding request.
 
Method Summary
 void addCategory(KeyedReference ref)
          Adds a category reference to the categoryBag argument of this search.
 void addFindQualifier(FindQualifier findQualifier)
           
 void addTModelKey(java.lang.String key)
          Adds a tModel reference to the tModelBag argument of this search.
 CategoryBag getCategoryBag()
          Returns the CategoryBag value
 FindQualifiers getFindQualifiers()
           
 java.lang.String getGeneric()
           
 int getMaxRows()
           
 java.lang.String getServiceKey()
          Returns the servicekey of this find_binding request.
 TModelBag getTModelBag()
          Returns the TModelBag value.
 void setCategoryBag(CategoryBag bag)
          Sets the CategoryBag value
 void setFindQualifiers(FindQualifiers findQualifiers)
           
 void setGeneric(java.lang.String genericValue)
           
 void setMaxRows(int maxRows)
           
 void setMaxRows(java.lang.String maxRows)
           
 void setServiceKey(java.lang.String key)
          Sets the servicekey of this find_binding request to the given key.
 void setTModelBag(TModelBag bag)
          Sets the TModelBag value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindBinding

public FindBinding()

FindBinding

public FindBinding(java.lang.String serviceKey)
Construct a new find_binding request. The bindings searched for must be part of the businessService with the given serviceKey.

Parameters:
serviceKey - The key of the businessService to search in.
Throws:
java.lang.NullPointerException - If the given key is null.
Method Detail

setServiceKey

public void setServiceKey(java.lang.String key)
Sets the servicekey of this find_binding request to the given key. Only bindingTemplates of the referenced businessService are searched.

Parameters:
key - A reference to the businessService.

getServiceKey

public java.lang.String getServiceKey()
Returns the servicekey of this find_binding request. Only bindingTemplates of the reference businessService are searched.

Returns:
The servicekey of the referenced businessService.

setGeneric

public void setGeneric(java.lang.String genericValue)
Parameters:
genericValue -

getGeneric

public java.lang.String getGeneric()
Returns:
String UDDI request's generic value.

addCategory

public void addCategory(KeyedReference ref)
Adds a category reference to the categoryBag argument of this search.

Parameters:
ref - The category reference to add.

setCategoryBag

public void setCategoryBag(CategoryBag bag)
Sets the CategoryBag value

Parameters:
bag - The new CategoryBag

getCategoryBag

public CategoryBag getCategoryBag()
Returns the CategoryBag value

Returns:
The CategoryBag value

addTModelKey

public void addTModelKey(java.lang.String key)
Adds a tModel reference to the tModelBag argument of this search. This tModelBag argument lets you search for bindings that are compatible with a specific tModel pattern.

Parameters:
key - The key of the tModel to add to the tModelBag argument.

setTModelBag

public void setTModelBag(TModelBag bag)
Sets the TModelBag value

Parameters:
bag - The new TModelBag value

getTModelBag

public TModelBag getTModelBag()
Returns the TModelBag value.

Returns:
The current TModelBag value

getMaxRows

public int getMaxRows()

setMaxRows

public void setMaxRows(int maxRows)

setMaxRows

public void setMaxRows(java.lang.String maxRows)

addFindQualifier

public void addFindQualifier(FindQualifier findQualifier)

setFindQualifiers

public void setFindQualifiers(FindQualifiers findQualifiers)

getFindQualifiers

public FindQualifiers getFindQualifiers()


Copyright © 2004-2007. All Rights Reserved.