com.ibm.commerce.pvcdevices.objects
Class PVCSessionBean

com.ibm.commerce.pvcdevices.objects.PVCSessionBean
All Implemented Interfaces:
java.io.Serializable

public class PVCSessionBean
implements java.io.Serializable

This bean provides access to the PVCSESSION table.

The following is a description of this table:

This table manages the session of various pervasive computing (PvC) devices.

See Also:
Serialized Form

Constructor Summary
PVCSessionBean()
           Default Constructor
 
Method Summary
 java.lang.Long getGuestId()
          This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT NULL.
 java.sql.Timestamp getLastVisted()
          This method provides access to the PVCSESSION.LASTVISITED column of DB2 type TIMESTAMP NOT NULL.
 java.lang.Long getPVCSessionId()
          This method provides access to the PVCSESSION.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getRegisterId()
          This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT NULL.
 java.lang.String getSessionType()
          This method provides access to the PVCSESSION.SESSIONTYPE column of DB2 type VARCHAR(32) NOT NULL.
 java.lang.Integer getStatus()
          This method provides access to the PVCSESSION.STATUS
 java.lang.String getTerminalId()
          This method provides access to the PVCSESSION.TERMINAL column of DB2 type VARCHAR(254) NOT NULL.
 void setGuestId(java.lang.Long aGuestId)
          This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT NULL.
 void setLastVisted(java.sql.Timestamp aLastVisted)
          This method provides access to the PVCSESSION.LASTVISITED column of DB2 type TIMESTAMP NOT NULL.
 void setPVCSessionId(java.lang.Long aPVCSessionId)
          This method provides access to the PVCSESSION.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.
 void setRegisterId(java.lang.Long aRegisterId)
          This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT NULL.
 void setSessionType(java.lang.String aSessionType)
          This method provides access to the PVCSESSION.SESSIONTYPE column of DB2 type VARCHAR(32) NOT NULL.
 void setStatus(java.lang.Integer aStatus)
          This method provides access to the PVCSESSION.STATUS
 void setTerminalId(java.lang.String aTerminalId)
          This method provides access to the PVCSESSION.TERMINAL column of DB2 type VARCHAR(254) NOT NULL.
 

Constructor Detail

PVCSessionBean

public PVCSessionBean()

Default Constructor

Method Detail

getGuestId

public java.lang.Long getGuestId()

This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Reference number of a guest customer. When value of status is 1, this column is set to NULL.

Returns:
java.lang.Long

getLastVisted

public java.sql.Timestamp getLastVisted()

This method provides access to the PVCSESSION.LASTVISITED column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

Last visited time. Will be updated on command execution while status is 1.

Returns:
java.sql.Timestamp

getPVCSessionId

public java.lang.Long getPVCSessionId()

This method provides access to the PVCSESSION.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reference number of this record.

Returns:
java.lang.Long

getRegisterId

public java.lang.Long getRegisterId()

This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Reference number of a customer who is logging in. Or reference number of a customer who was previously logged in. This column is NULL if the PVC customer has not registered by way of a registration command.

Returns:
java.lang.Long

getSessionType

public java.lang.String getSessionType()

This method provides access to the PVCSESSION.SESSIONTYPE column of DB2 type VARCHAR(32) NOT NULL.

The following is a description of this column:

This column identifies the type of PvC device. This could either be IMODE or WAP.

Returns:
java.lang.String

getStatus

public java.lang.Integer getStatus()

This method provides access to the PVCSESSION.STATUS

Returns:
java.lang.Integer

getTerminalId

public java.lang.String getTerminalId()

This method provides access to the PVCSESSION.TERMINAL column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The terminal identifier related to this session. CONSTRAINT unique_session_devic UNIQUE(SESSION_TYPE, TERMINAL).

Returns:
java.lang.String

setGuestId

public void setGuestId(java.lang.Long aGuestId)

This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Reference number of a guest customer. When value of status is 1, this column is set to NULL.

Parameters:
aGuestId - java.lang.Long
Returns:
void

setLastVisted

public void setLastVisted(java.sql.Timestamp aLastVisted)

This method provides access to the PVCSESSION.LASTVISITED column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

Last visited time. Will be updated on command execution while status is 1.

Parameters:
aLastVisted - java.sql.Timestamp
Returns:
void

setPVCSessionId

public void setPVCSessionId(java.lang.Long aPVCSessionId)

This method provides access to the PVCSESSION.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reference number of this record.

Parameters:
aPVCSessionId - java.lang.Long
Returns:
void

setRegisterId

public void setRegisterId(java.lang.Long aRegisterId)

This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Reference number of a customer who is logging in. Or reference number of a customer who was previously logged in. This column is NULL if the PVC customer has not registered by way of a registration command.

Parameters:
aRegisterId - java.lang.Long
Returns:
void

setSessionType

public void setSessionType(java.lang.String aSessionType)

This method provides access to the PVCSESSION.SESSIONTYPE column of DB2 type VARCHAR(32) NOT NULL.

The following is a description of this column:

This column identifies the type of PvC device. This could either be IMODE or WAP.

Parameters:
aSessionType - java.lang.String
Returns:
void

setStatus

public void setStatus(java.lang.Integer aStatus)

This method provides access to the PVCSESSION.STATUS

Parameters:
aStatus - java.lang.Integer
Returns:
void

setTerminalId

public void setTerminalId(java.lang.String aTerminalId)

This method provides access to the PVCSESSION.TERMINAL column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The terminal identifier related to this session. CONSTRAINT unique_session_devic UNIQUE(SESSION_TYPE, TERMINAL).

Parameters:
aTerminalId - java.lang.String
Returns:
void