com.ibm.commerce.negotiation.objects
Class BidPaymentAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.negotiation.objects.BidPaymentAccessBean
All Implemented Interfaces:
BidPaymentAccessBeanData, java.io.Serializable

public class BidPaymentAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements BidPaymentAccessBeanData

This bean provides access to the BIDPAYMENT table.

The following is a description of this table:

This table stores information about bid payments, including information on deposits.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
BidPaymentAccessBean()
          Zero argument constructor used to initialize the access bean.
BidPaymentAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
BidPaymentAccessBean(java.lang.Long bidId)
          Creates an access bean with the specified attributes.
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findAll()
          Retrieves all bid payments.
 java.util.Enumeration findByBid(java.lang.Long bidId)
          Retrieves all bid payments for the specified bid.
 java.util.Enumeration findByCardNumber(java.lang.String cardNumber)
          Retrieves all bid payments with a certain credit card number.
 java.util.Enumeration findByOwner(java.lang.Long ownerId)
          Retrieves all bid payments of all bids owned by the specified owner.
 java.util.Enumeration findByType(int type)
          Retrieves all bid payments of the specified type.
 java.lang.String getBankInfo()
          This method provides access to the BIDPAYMENT.BKNAME column of DB2 type VARCHAR(254) NULL.
 java.lang.String getBidId()
          This method provides access to the BIDPAYMENT.BID_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getBidIdInEJBType()
          This method provides access to the BIDPAYMENT.BID_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getComment()
          This method provides access to the BIDPAYMENT.COMMENTS column of DB2 type VARCHAR(254) NULL.
 java.lang.String getDeviceExpiration()
          This method provides access to the BIDPAYMENT.EXPDATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getDeviceExpirationInEJBType()
          This method provides access to the BIDPAYMENT.EXPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.String getDeviceNumber()
          This method provides access to the BIDPAYMENT.DEVICE column of DB2 type VARCHAR(64) NULL.
 java.lang.String getEncrypted()
          This method provides access to the BIDPAYMENT.ENCRYPT column of DB2 type INTEGER NULL.
 int getEncryptedInEJBType()
          This method provides access to the BIDPAYMENT.ENCRYPT column of DB2 type INTEGER NULL.
 java.lang.String getId()
          This method provides access to the BIDPAYMENT.BIDPAY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getIdInEJBType()
          This method provides access to the BIDPAYMENT.BIDPAY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getPayDeviceType()
          This method provides access to the BIDPAYMENT.PAYTYPE column of DB2 type CHAR(64) NULL.
 java.lang.String getPaymentAmount()
          This method provides access to the BIDPAYMENT.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
 java.math.BigDecimal getPaymentAmountInEJBType()
          This method provides access to the BIDPAYMENT.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
 java.lang.String getPaymentType()
          This method provides access to the BIDPAYMENT.TYPE column of DB2 type INTEGER NULL.
 int getPaymentTypeInEJBType()
          This method provides access to the BIDPAYMENT.TYPE column of DB2 type INTEGER NULL.
 java.lang.String getPayTime()
          This method provides access to the BIDPAYMENT.PAYTIME column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getPayTimeInEJBType()
          This method provides access to the BIDPAYMENT.PAYTIME column of DB2 type TIMESTAMP NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setBankInfo(java.lang.String aBankInfo1)
          This method provides access to the BIDPAYMENT.BKNAME column of DB2 type VARCHAR(254) NULL.
 void setBidId(java.lang.Long aBidId1)
          This method provides access to the BIDPAYMENT.BID_ID column of DB2 type BIGINT NOT NULL.
 void setBidId(java.lang.String aBidId1)
          This method provides access to the BIDPAYMENT.BID_ID column of DB2 type BIGINT NOT NULL.
 void setComment(java.lang.String aComment1)
          This method provides access to the BIDPAYMENT.COMMENTS column of DB2 type VARCHAR(254) NULL.
 void setDeviceExpiration(java.lang.String aDeviceExpiration1)
          This method provides access to the BIDPAYMENT.EXPDATE column of DB2 type TIMESTAMP NULL.
 void setDeviceExpiration(java.sql.Timestamp aDeviceExpiration1)
          This method provides access to the BIDPAYMENT.EXPDATE column of DB2 type TIMESTAMP NULL.
 void setDeviceNumber(java.lang.String aDeviceNumber1)
          This method provides access to the BIDPAYMENT.DEVICE column of DB2 type VARCHAR(64) NULL.
 void setEncrypted(int aEncrypted1)
          This method provides access to the BIDPAYMENT.ENCRYPT column of DB2 type INTEGER NULL.
 void setEncrypted(java.lang.String aEncrypted1)
          This method provides access to the BIDPAYMENT.ENCRYPT column of DB2 type INTEGER NULL.
 void setId(java.lang.Long aId1)
          This method provides access to the BIDPAYMENT.BIDPAY_ID column of DB2 type BIGINT NOT NULL.
 void setId(java.lang.String aId1)
          This method provides access to the BIDPAYMENT.BIDPAY_ID column of DB2 type BIGINT NOT NULL.
 void setInitKey_id(java.lang.Long aInitKey_id1)
          Set the primary key for this object
 void setPayDeviceType(java.lang.String aPayDeviceType1)
          This method provides access to the BIDPAYMENT.PAYTYPE column of DB2 type CHAR(64) NULL.
 void setPaymentAmount(java.math.BigDecimal aPaymentAmount1)
          This method provides access to the BIDPAYMENT.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
 void setPaymentAmount(java.lang.String aPaymentAmount1)
          This method provides access to the BIDPAYMENT.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
 void setPaymentType(int aPaymentType1)
          This method provides access to the BIDPAYMENT.TYPE column of DB2 type INTEGER NULL.
 void setPaymentType(java.lang.String aPaymentType1)
          This method provides access to the BIDPAYMENT.TYPE column of DB2 type INTEGER NULL.
 void setPayTime(java.lang.String aPayTime1)
          This method provides access to the BIDPAYMENT.PAYTIME column of DB2 type TIMESTAMP NULL.
 void setPayTime(java.sql.Timestamp aPayTime1)
          This method provides access to the BIDPAYMENT.PAYTIME column of DB2 type TIMESTAMP 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

