cgl.fthpis.datatype.request
Class FindContext

java.lang.Object
  extended bycgl.fthpis.datatype.request.FindContext
All Implemented Interfaces:
Inquiry, org.apache.juddi.datatype.RegistryObject, java.io.Serializable

public class FindContext
extends java.lang.Object
implements org.apache.juddi.datatype.RegistryObject, 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)  AuthInfo authInfo
           
(package private)  java.lang.String contextKey
           
(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.util.Vector nameVector
           
(package private)  java.lang.String serviceKey
           
(package private)  java.lang.String sessionKey
           
 
Constructor Summary
FindContext()
           
FindContext(java.lang.String serviceKey)
          Construct a new find_binding request.
 
Method Summary
 void addFindQualifier(org.apache.juddi.datatype.request.FindQualifier findQualifier)
           
 void addName(org.apache.juddi.datatype.Name nameValue)
          Sets the name argument of the search to the given name.
 AuthInfo getAuthInfo()
           
 java.lang.String getContextKey()
          Returns the servicekey of this find_binding request.
 org.apache.juddi.datatype.request.FindQualifiers getFindQualifiers()
           
 java.lang.String getGeneric()
           
 Lease getLease()
          Returns the Lease value
 int getMaxRows()
           
 java.util.Vector getNameVector()
          Returns the name argument of the search.
 java.lang.String getServiceKey()
          Returns the servicekey of this find_binding request.
 java.lang.String getSessionKey()
          Returns the servicekey of this find_binding request.
 void setAuthInfo(AuthInfo authInfo)
           
 void setContextKey(java.lang.String key)
          Sets the servicekey of this find_binding request to the given key.
 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 setNameVector(java.util.Vector names)
          Sets the name argument of the search to the given name.
 void setServiceKey(java.lang.String key)
          Sets the servicekey of this find_binding request to the given key.
 void setSessionKey(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

authInfo

AuthInfo authInfo

contextKey

java.lang.String contextKey

serviceKey

java.lang.String serviceKey

sessionKey

java.lang.String sessionKey

nameVector

java.util.Vector nameVector

lease

Lease lease

findQualifiers

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

generic

java.lang.String generic

maxRows

int maxRows
Constructor Detail

FindContext

public FindContext()

FindContext

public FindContext(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

setContextKey

public void setContextKey(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.

getContextKey

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

Returns:
The servicekey of the referenced businessService.

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.

setSessionKey

public void setSessionKey(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.

getSessionKey

public java.lang.String getSessionKey()
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.

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()

setAuthInfo

public void setAuthInfo(AuthInfo authInfo)

getAuthInfo

public AuthInfo getAuthInfo()

addName

public void addName(org.apache.juddi.datatype.Name nameValue)
Sets the name argument of the search to the given name. This value is a partial name. The serviceList return contains ServiceInfo objects for services whose name matches the value passed (leftmost match).

Parameters:
nameValue - The name argument of the search.

getNameVector

public java.util.Vector getNameVector()
Returns the name argument of the search. Null is returned if the name argument for this search has not been specified.

Returns:
The name argument of the search, or null if the argument has not been specified.

setNameVector

public void setNameVector(java.util.Vector names)
Sets the name argument of the search to the given name. This value is a partial name. The serviceList return contains ServiceInfo objects for services whose name matches the value passed (leftmost match).

Parameters:
names - The name argument of the search.