com.ibm.commerce.order.objects
Class OrderPaymentInfoAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.order.objects.OrderPaymentInfoAccessBean
All Implemented Interfaces:
OrderPaymentInfoAccessBeanData

public class OrderPaymentInfoAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OrderPaymentInfoAccessBeanData

Each row in this table holds a name-value pair representing payment information for a particular Order. Values added to this table are encrypted when the &quo

See Also:
Serialized Form

Constructor Summary
OrderPaymentInfoAccessBean()
          constructor
OrderPaymentInfoAccessBean(javax.ejb.EJBObject o)
          constructor
OrderPaymentInfoAccessBean(java.lang.Long arg0, java.lang.String arg1, java.lang.String arg2, boolean arg3)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByOrder(java.lang.Long arg0)           Retrieves all the name-value pairs representing payment information for specified order. The SQL query used to fetch all the required rows from the ORDPAYINFO table is:
SELECT * FROM ORDPAYINFO T1 WHERE (T1.ORDERS_ID = ?)
 java.lang.String getOrderId()
          This method provides access to the ORDPAYINFO.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrderIdInEJBType()
          This method provides access to the ORDPAYINFO.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getOrderPaymentInfoId()
          This method provides access to the ORDPAYINFO.ORDPAYINFO_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrderPaymentInfoIdInEJBType()
          This method provides access to the ORDPAYINFO.ORDPAYINFO_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getPaymentPairName()
          This method provides access to the ORDPAYINFO.NAME column of DB2 type CHAR(64) NOT NULL.
 java.lang.String getPaymentPairValue()
          This method provides access to the ORDPAYINFO.VALUE column of DB2 type VARCHAR(254) NOT NULL.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_orderPaymentInfoId(java.lang.String newValue)
          Set the primary key for this object
 void setOrderId(java.lang.Long newValue)
          This method provides access to the ORDPAYINFO.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void setOrderId(java.lang.String newValue)
          This method provides access to the ORDPAYINFO.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void setPaymentPairName(java.lang.String newValue)
          This method provides access to the ORDPAYINFO.NAME column of DB2 type CHAR(64) NOT NULL.
 void setPaymentPairValue(java.lang.String arg0, boolean arg1)
          This method provides access to the ORDPAYINFO.VALUE column of DB2 type VARCHAR(254) NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderPaymentInfoAccessBean

public OrderPaymentInfoAccessBean()
constructor

OrderPaymentInfoAccessBean

public OrderPaymentInfoAccessBean(javax.ejb.EJBObject o)
                           throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

OrderPaymentInfoAccessBean

public OrderPaymentInfoAccessBean(java.lang.Long arg0,
                                  java.lang.String arg1,
                                  java.lang.String arg2,
                                  boolean arg3)
                           throws javax.naming.NamingException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  java.rmi.RemoteException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
arg2 - java.lang.String
arg3 - boolean
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
Method Detail

findByOrder

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

Retrieves all the name-value pairs representing payment information for specified order.
The SQL query used to fetch all the required rows from the ORDPAYINFO table is: SELECT * FROM ORDPAYINFO T1 WHERE (T1.ORDERS_ID = ?)

Returns:
java.util.Enumeration An Enumeration of all the OrderPaymentInfoAccessBean objects 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

setInitKey_orderPaymentInfoId

public void setInitKey_orderPaymentInfoId(java.lang.String newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

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

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

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

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOrderPaymentInfoId

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

This method provides access to the ORDPAYINFO.ORDPAYINFO_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
getOrderPaymentInfoId in interface OrderPaymentInfoAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOrderPaymentInfoIdInEJBType

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

This method provides access to the ORDPAYINFO.ORDPAYINFO_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPaymentPairValue

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

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

The following is a description of this column:

The name-value pair value. If the first character of the value is a space, then the value has been encrypted.

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

getOrderId

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

This method provides access to the ORDPAYINFO.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Order.

Specified by:
getOrderId in interface OrderPaymentInfoAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOrderIdInEJBType

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

This method provides access to the ORDPAYINFO.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Order.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOrderId

public void setOrderId(java.lang.String newValue)

This method provides access to the ORDPAYINFO.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Order.

Specified by:
setOrderId in interface OrderPaymentInfoAccessBeanData
Parameters:
newValue - String
Returns:
void

setOrderId

public void setOrderId(java.lang.Long newValue)

This method provides access to the ORDPAYINFO.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Order.

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

getPaymentPairName

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

This method provides access to the ORDPAYINFO.NAME column of DB2 type CHAR(64) NOT NULL.

The following is a description of this column:

The name-value pair name.

Specified by:
getPaymentPairName in interface OrderPaymentInfoAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPaymentPairName

public void setPaymentPairName(java.lang.String newValue)

This method provides access to the ORDPAYINFO.NAME column of DB2 type CHAR(64) NOT NULL.

The following is a description of this column:

The name-value pair name.

Specified by:
setPaymentPairName in interface OrderPaymentInfoAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

setPaymentPairValue

public void setPaymentPairValue(java.lang.String arg0,
                                boolean arg1)
                         throws java.rmi.RemoteException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException

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

The following is a description of this column:

The name-value pair value. If the first character of the value is a space, then the value has been encrypted.

Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException
javax.naming.NamingException