com.ibm.commerce.contract.objects
Class ParticipantAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.contract.objects.ParticipantAccessBean
All Implemented Interfaces:
ParticipantAccessBeanData, java.io.Serializable

public class ParticipantAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ParticipantAccessBeanData

This bean provides access to the PARTICIPNT table.

The following is a description of this table:

The trading Participant table.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
ParticipantAccessBean()
          Default constructor.
ParticipantAccessBean(javax.ejb.EJBObject Object)
          Creates an access bean for the specified EJB
ParticipantAccessBean(java.lang.Long tradingId, java.lang.Long tcId, java.lang.Long memberId, java.lang.Integer participantRoleId)
          Constructs an ParticipantAccessBean object with the specified memberId, participantRoleId, and either tradingId or tcId.
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findAllInTCLevel(java.lang.Long tcId)
          Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants that the term and condition has.
 java.util.Enumeration findAllInTradingLevel(java.lang.Long aDAllInTradingLevel)
          Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants that the trading agreement has.
 java.util.Enumeration findAllVisibleInTradingLevel(java.lang.Long tradingId)
          Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants with the specified trading ID, whose participant role is neither Creator nor Seller .
 java.util.Enumeration findByTCAndRole(java.lang.Long tcId, java.lang.Integer participantRoleId)
          Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants with specified term condition ID, and participant role ID.
 ParticipantAccessBean findByTCMemberAndRole(java.lang.Long tcId, java.lang.Long memberId, java.lang.Integer participantRoleId)
          Retrieves the ParticipantAccessBean representing the participant with specified term condition ID, member ID, and participant role ID.
 java.util.Enumeration findByTradingAndRole(java.lang.Long tradingId, java.lang.Integer participantRoleId)
          Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants with specified trading ID, and participant role ID.
 ParticipantAccessBean findByTradingMemberAndRole(java.lang.Long tradingId, java.lang.Long memberId, java.lang.Integer participantRoleId)
          Retrieves the ParticipantAccessBean representing the participant with specified trading ID, member ID, and participant role ID.
 java.util.Enumeration findNonBuyerInTCLevel(java.lang.Long tcId)
          Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants with specified term condition ID.
 java.lang.String getInformation()
          This method provides access to the PARTICIPNT.INFORMATION column of DB2 type LONG NULL.
 java.lang.String getMemberId()
          This method provides access to the PARTICIPNT.MEMBER_ID column of DB2 type BIGINT NULL.
 java.lang.Long getMemberIdInEJBType()
          This method provides access to the PARTICIPNT.MEMBER_ID column of DB2 type BIGINT NULL.
 java.lang.String getParticipantId()
          This method provides access to the PARTICIPNT.PARTICIPNT_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getParticipantIdInEJBType()
          This method provides access to the PARTICIPNT.PARTICIPNT_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getRoleId()
          This method provides access to the PARTICIPNT.PARTROLE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getRoleIdInEJBType()
          This method provides access to the PARTICIPNT.PARTROLE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getTcId()
          This method provides access to the PARTICIPNT.TERMCOND_ID column of DB2 type BIGINT NULL.
 java.lang.Long getTcIdInEJBType()
          This method provides access to the PARTICIPNT.TERMCOND_ID column of DB2 type BIGINT NULL.
 java.lang.String getTimeCreated()
          This method provides access to the PARTICIPNT.TIMECREATED column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getTimeCreatedInEJBType()
          This method provides access to the PARTICIPNT.TIMECREATED column of DB2 type TIMESTAMP NULL.
 java.lang.String getTimeUpdated()
          This method provides access to the PARTICIPNT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getTimeUpdatedInEJBType()
          This method provides access to the PARTICIPNT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 java.lang.String getTradingId()
          This method provides access to the PARTICIPNT.TRADING_ID column of DB2 type BIGINT NULL.
 java.lang.Long getTradingIdInEJBType()
          This method provides access to the PARTICIPNT.TRADING_ID column of DB2 type BIGINT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInformation(java.lang.String aInformation)
          This method provides access to the PARTICIPNT.INFORMATION column of DB2 type LONG NULL.
 void setInitKey_participantId(java.lang.String aInitKey_participantId)
          Set the primary key for this object
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the PARTICIPNT.MEMBER_ID column of DB2 type BIGINT NULL.
 void setMemberId(java.lang.String aMemberId)
          This method provides access to the PARTICIPNT.MEMBER_ID column of DB2 type BIGINT NULL.
 void setParticipantId(java.lang.Long aParticipantId)
          This method provides access to the PARTICIPNT.PARTICIPNT_ID column of DB2 type BIGINT NOT NULL.
 void setParticipantId(java.lang.String aParticipantId)
          This method provides access to the PARTICIPNT.PARTICIPNT_ID column of DB2 type BIGINT NOT NULL.
 void setRoleId(java.lang.Integer aRoleId)
          This method provides access to the PARTICIPNT.PARTROLE_ID column of DB2 type INTEGER NOT NULL.
 void setRoleId(java.lang.String aRoleId)
          This method provides access to the PARTICIPNT.PARTROLE_ID column of DB2 type INTEGER NOT NULL.
 void setTcId(java.lang.Long aTcId)
          This method provides access to the PARTICIPNT.TERMCOND_ID column of DB2 type BIGINT NULL.
 void setTcId(java.lang.String aTcId)
          This method provides access to the PARTICIPNT.TERMCOND_ID column of DB2 type BIGINT NULL.
 void setTimeCreated(java.lang.String aTimeCreated)
          This method provides access to the PARTICIPNT.TIMECREATED column of DB2 type TIMESTAMP NULL.
 void setTimeCreated(java.sql.Timestamp aTimeCreated)
          This method provides access to the PARTICIPNT.TIMECREATED column of DB2 type TIMESTAMP NULL.
 void setTimeUpdated(java.lang.String aTimeUpdated)
          This method provides access to the PARTICIPNT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 void setTimeUpdated(java.sql.Timestamp aTimeUpdated)
          This method provides access to the PARTICIPNT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 void setTradingId(java.lang.Long aTradingId)
          This method provides access to the PARTICIPNT.TRADING_ID column of DB2 type BIGINT NULL.
 void setTradingId(java.lang.String aTradingId)
          This method provides access to the PARTICIPNT.TRADING_ID column of DB2 type BIGINT NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParticipantAccessBean

