com.ibm.commerce.contract.objimpl
Class ParticipantBeanBase

java.lang.Object
  |
  +--com.ibm.commerce.base.objects.ECEntityBean
        |
        +--com.ibm.commerce.contract.objimpl.ParticipantBeanBase
Direct Known Subclasses:
ParticipantBean

public class ParticipantBeanBase
extends com.ibm.commerce.base.objects.ECEntityBean

This bean provides access to the PARTICIPNT table.

The following is a description of this table:

The trading Participant table.

See Also:
Serialized Form

Field Summary
 java.lang.Long memberId
           
 java.lang.Long participantId
           
 java.lang.Integer roleId
           
 java.lang.Long tcId
           
 java.sql.Timestamp timeCreated
           
 java.sql.Timestamp timeUpdated
           
 java.lang.Long tradingId
           
 
Constructor Summary
ParticipantBeanBase()
           
 
Method Summary
 com.ibm.commerce.contract.objects.ParticipantKey ejbCreate(java.lang.Long argTradingId, java.lang.Long argTCId, java.lang.Long argMemberId, java.lang.Integer argRoleId)
          Constructs an ParticipantAccessBean object with the specified memberId, participantRoleId, and either tradingId or tcId.
 java.lang.String getInformation()
          This method provides access to the PARTICIPNT.INFORMATION column of DB2 type LONG NULL.
 java.lang.Long getMemberId()
          This method provides access to the PARTICIPNT.MEMBER_ID column of DB2 type BIGINT NULL.
 java.lang.Long getParticipantId()
          This method provides access to the PARTICIPNT.PARTICIPNT_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Integer getRoleId()
          This method provides access to the PARTICIPNT.PARTROLE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Long getTcId()
          This method provides access to the PARTICIPNT.TERMCOND_ID column of DB2 type BIGINT NULL.
 java.sql.Timestamp getTimeCreated()
          This method provides access to the PARTICIPNT.TIMECREATED column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getTimeUpdated()
          This method provides access to the PARTICIPNT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 java.lang.Long getTradingId()
          This method provides access to the PARTICIPNT.TRADING_ID column of DB2 type BIGINT NULL.
 void setInformation(java.lang.String newValue)
          This method provides access to the PARTICIPNT.INFORMATION column of DB2 type LONG NULL.
 void setMemberId(java.lang.Long newValue)
          This method provides access to the PARTICIPNT.MEMBER_ID column of DB2 type BIGINT NULL.
 void setParticipantId(java.lang.Long newValue)
          This method provides access to the PARTICIPNT.PARTICIPNT_ID column of DB2 type BIGINT NOT NULL.
 void setRoleId(java.lang.Integer newValue)
          This method provides access to the PARTICIPNT.PARTROLE_ID column of DB2 type INTEGER NOT NULL.
 void setTcId(java.lang.Long newValue)
          This method provides access to the PARTICIPNT.TERMCOND_ID column of DB2 type BIGINT NULL.
 void setTimeCreated(java.sql.Timestamp newValue)
          This method provides access to the PARTICIPNT.TIMECREATED column of DB2 type TIMESTAMP NULL.
 void setTimeUpdated(java.sql.Timestamp newValue)
          This method provides access to the PARTICIPNT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 void setTradingId(java.lang.Long newValue)
          This method provides access to the PARTICIPNT.TRADING_ID column of DB2 type BIGINT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

participantId

public java.lang.Long participantId

memberId

public java.lang.Long memberId

roleId

public java.lang.Integer roleId

tradingId

public java.lang.Long tradingId

tcId

public java.lang.Long tcId

timeCreated

public java.sql.Timestamp timeCreated

timeUpdated

public java.sql.Timestamp timeUpdated
Constructor Detail

ParticipantBeanBase

public ParticipantBeanBase()
Method Detail

ejbCreate

public com.ibm.commerce.contract.objects.ParticipantKey ejbCreate(java.lang.Long argTradingId,
                                                                  java.lang.Long argTCId,
                                                                  java.lang.Long argMemberId,
                                                                  java.lang.Integer argRoleId)
                                                           throws javax.ejb.CreateException,
                                                                  javax.ejb.FinderException,
                                                                  javax.naming.NamingException
