cgl.fthpis.datatype.request
Class FindSession

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

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

Used to locate information about one or more sessions. Returns a sessionList message that matches the conditions specified.

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

Field Summary
(package private)  AttributeBag attributeBag
           
(package private)  AuthInfo authInfo
           
(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.util.Vector serviceKeyVector
           
 
Constructor Summary
FindSession()
          Constructs a new empty find_business request.
 
Method Summary
 void addAttribute(Attribute attribute)
          Adds an attribute to the attributeBag
 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.
 void addName(org.apache.juddi.datatype.ServiceKey serviceKey)
          Sets the name argument of the search to the given name.
 AttributeBag getAttributeBag()
          Returns the AttributeBag value
 AuthInfo getAuthInfo()
           
 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.util.Vector getServiceKeyVector()
          Returns the name argument of the search.
 void setAttributeBag(AttributeBag bag)
          Sets the AttributeBag value
 void setAuthInfo(AuthInfo authInfo)
           
 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 setServiceKeyVector(java.util.Vector serviceKeyVector)
          Sets the name argument of the search to the given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

authInfo

AuthInfo authInfo

generic

java.lang.String generic

serviceKeyVector

java.util.Vector serviceKeyVector

nameVector

java.util.Vector nameVector

attributeBag

AttributeBag attributeBag

lease

Lease lease

findQualifiers

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

maxRows

int maxRows
Constructor Detail

FindSession

public FindSession()
Constructs a new empty find_business request.

Method Detail

setGeneric

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

getGeneric

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

addName

public void addName(org.apache.juddi.datatype.ServiceKey serviceKey)
Sets the name argument of the search to the given name. This value is a partial name. The businessList return contains BusinessInfo objects for businesses whose name matches the value passed (leftmost match).


setServiceKeyVector

public void setServiceKeyVector(java.util.Vector serviceKeyVector)
Sets the name argument of the search to the given name. This value is a partial name. The businessList return contains BusinessInfo objects for businesses whose name matches the value passed (leftmost match).


getServiceKeyVector

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

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

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 businessList return contains BusinessInfo objects for businesses whose name matches the value passed (leftmost match).

Parameters:
nameValue - The name argument of the search.

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 businessList return contains BusinessInfo objects for businesses whose name matches the value passed (leftmost match).

Parameters:
names - 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 vector of Name argument of the search, or null if the argument has not been specified.

setLease

public void setLease(Lease lease_)
Sets the Lease value


getLease

public Lease getLease()
Returns the Lease value

Returns:
The Lease value

addAttribute

public void addAttribute(Attribute attribute)
Adds an attribute to the attributeBag


setAttributeBag

public void setAttributeBag(AttributeBag bag)
Sets the AttributeBag value

Parameters:
bag - The new AttributeBag

getAttributeBag

public AttributeBag getAttributeBag()
Returns the AttributeBag value

Returns:
The AttributeBag 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()