com.ibm.commerce.payment.objects
Class BuyerPurchaseOrderAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.payment.objects.BuyerPurchaseOrderAccessBean
All Implemented Interfaces:
BuyerPurchaseOrderAccessBeanData, java.io.Serializable

public class BuyerPurchaseOrderAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements BuyerPurchaseOrderAccessBeanData

This bean provides access to the BUYERPO table.

The following is a description of this table:

Each row of this table represents a Purchase Order Number that the Buyer organization of the Account has defined or used for Trading with the Seller organization. The number is only unique within the Account.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
BuyerPurchaseOrderAccessBean()
          Default constructor.
BuyerPurchaseOrderAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
BuyerPurchaseOrderAccessBean(java.lang.Long accountId, java.lang.String aPONumber, java.lang.Integer buyerPOType)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
BuyerPurchaseOrderAccessBean(java.lang.Long accountId, java.lang.String aPONumber, java.lang.Integer buyerPOType, java.lang.Integer state, java.math.BigDecimal amount, java.lang.String currency)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 BuyerPurchaseOrderAccessBean findByAccountIdAndPurchaseOrderNumber(java.lang.Long accountId, java.lang.String aPONumber)
          Retrieves the BuyerPurchaseOrder AccessBean with the specified Purchase Order Number that has been registered with the Account.
 java.lang.String getAccountId()
          This method provides access to the BUYERPO.ACCOUNT_ID column of DB2 type BIGINT NULL.
 java.lang.Long getAccountIdInEJBType()
          This method provides access to the BUYERPO.ACCOUNT_ID column of DB2 type BIGINT NULL.
 java.lang.String getAmount()
          This method provides access to the BUYERPO.AMOUNT column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getAmountInEJBType()
          This method provides access to the BUYERPO.AMOUNT column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getBuyerPurchaseOrderId()
          This method provides access to the BUYERPO.BUYERPO_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getBuyerPurchaseOrderIdInEJBType()
          This method provides access to the BUYERPO.BUYERPO_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getBuyerPurchaseOrderTypeId()
          This method provides access to the BUYERPO.BUYERPOTYP_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getBuyerPurchaseOrderTypeIdInEJBType()
          This method provides access to the BUYERPO.BUYERPOTYP_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getCurrency()
          This method provides access to the BUYERPO.SETCCURR column of DB2 type CHAR(3) NULL.
 java.lang.String getPurchaseOrderNumber()
          This method provides access to the BUYERPO.PONUMBER column of DB2 type VARCHAR(128) NOT NULL.
 java.lang.String getState()
          This method provides access to the BUYERPO.STATE column of DB2 type INTEGER NULL.
 java.lang.Integer getStateInEJBType()
          This method provides access to the BUYERPO.STATE column of DB2 type INTEGER NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAccountId(java.lang.Long aAccountId)
          This method provides access to the BUYERPO.ACCOUNT_ID column of DB2 type BIGINT NULL.
 void setAccountId(java.lang.String aAccountId)
          This method provides access to the BUYERPO.ACCOUNT_ID column of DB2 type BIGINT NULL.
 void setAmount(java.math.BigDecimal aAmount)
          This method provides access to the BUYERPO.AMOUNT column of DB2 type DECIMAL(20,5) NULL.
 void setAmount(java.lang.String aAmount)
          This method provides access to the BUYERPO.AMOUNT column of DB2 type DECIMAL(20,5) NULL.
 void setBuyerPurchaseOrderId(java.lang.Long aBuyerPurchaseOrderId)
          This method provides access to the BUYERPO.BUYERPO_ID column of DB2 type BIGINT NOT NULL.
 void setBuyerPurchaseOrderId(java.lang.String aBuyerPurchaseOrderId)
          This method provides access to the BUYERPO.BUYERPO_ID column of DB2 type BIGINT NOT NULL.
 void setBuyerPurchaseOrderTypeId(java.lang.Integer aBuyerPurchaseOrderTypeId)
          This method provides access to the BUYERPO.BUYERPOTYP_ID column of DB2 type INTEGER NOT NULL.
 void setBuyerPurchaseOrderTypeId(java.lang.String aBuyerPurchaseOrderTypeId)
          This method provides access to the BUYERPO.BUYERPOTYP_ID column of DB2 type INTEGER NOT NULL.
 void setCurrency(java.lang.String aCurrency)
          This method provides access to the BUYERPO.SETCCURR column of DB2 type CHAR(3) NULL.
 void setInitKey_buyerPurchaseOrderId(java.lang.String aInitKey_buyerPurchaseOrderId)
          Set the primary key for this object
 void setPurchaseOrderNumber(java.lang.String aPurchaseOrderNumber)
          This method provides access to the BUYERPO.PONUMBER column of DB2 type VARCHAR(128) NOT NULL.
 void setState(java.lang.Integer aState)
          This method provides access to the BUYERPO.STATE column of DB2 type INTEGER NULL.
 void setState(java.lang.String aState)
          This method provides access to the BUYERPO.STATE column of DB2 type INTEGER 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