public ParticipantAccessBean()

Default constructor. Maps to findByPrimaryKey.


ParticipantAccessBean

public ParticipantAccessBean(javax.ejb.EJBObject Object)
                      throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

ParticipantAccessBean

public ParticipantAccessBean(java.lang.Long tradingId,
                             java.lang.Long tcId,
                             java.lang.Long memberId,
                             java.lang.Integer participantRoleId)
                      throws javax.naming.NamingException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             java.rmi.RemoteException

Constructs an ParticipantAccessBean object with the specified memberId, participantRoleId, and either tradingId or tcId.

Parameters:
tradingId - The ID of the trading agreement that the Participant belongs to.
tcId - The ID of the Term and Condition that the Participant belongs to.
memberId - The Member ID of the Participant.
participantRoleId - The Role ID of the Participant.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
Method Detail

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findAllInTCLevel

public java.util.Enumeration findAllInTCLevel(java.lang.Long tcId)
                                       throws java.rmi.RemoteException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants that the term and condition has.

The SQL query used to fetch all the required rows from the PARTICIPNT table is:

select * from participnt T1 where T1.termcond_id = ?

Parameters:
tcId - The ID of the Term and Condition that the Participant belongs to.
Returns:
An Enumeration of all the ParticipantAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findAllInTradingLevel

public java.util.Enumeration findAllInTradingLevel(java.lang.Long aDAllInTradingLevel)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants that the trading agreement has.

The SQL query used to fetch all the required rows from the PARTICIPNT table is:

select * from participnt T1 where T1.trading_id = ? and termcond_id is NULL

Parameters:
tradingId - The ID of the trading agreement that the Participant belongs to.
Returns:
An Enumeration of all the ParticipantAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findAllVisibleInTradingLevel

public java.util.Enumeration findAllVisibleInTradingLevel(java.lang.Long tradingId)
                                                   throws java.rmi.RemoteException,
                                                          javax.ejb.FinderException,
                                                          javax.naming.NamingException

Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants with the specified trading ID, whose participant role is neither Creator nor Seller .

The SQL query used to fetch all the required rows from the PARTICIPNT table is:

select * from participnt T1 where T1.trading_id = ? and termcond_id is NULL and partrole_id not in (0,1)