BidPaymentAccessBean

public BidPaymentAccessBean()

Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method:

public abstract com.ibm.commerce.negotiation.objects.BidPayment com.ibm.commerce.negotiation.objimpl.BidPaymentHomeBase.findByPrimaryKey(com.ibm.commerce.negotiation.objects.BidPaymentKey) throws java.rmi.RemoteException,javax.ejb.FinderException

The home interface method properties need to be set by calling the following setter methods before calling any business methods:


BidPaymentAccessBean

public BidPaymentAccessBean(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.

BidPaymentAccessBean

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

Creates an access bean with the specified attributes.

Parameters:
bidId - The id of the bid for this payment.
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

findAll

public java.util.Enumeration findAll()
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

Retrieves all bid payments.

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

SELECT * FROM BIDPAYMENT T1 WHERE 1=1

Returns:
An Enumeration of all the BidPaymentAccessBeans representing rows that match the search criteria.

findByBid

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

Retrieves all bid payments for the specified bid.

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

SELECT * FROM BIDPAYMENT T1 WHERE T1.BID_ID=?

Parameters:
bidId - The bid id.
Returns:
An Enumeration of all the BidPaymentAccessBeans representing rows that match the search criteria.

findByCardNumber

public java.util.Enumeration findByCardNumber(java.lang.String cardNumber)
                                       throws java.rmi.RemoteException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

Retrieves all bid payments with a certain credit card number.

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

SELECT * FROM BIDPAYMENT T1 WHERE T1.DEVICE=?

Parameters:
cardNumber - The credit card number.
Returns:
An Enumeration of all the BidPaymentAccessBeans representing rows that match the search criteria.

findByOwner

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

Retrieves all bid payments of all bids owned by the specified owner.

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

SELECT * FROM BIDPAYMENT T1 WHERE T1.BID_ID IN (SELECT T2.BID_ID FROM BID T2 WHERE T2.OWNER_ID=?)

Parameters:
ownerId - The id of the user who submitted the bid.
Returns:
An Enumeration of all the BidPaymentAccessBeans representing rows that match the search criteria.

findByType

public java.util.Enumeration findByType(int type)
                                 throws java.rmi.RemoteException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

Retrieves all bid payments of the specified type.

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

SELECT * FROM BIDPAYMENT T1 WHERE T1.TYPE=?

Parameters:
type - The type of payment. Valid values: 1=deposit, 2=other payment.
Returns:
An Enumeration of all the BidPaymentAccessBeans representing rows that match the search criteria.

getBankInfo

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

This method provides access to the BIDPAYMENT.BKNAME column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Bank name.

Specified by:
getBankInfo in interface BidPaymentAccessBeanData
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

getBidId

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

This method provides access to the BIDPAYMENT.BID_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID of the bid for this payment.

Specified by:
getBidId in interface BidPaymentAccessBeanData
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

getBidIdInEJBType

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

This method provides access to the BIDPAYMENT.BID_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID of the bid for this payment.

Returns:
java.lang.Long
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

getComment

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

This method provides access to the BIDPAYMENT.COMMENTS column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Payment comments.

Specified by:
getComment in interface BidPaymentAccessBeanData
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

getDeviceExpiration

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

This method provides access to the BIDPAYMENT.EXPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Expiration date for the device (credit card expiration date).

Specified by:
getDeviceExpiration in interface BidPaymentAccessBeanData
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

getDeviceExpirationInEJBType

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

This method provides access to the BIDPAYMENT.EXPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Expiration date for the device (credit card expiration date).

Returns:
java.sql.Timestamp
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

getDeviceNumber

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

This method provides access to the BIDPAYMENT.DEVICE column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

The device used to make the payment. For example, credit card number.

Specified by:
getDeviceNumber in interface BidPaymentAccessBeanData
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

getEncrypted

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

This method provides access to the BIDPAYMENT.ENCRYPT column of DB2 type INTEGER NULL.

The following is a description of this column:

Indicates if the device is encrypted or not. Valid values: 0=not encrypted, 1=encrypted.

Specified by:
getEncrypted in interface BidPaymentAccessBeanData
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

getEncryptedInEJBType

public int getEncryptedInEJBType()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

This method provides access to the BIDPAYMENT.ENCRYPT column of DB2 type INTEGER NULL.

The following is a description of this column:

Indicates if the device is encrypted or not. Valid values: 0=not encrypted, 1=encrypted.

Returns:
int
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

getId

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

This method provides access to the BIDPAYMENT.BIDPAY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Bid payment ID. The Primary key to this table.

Specified by:
getId in interface BidPaymentAccessBeanData
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

getIdInEJBType

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

This method provides access to the BIDPAYMENT.BIDPAY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Bid payment ID. The Primary key to this table.

Returns:
java.lang.Long
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

getPayDeviceType

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

This method provides access to the BIDPAYMENT.PAYTYPE column of DB2 type CHAR(64) NULL.

The following is a description of this column:

Device type used for payment. This is set to the PAYTYPE attribute of the associated bid.

Specified by:
getPayDeviceType in interface BidPaymentAccessBeanData
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

getPaymentAmount

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

This method provides access to the BIDPAYMENT.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.

The following is a description of this column:

The amount of the payment.

Specified by:
getPaymentAmount in interface BidPaymentAccessBeanData
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

getPaymentAmountInEJBType

public java.math.BigDecimal getPaymentAmountInEJBType()
                                               throws java.rmi.RemoteException,
                                                      javax.ejb.CreateException,
                                                      javax.ejb.FinderException,
                                                      javax.naming.NamingException

This method provides access to the BIDPAYMENT.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.

The following is a description of this column:

The amount of the payment.

Returns:
java.math.BigDecimal
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

getPaymentType

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

This method provides access to the BIDPAYMENT.TYPE column of DB2 type INTEGER NULL.

The following is a description of this column:

Type of payment. Valid values: 1=deposit, 2=other payment.

Specified by:
getPaymentType in interface BidPaymentAccessBeanData
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

getPaymentTypeInEJBType

public int getPaymentTypeInEJBType()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the BIDPAYMENT.TYPE column of DB2 type INTEGER NULL.

The following is a description of this column:

Type of payment. Valid values: 1=deposit, 2=other payment.

Returns:
int
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

getPayTime

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

This method provides access to the BIDPAYMENT.PAYTIME column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Date and time of the payment.

Specified by:
getPayTime in interface BidPaymentAccessBeanData
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

getPayTimeInEJBType

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

This method provides access to the BIDPAYMENT.PAYTIME column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Date and time of the payment.

Returns:
java.sql.Timestamp
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

setBankInfo

public void setBankInfo(java.lang.String aBankInfo1)

This method provides access to the BIDPAYMENT.BKNAME column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Bank name.

Specified by:
setBankInfo in interface BidPaymentAccessBeanData
Parameters:
aBankInfo1 - java.lang.String
Returns:
void

setBidId

public void setBidId(java.lang.Long aBidId1)

This method provides access to the BIDPAYMENT.BID_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID of the bid for this payment.

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

setBidId

public void setBidId(java.lang.String aBidId1)

This method provides access to the BIDPAYMENT.BID_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID of the bid for this payment.

Specified by:
setBidId in interface BidPaymentAccessBeanData
Parameters:
aBidId1 - java.lang.String
Returns:
void

setComment

public void setComment(java.lang.String aComment1)

This method provides access to the BIDPAYMENT.COMMENTS column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Payment comments.

Specified by:
setComment in interface BidPaymentAccessBeanData
Parameters:
aComment1 - java.lang.String
Returns:
void

setDeviceExpiration

public void setDeviceExpiration(java.lang.String aDeviceExpiration1)

This method provides access to the BIDPAYMENT.EXPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Expiration date for the device (credit card expiration date).

Specified by:
setDeviceExpiration in interface BidPaymentAccessBeanData
Parameters:
aDeviceExpiration1 - java.lang.String
Returns:
void

setDeviceExpiration

public void setDeviceExpiration(java.sql.Timestamp aDeviceExpiration1)

This method provides access to the BIDPAYMENT.EXPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Expiration date for the device (credit card expiration date).

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

setDeviceNumber

public void setDeviceNumber(java.lang.String aDeviceNumber1)

This method provides access to the BIDPAYMENT.DEVICE column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

The device used to make the payment. For example, credit card number.

Specified by:
setDeviceNumber in interface BidPaymentAccessBeanData
Parameters:
aDeviceNumber1 - java.lang.String
Returns:
void

setEncrypted

public void setEncrypted(int aEncrypted1)

This method provides access to the BIDPAYMENT.ENCRYPT column of DB2 type INTEGER NULL.

The following is a description of this column:

Indicates if the device is encrypted or not. Valid values: 0=not encrypted, 1=encrypted.

Parameters:
aEncrypted1 - int
Returns:
void

setEncrypted

public void setEncrypted(java.lang.String aEncrypted1)

This method provides access to the BIDPAYMENT.ENCRYPT column of DB2 type INTEGER NULL.

The following is a description of this column:

Indicates if the device is encrypted or not. Valid values: 0=not encrypted, 1=encrypted.

Specified by:
setEncrypted in interface BidPaymentAccessBeanData
Parameters:
aEncrypted1 - java.lang.String
Returns:
void

setId

public void setId(java.lang.Long aId1)

This method provides access to the BIDPAYMENT.BIDPAY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Bid payment ID. The Primary key to this table.

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

setId

public void setId(java.lang.String aId1)

This method provides access to the BIDPAYMENT.BIDPAY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Bid payment ID. The Primary key to this table.

Specified by:
setId in interface BidPaymentAccessBeanData
Parameters:
aId1 - java.lang.String
Returns:
void

setInitKey_id

public void setInitKey_id(java.lang.Long aInitKey_id1)

Set the primary key for this object

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

setPayDeviceType

public void setPayDeviceType(java.lang.String aPayDeviceType1)

This method provides access to the BIDPAYMENT.PAYTYPE column of DB2 type CHAR(64) NULL.

The following is a description of this column:

Device type used for payment. This is set to the PAYTYPE attribute of the associated bid.

Specified by:
setPayDeviceType in interface BidPaymentAccessBeanData
Parameters:
aPayDeviceType1 - java.lang.String
Returns:
void

setPaymentAmount

public void setPaymentAmount(java.math.BigDecimal aPaymentAmount1)

This method provides access to the BIDPAYMENT.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.

The following is a description of this column:

The amount of the payment.

Parameters:
aPaymentAmount1 - java.math.BigDecimal
Returns:
void

setPaymentAmount

public void setPaymentAmount(java.lang.String aPaymentAmount1)

This method provides access to the BIDPAYMENT.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.

The following is a description of this column:

The amount of the payment.

Specified by:
setPaymentAmount in interface BidPaymentAccessBeanData
Parameters:
aPaymentAmount1 - java.lang.String
Returns:
void

setPaymentType

public void setPaymentType(int aPaymentType1)

This method provides access to the BIDPAYMENT.TYPE column of DB2 type INTEGER NULL.

The following is a description of this column:

Type of payment. Valid values: 1=deposit, 2=other payment.

Parameters:
aPaymentType1 - int
Returns:
void

setPaymentType

public void setPaymentType(java.lang.String aPaymentType1)

This method provides access to the BIDPAYMENT.TYPE column of DB2 type INTEGER NULL.

The following is a description of this column:

Type of payment. Valid values: 1=deposit, 2=other payment.

Specified by:
setPaymentType in interface BidPaymentAccessBeanData
Parameters:
aPaymentType1 - java.lang.String
Returns:
void

setPayTime

public void setPayTime(java.lang.String aPayTime1)

This method provides access to the BIDPAYMENT.PAYTIME column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Date and time of the payment.

Specified by:
setPayTime in interface BidPaymentAccessBeanData
Parameters:
aPayTime1 - java.lang.String
Returns:
void

setPayTime

public void setPayTime(java.sql.Timestamp aPayTime1)

This method provides access to the BIDPAYMENT.PAYTIME column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Date and time of the payment.

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