Constructs an ParticipantAccessBean object with the specified memberId, participantRoleId, and either tradingId or tcId.
Parameters:
argTradingId - The ID of the trading agreement that the Participant belongs to.
argTCId - The ID of the Term and Condition that the Participant belongs to.
argMemberId - The Member ID of the Participant.
argRoleId - The Role ID of the Participant.
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

getInformation

public java.lang.String getInformation()

This method provides access to the PARTICIPNT.INFORMATION column of DB2 type LONG NULL.

The following is a description of this column:

Information about the participant.

Returns:
The information about the Participant.

getMemberId

public java.lang.Long getMemberId()

This method provides access to the PARTICIPNT.MEMBER_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Member ID for the Participant (UI). If null, imply no restriction.

Returns:
The Member ID of the Participant.

getParticipantId

public java.lang.Long getParticipantId()

This method provides access to the PARTICIPNT.PARTICIPNT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Participant ID (primary key).

Returns:
The ID of the Participant.

getRoleId

public java.lang.Integer getRoleId()

This method provides access to the PARTICIPNT.PARTROLE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Participant role ID.

Returns:
The Participant role ID.

getTcId

public java.lang.Long getTcId()

This method provides access to the PARTICIPNT.TERMCOND_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Term and Conditions ID. If null, this is a Trading agreement level participant. Either TRADING_ID or TERMCOND_ID has to be null.

Returns:
The ID of the Term and Condition that the Participant belongs to. If null, this is a Trading agreement level participant.

getTimeCreated

public java.sql.Timestamp getTimeCreated()

This method provides access to the PARTICIPNT.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time created.

Returns:
The time the Participant was created.

getTimeUpdated

public java.sql.Timestamp getTimeUpdated()

This method provides access to the PARTICIPNT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time updated.

Returns:
The time the Participant was most recently updated.

getTradingId

public java.lang.Long getTradingId()

This method provides access to the PARTICIPNT.TRADING_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Trading agreement ID. If null, this is a terms and conditions level participant. Either TRADING_ID or TERMCOND_ID has to be null.

Returns:
The ID of the Trading Agreement that the Participant belongs to.

setInformation

public void setInformation(java.lang.String newValue)

This method provides access to the PARTICIPNT.INFORMATION column of DB2 type LONG NULL.

The following is a description of this column:

Information about the participant.

Parameters:
newValue - The information about the Participant.

setMemberId

public void setMemberId(java.lang.Long newValue)

This method provides access to the PARTICIPNT.MEMBER_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Member ID for the Participant (UI). If null, imply no restriction.

Parameters:
newValue - The Member ID of the Participant.

setParticipantId

public void setParticipantId(java.lang.Long newValue)

This method provides access to the PARTICIPNT.PARTICIPNT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Participant ID (primary key).

Parameters:
newValue - The ID of the Participant.

setRoleId

public void setRoleId(java.lang.Integer newValue)

This method provides access to the PARTICIPNT.PARTROLE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Participant role ID.

Parameters:
newValue - The Participant role ID.

setTcId

public void setTcId(java.lang.Long newValue)

This method provides access to the PARTICIPNT.TERMCOND_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Term and Conditions ID. If null, this is a Trading agreement level participant. Either TRADING_ID or TERMCOND_ID has to be null.

Parameters:
newValue - The ID of the Term and Condition that the Participant belongs to. If null, this is a Trading agreement level participant.

setTimeCreated

public void setTimeCreated(java.sql.Timestamp newValue)

This method provides access to the PARTICIPNT.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time created.

Parameters:
newValue - The time the Participant was created.

setTimeUpdated

public void setTimeUpdated(java.sql.Timestamp newValue)

This method provides access to the PARTICIPNT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time updated.

Parameters:
newValue - The time the Participant was most recently updated.

setTradingId

public void setTradingId(java.lang.Long newValue)

This method provides access to the PARTICIPNT.TRADING_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Trading agreement ID. If null, this is a terms and conditions level participant. Either TRADING_ID or TERMCOND_ID has to be null.

Parameters:
newValue - The ID of the Trading Agreement that the Participant belongs to.