Parameters:
tradingId - The ID of the trading agreement that the Participant belongs to.
Returns:
An Enumeration of all the ParticipantAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByTCAndRole

public java.util.Enumeration findByTCAndRole(java.lang.Long tcId,
                                             java.lang.Integer participantRoleId)
                                      throws java.rmi.RemoteException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants with specified term condition ID, and participant role ID.

The SQL query used to fetch all the required rows from the PARTICIPNT table is:

select * from participnt T1 where T1.trading_id = ? and termcond_id is NULL and member_id= ? and partrole_id = ?

Parameters:
tcId - The ID of the Term and Condition.
participantRoleId - The Participant role ID.
Returns:
An Enumeration of all the ParticipantAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByTCMemberAndRole

public ParticipantAccessBean findByTCMemberAndRole(java.lang.Long tcId,
                                                   java.lang.Long memberId,
                                                   java.lang.Integer participantRoleId)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Retrieves the ParticipantAccessBean representing the participant with specified term condition ID, member ID, and participant role ID.

The SQL query used to fetch all the required row from the PARTICIPNT table is:

select * from participnt T1 where T1.trading_id = ? and termcond_id is NULL and member_id= ? and partrole_id = ?

Parameters:
tcId - The ID of the Term and Condition that the Participant belongs to.
memberId - The Member ID of the Participant.
participantRoleId - The Role ID of the Participant.
Returns:
The ParticipantAccessBean representing the row that matches the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByTradingAndRole

public java.util.Enumeration findByTradingAndRole(java.lang.Long tradingId,
                                                  java.lang.Integer participantRoleId)
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants with specified trading ID, and participant role ID.

The SQL query used to fetch all the required rows from the PARTICIPNT table is:

select * from participnt T1 where T1.trading_id = ? and partrole_id = ?

Parameters:
tradingId - The ID of the trading agreement that the Participant belongs to.
participantRoleId - The Role ID of the Participant.
Returns:
An Enumeration of all the ParticipantAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByTradingMemberAndRole

public ParticipantAccessBean findByTradingMemberAndRole(java.lang.Long tradingId,
                                                        java.lang.Long memberId,
                                                        java.lang.Integer participantRoleId)
                                                 throws java.rmi.RemoteException,
                                                        javax.ejb.FinderException,
                                                        javax.naming.NamingException

Retrieves the ParticipantAccessBean representing the participant with specified trading ID, member ID, and participant role ID.

The SQL query used to fetch all the required row from the PARTICIPNT table is:

select * from participnt T1 where T1.trading_id = ? and termcond_id is NULL and member_id= ? and partrole_id = ?

Parameters:
tradingId - The ID of the trading agreement that the Participant belongs to.
memberId - The Member ID of the Participant.
participantRoleId - The ID of the participant's role.
Returns:
The ParticipantAccessBean representing the row that matches the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findNonBuyerInTCLevel

public java.util.Enumeration findNonBuyerInTCLevel(java.lang.Long tcId)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants with specified term condition ID.

The SQL query used to fetch all the required rows from the PARTICIPNT table is:

select * from participnt T1 where T1.termcond_id = ? and partrole_id != 2

Parameters:
tcId - The ID of the Term and Condition that the Participant belongs to.
Returns:
The ParticipantAccessBean representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getInformation

public java.lang.String getInformation()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

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.

Specified by:
getInformation in interface ParticipantAccessBeanData
Returns:
The information about the Participant.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMemberId

public java.lang.String getMemberId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

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.

Specified by:
getMemberId in interface ParticipantAccessBeanData
Returns:
The Member ID of the Participant.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMemberIdInEJBType

public java.lang.Long getMemberIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

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.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getParticipantId

public java.lang.String getParticipantId()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

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).

Specified by:
getParticipantId in interface ParticipantAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getParticipantIdInEJBType

public java.lang.Long getParticipantIdInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

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.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRoleId

public java.lang.String getRoleId()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

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.

Specified by:
getRoleId in interface ParticipantAccessBeanData
Returns:
The Participant role ID.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRoleIdInEJBType

public java.lang.Integer getRoleIdInEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

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.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTcId

public java.lang.String getTcId()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException

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

The following is a description of this column:

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

Specified by:
getTcId in interface ParticipantAccessBeanData
Returns:
The ID of the Term and Condition that the Participant belongs to. If null, this is a Trading agreement level participant.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTcIdInEJBType

