cgl.fthpis.datatype.response
Class SessionInfo

java.lang.Object
  extended bycgl.fthpis.datatype.response.SessionInfo
All Implemented Interfaces:
org.apache.juddi.datatype.RegistryObject, java.io.Serializable

public class SessionInfo
extends java.lang.Object
implements org.apache.juddi.datatype.RegistryObject

"Each sessionInfo structure contains company name and optional description data"

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

Field Summary
(package private)  java.util.Vector nameVector
           
(package private)  java.lang.String sessionKey
           
 
Constructor Summary
SessionInfo()
          default constructor
SessionInfo(SessionInfo bizInfo)
          copy constructor
SessionInfo(java.lang.String key)
           
 
Method Summary
 void addName(org.apache.juddi.datatype.Name name)
          Add a name to this session entity.
 java.util.Vector getNameVector()
          Returns the names of this session entity.
 java.lang.String getSessionKey()
           
 void setNameVector(java.util.Vector names)
          Set the set of names of this session entity to the given set.
 void setSessionKey(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sessionKey

java.lang.String sessionKey

nameVector

java.util.Vector nameVector
Constructor Detail

SessionInfo

public SessionInfo()
default constructor


SessionInfo

public SessionInfo(SessionInfo bizInfo)
copy constructor


SessionInfo

public SessionInfo(java.lang.String key)
Method Detail

setSessionKey

public void setSessionKey(java.lang.String key)

getSessionKey

public java.lang.String getSessionKey()

addName

public void addName(org.apache.juddi.datatype.Name name)
Add a name to this session entity.

Parameters:
name - The Name to add.

setNameVector

public void setNameVector(java.util.Vector names)
Set the set of names of this session entity to the given set.

Parameters:
names - The new set of contacts.

getNameVector

public java.util.Vector getNameVector()
Returns the names of this session entity.

Returns:
The names of thes session entity. If this session entity doesn't have any names, an empty set is returned.