Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKDatastoreSession

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.DKDatastoreSession
All Implemented Interfaces:
java.io.Serializable

public class DKDatastoreSession
extends java.lang.Object
implements java.io.Serializable

This class contains datastore with assigned session Id to support the datastore pool.

See Also:
Serialized Form

Constructor Summary
DKDatastoreSession()
          Default constructor
DKDatastoreSession(dkDatastore aDs, int aSessionId)
          Constructs new DKDatastoreSession object with datastore and session Id
 
Method Summary
 dkDatastore getDatastore()
          Gets the datastore object
 int getId()
          Gets the session Id of the datastore
 void setDatastore(dkDatastore aDs)
          Sets the datastore object
 void setId(int aSessionId)
          Sets the session Id for the datastore
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKDatastoreSession

public DKDatastoreSession()
Default constructor

DKDatastoreSession

public DKDatastoreSession(dkDatastore aDs,
                          int aSessionId)
Constructs new DKDatastoreSession object with datastore and session Id
Parameters:
aDs - a datastore
aSessionId - a session Id assigned to the datastore
Method Detail

setId

public void setId(int aSessionId)
Sets the session Id for the datastore
Parameters:
aSessionId - a session Id

getId

public int getId()
Gets the session Id of the datastore
Parameters:
aSessionId - a session Id

setDatastore

public void setDatastore(dkDatastore aDs)
Sets the datastore object
Parameters:
ds - a dkDatastore

getDatastore

public dkDatastore getDatastore()
Gets the datastore object

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.