cgl.juddi.datatype.request
Class FindServiceAttribute

java.lang.Object
  |
  +--cgl.juddi.datatype.request.FindServiceAttribute
All Implemented Interfaces:
org.apache.juddi.datatype.request.Inquiry, org.apache.juddi.datatype.RegistryObject, java.io.Serializable

public class FindServiceAttribute
extends java.lang.Object
implements org.apache.juddi.datatype.RegistryObject, org.apache.juddi.datatype.request.Inquiry

"Used to locate specific attribute within a registered businessService. Returns a attributeDetail message."

Author:
Mehmet S. Aktas (maktas@indiana.edu)
See Also:
Serialized Form

Field Summary
(package private)  org.apache.juddi.datatype.CategoryBag categoryBag
           
(package private)  org.apache.juddi.datatype.request.FindQualifiers findQualifiers
           
(package private)  java.lang.String generic
           
(package private)  Lease lease
           
(package private)  int maxRows
           
(package private)  java.lang.String serviceKey
           
 
Constructor Summary
FindServiceAttribute()
           
FindServiceAttribute(java.lang.String serviceKey)
          Construct a new find_binding request.
 
Method Summary
 void addCategory(org.apache.juddi.datatype.KeyedReference ref)
          Adds a category reference to the categoryBag argument of this search.
 void addFindQualifier(org.apache.juddi.datatype.request.FindQualifier findQualifier)
           
 org.apache.juddi.datatype.CategoryBag getCategoryBag()
          Returns the Lease value
 org.apache.juddi.datatype.request.FindQualifiers getFindQualifiers()
           
 java.lang.String getGeneric()
           
 Lease getLease()
          Returns the Lease value
 int getMaxRows()
           
 java.lang.String getServiceKey()
          Returns the servicekey of this find_binding request.
 void setCategoryBag(org.apache.juddi.datatype.CategoryBag bag)
          Sets the CategoryBag value
 void setFindQualifiers(org.apache.juddi.datatype.request.FindQualifiers findQualifiers)
           
 void setGeneric(java.lang.String genericValue)
           
 void setLease(Lease lease)
          Sets the Lease value
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceKey

java.lang.String serviceKey

generic

java.lang.String generic

categoryBag

org.apache.juddi.datatype.CategoryBag categoryBag

lease

Lease lease

findQualifiers

org.apache.juddi.datatype.request.FindQualifiers findQualifiers

maxRows

int maxRows
Constructor Detail

FindServiceAttribute

public FindServiceAttribute()

FindServiceAttribute

public FindServiceAttribute(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(org.apache.juddi.datatype.KeyedReference ref)
Adds a category reference to the categoryBag argument of this search.

Parameters:
ref - The category reference to add.

setCategoryBag

public void setCategoryBag(org.apache.juddi.datatype.CategoryBag bag)
Sets the CategoryBag value

Parameters:
bag - The new CategoryBag

getCategoryBag

public org.apache.juddi.datatype.CategoryBag getCategoryBag()
Returns the Lease value

Returns:
The Lease value

setLease

public void setLease(Lease lease)
Sets the Lease value


getLease

public Lease getLease()
Returns the Lease value

Returns:
The Lease value

getMaxRows

public int getMaxRows()

setMaxRows

public void setMaxRows(int maxRows)

setMaxRows

public void setMaxRows(java.lang.String maxRows)

addFindQualifier

public void addFindQualifier(org.apache.juddi.datatype.request.FindQualifier findQualifier)

setFindQualifiers

public void setFindQualifiers(org.apache.juddi.datatype.request.FindQualifiers findQualifiers)

getFindQualifiers

public org.apache.juddi.datatype.request.FindQualifiers getFindQualifiers()