public java.lang.Long getTcIdInEJBType()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

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

The following is a description of this column:

TermAndConditions 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 which the Participant belongs to.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTimeCreated

public java.lang.String getTimeCreated()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

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

The following is a description of this column:

Time created.

Specified by:
getTimeCreated in interface ParticipantAccessBeanData
Returns:
The time the Participant was created.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTimeCreatedInEJBType

public java.sql.Timestamp getTimeCreatedInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

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.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTimeUpdated

public java.lang.String getTimeUpdated()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

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

The following is a description of this column:

Time updated.

Specified by:
getTimeUpdated in interface ParticipantAccessBeanData
Returns:
The time the Participant was most recently updated.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTimeUpdatedInEJBType

public java.sql.Timestamp getTimeUpdatedInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

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.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTradingId

public java.lang.String getTradingId()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

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.

Specified by:
getTradingId in interface ParticipantAccessBeanData
Returns:
The ID of the Trading Agreement that the Participant belongs to.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTradingIdInEJBType

public java.lang.Long getTradingIdInEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

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 which the Participant belongs to.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setInformation

public void setInformation(java.lang.String aInformation)

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.

Specified by:
setInformation in interface ParticipantAccessBeanData
Parameters:
aInformation - java.lang.String
Returns:
void

setInitKey_participantId

public void setInitKey_participantId(java.lang.String aInitKey_participantId)

Set the primary key for this object

Parameters:
aInitKey_participantId - The ID of the Participant.
Returns:
void

setMemberId

public void setMemberId(java.lang.Long aMemberId)

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:
aMemberId - The Member ID of the Participant.
Returns:
void

setMemberId

public void setMemberId(java.lang.String aMemberId)

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.

Specified by:
setMemberId in interface ParticipantAccessBeanData
Parameters:
aMemberId - The Member ID of the Participant.
Returns:
void

setParticipantId

public void setParticipantId(java.lang.Long aParticipantId)

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:
aParticipantId - The ID of the Participant.
Returns:
void

setParticipantId

public void setParticipantId(java.lang.String aParticipantId)

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).

Specified by:
setParticipantId in interface ParticipantAccessBeanData
Parameters:
aParticipantId - The ID of the Participant.
Returns:
void

setRoleId

public void setRoleId(java.lang.Integer aRoleId)

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:
aRoleId - The Participant role ID.
Returns:
void

setRoleId

public void setRoleId(java.lang.String aRoleId)

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.

Specified by:
setRoleId in interface ParticipantAccessBeanData
Parameters:
aRoleId - The Participant role ID.
Returns:
void

setTcId

public void setTcId(java.lang.Long aTcId)

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

The following is a description of this column:

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

Parameters:
aTcId - The ID of the Term and Condition that the Participant belongs to.
Returns:
void

setTcId

public void setTcId(java.lang.String aTcId)

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

The following is a description of this column:

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

Specified by:
setTcId in interface ParticipantAccessBeanData
Parameters:
aTcId - The ID of the Term and Condition that the Participant belongs to.
Returns:
void

setTimeCreated

public void setTimeCreated(java.lang.String aTimeCreated)

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

The following is a description of this column:

Time created.

Specified by:
setTimeCreated in interface ParticipantAccessBeanData
Parameters:
aTimeCreated - The time the Participant was created.
Returns:
void

setTimeCreated

public void setTimeCreated(java.sql.Timestamp aTimeCreated)

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:
aTimeCreated - The time the Participant was created.
Returns:
void

setTimeUpdated

public void setTimeUpdated(java.lang.String aTimeUpdated)

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

The following is a description of this column:

Time updated.

Specified by:
setTimeUpdated in interface ParticipantAccessBeanData
Parameters:
aTimeUpdated - Time updated.
Returns:
void

setTimeUpdated

public void setTimeUpdated(java.sql.Timestamp aTimeUpdated)

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:
aTimeUpdated - The time the Participant was most recently updated.
Returns:
void

setTradingId

public void setTradingId(java.lang.Long aTradingId)

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:
aTradingId - The ID of the Trading Agreement that the Participant belongs to.
Returns:
void

setTradingId

public void setTradingId(java.lang.String aTradingId)

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.

Specified by:
setTradingId in interface ParticipantAccessBeanData
Parameters:
aTradingId - The ID of the trading agreement that the Participant belongs to
Returns:
void