BuyerPurchaseOrderAccessBean

public BuyerPurchaseOrderAccessBean()

Default constructor. Maps to findByPrimaryKey.


BuyerPurchaseOrderAccessBean

public BuyerPurchaseOrderAccessBean(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

BuyerPurchaseOrderAccessBean

public BuyerPurchaseOrderAccessBean(java.lang.Long accountId,
                                    java.lang.String aPONumber,
                                    java.lang.Integer buyerPOType)
                             throws javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException,
                                    java.rmi.RemoteException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
accountId - The ID of the Account.
aPONumber - The Purchase Order Number.
buyerPOType - An integer representing the type of BuyerPO to be created and registered to the Account.
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
java.rmi.RemoteException - The java.rmi.RemoteException exception

BuyerPurchaseOrderAccessBean

public BuyerPurchaseOrderAccessBean(java.lang.Long accountId,
                                    java.lang.String aPONumber,
                                    java.lang.Integer buyerPOType,
                                    java.lang.Integer state,
                                    java.math.BigDecimal amount,
                                    java.lang.String currency)
                             throws javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException,
                                    java.rmi.RemoteException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
accountId - The ID of the Account.
aPONumber - The Purchase Order Number.
buyerPOType - An integer representing the type of BuyerPO to be created and registered to the Account.
state - The state of the BuyerPO to be created.
amount - The maximum amount that can be purchased with this purchase order.
currency - The amount currency.
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
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
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

findByAccountIdAndPurchaseOrderNumber

public BuyerPurchaseOrderAccessBean findByAccountIdAndPurchaseOrderNumber(java.lang.Long accountId,
                                                                          java.lang.String aPONumber)
                                                                   throws java.rmi.RemoteException,
                                                                          javax.ejb.FinderException,
                                                                          javax.naming.NamingException

Retrieves the BuyerPurchaseOrder AccessBean with the specified Purchase Order Number that has been registered with the Account.

The SQL query used to fetch the requested row from the BUYERPO table is:

SELECT * FROM BUYERPO T1 WHERE T1.ACCOUNT_ID=? AND T1.PONUMBER=?

Parameters:
accountId - The ID of the account.
aPONumber - The purchase order number.
Returns:
com.ibm.commerce.payment.objects.BuyerPurchaseOrderAccessBean
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

getAccountId

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

This method provides access to the BUYERPO.ACCOUNT_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the business account to which the Buyer Purchase Order Number belongs. Foreign key to the ACCOUNT table.

Specified by:
getAccountId in interface BuyerPurchaseOrderAccessBeanData
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

getAccountIdInEJBType

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

This method provides access to the BUYERPO.ACCOUNT_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the business account to which the Buyer Purchase Order Number belongs. Foreign key to the ACCOUNT 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

getAmount

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

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

The following is a description of this column:

Amount for Limited Purchase Order.

Specified by:
getAmount in interface BuyerPurchaseOrderAccessBeanData
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

getAmountInEJBType

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

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

The following is a description of this column:

Amount for Limited Purchase Order.

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

getBuyerPurchaseOrderId

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

This method provides access to the BUYERPO.BUYERPO_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key for this row.

Specified by:
getBuyerPurchaseOrderId in interface BuyerPurchaseOrderAccessBeanData
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

getBuyerPurchaseOrderIdInEJBType

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

This method provides access to the BUYERPO.BUYERPO_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key for this row.

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

getBuyerPurchaseOrderTypeId

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

This method provides access to the BUYERPO.BUYERPOTYP_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Type of the Buyer Purchase Order Number. The types are defined in the BUYERPOTYP table.

Specified by:
getBuyerPurchaseOrderTypeId in interface BuyerPurchaseOrderAccessBeanData
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

getBuyerPurchaseOrderTypeIdInEJBType

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

This method provides access to the BUYERPO.BUYERPOTYP_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Type of the Buyer Purchase Order Number. The types are defined in the BUYERPOTYP table.

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

getCurrency

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

This method provides access to the BUYERPO.SETCCURR column of DB2 type CHAR(3) NULL.

The following is a description of this column:

Currency of the Amount field. Alphabetic currency code as per ISO 4217.

Specified by:
getCurrency in interface BuyerPurchaseOrderAccessBeanData
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

getPurchaseOrderNumber

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

This method provides access to the BUYERPO.PONUMBER column of DB2 type VARCHAR(128) NOT NULL.

The following is a description of this column:

The Buyer Purchase Order Number.

Specified by:
getPurchaseOrderNumber in interface BuyerPurchaseOrderAccessBeanData
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

getState

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

This method provides access to the BUYERPO.STATE column of DB2 type INTEGER NULL.

The following is a description of this column:

State of the Purchase Order Number: 0=Undefined, 1=Active, available for Order, 2=Closed, cannot be used for Order.

Specified by:
getState in interface BuyerPurchaseOrderAccessBeanData
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

getStateInEJBType

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

This method provides access to the BUYERPO.STATE column of DB2 type INTEGER NULL.

The following is a description of this column:

State of the Purchase Order Number: 0=Undefined, 1=Active, available for Order, 2=Closed, cannot be used for Order.

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

setAccountId

public void setAccountId(java.lang.Long aAccountId)

This method provides access to the BUYERPO.ACCOUNT_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the business account to which the Buyer Purchase Order Number belongs. Foreign key to the ACCOUNT table.

Parameters:
aAccountId - java.lang.Long

setAccountId

public void setAccountId(java.lang.String aAccountId)

This method provides access to the BUYERPO.ACCOUNT_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the business account to which the Buyer Purchase Order Number belongs. Foreign key to the ACCOUNT table.

Specified by:
setAccountId in interface BuyerPurchaseOrderAccessBeanData
Parameters:
aAccountId - java.lang.String

setAmount

public void setAmount(java.math.BigDecimal aAmount)

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

The following is a description of this column:

Amount for Limited Purchase Order.

Parameters:
aAmount - java.math.BigDecimal

setAmount

public void setAmount(java.lang.String aAmount)

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

The following is a description of this column:

Amount for Limited Purchase Order.

Specified by:
setAmount in interface BuyerPurchaseOrderAccessBeanData
Parameters:
aAmount - java.lang.String

setBuyerPurchaseOrderId

public void setBuyerPurchaseOrderId(java.lang.Long aBuyerPurchaseOrderId)

This method provides access to the BUYERPO.BUYERPO_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key for this row.

Parameters:
aBuyerPurchaseOrderId - java.lang.Long

setBuyerPurchaseOrderId

public void setBuyerPurchaseOrderId(java.lang.String aBuyerPurchaseOrderId)

This method provides access to the BUYERPO.BUYERPO_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key for this row.

Specified by:
setBuyerPurchaseOrderId in interface BuyerPurchaseOrderAccessBeanData
Parameters:
aBuyerPurchaseOrderId - java.lang.String

setBuyerPurchaseOrderTypeId

public void setBuyerPurchaseOrderTypeId(java.lang.Integer aBuyerPurchaseOrderTypeId)

This method provides access to the BUYERPO.BUYERPOTYP_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Type of the Buyer Purchase Order Number. The types are defined in the BUYERPOTYP table.

Parameters:
aBuyerPurchaseOrderTypeId - java.lang.Integer

setBuyerPurchaseOrderTypeId

public void setBuyerPurchaseOrderTypeId(java.lang.String aBuyerPurchaseOrderTypeId)

This method provides access to the BUYERPO.BUYERPOTYP_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Type of the Buyer Purchase Order Number. The types are defined in the BUYERPOTYP table.

Specified by:
setBuyerPurchaseOrderTypeId in interface BuyerPurchaseOrderAccessBeanData
Parameters:
aBuyerPurchaseOrderTypeId - java.lang.String

setCurrency

public void setCurrency(java.lang.String aCurrency)

This method provides access to the BUYERPO.SETCCURR column of DB2 type CHAR(3) NULL.

The following is a description of this column:

Currency of the Amount field. Alphabetic currency code as per ISO 4217.

Specified by:
setCurrency in interface BuyerPurchaseOrderAccessBeanData
Parameters:
aCurrency - java.lang.String

setInitKey_buyerPurchaseOrderId

public void setInitKey_buyerPurchaseOrderId(java.lang.String aInitKey_buyerPurchaseOrderId)

Set the primary key for this object

Parameters:
aInitKey_buyerPurchaseOrderId - java.lang.String

setPurchaseOrderNumber

public void setPurchaseOrderNumber(java.lang.String aPurchaseOrderNumber)

This method provides access to the BUYERPO.PONUMBER column of DB2 type VARCHAR(128) NOT NULL.

The following is a description of this column:

The Buyer Purchase Order Number.

Specified by:
setPurchaseOrderNumber in interface BuyerPurchaseOrderAccessBeanData
Parameters:
aPurchaseOrderNumber - java.lang.String

setState

public void setState(java.lang.Integer aState)

This method provides access to the BUYERPO.STATE column of DB2 type INTEGER NULL.

The following is a description of this column:

State of the Purchase Order Number: 0=Undefined, 1=Active, available for Order, 2=Closed, cannot be used for Order.

Parameters:
aState - java.lang.Integer

setState

public void setState(java.lang.String aState)

This method provides access to the BUYERPO.STATE column of DB2 type INTEGER NULL.

The following is a description of this column:

State of the Purchase Order Number: 0=Undefined, 1=Active, available for Order, 2=Closed, cannot be used for Order.

Specified by:
setState in interface BuyerPurchaseOrderAccessBeanData
Parameters:
aState - java.lang.String