java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.payment.objects.BuyerPurchaseOrderAccessBean
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.
Constructor Summary | |
---|---|
BuyerPurchaseOrderAccessBean() constructor | |
BuyerPurchaseOrderAccessBean(javax.ejb.EJBObject o) constructor | |
BuyerPurchaseOrderAccessBean(java.lang.Long arg0,
java.lang.String arg1, java.lang.Integer arg2) constructor | |
BuyerPurchaseOrderAccessBean(java.lang.Long arg0,
java.lang.String arg1, java.lang.Integer arg2, java.lang.Integer arg3,
java.math.BigDecimal arg4, java.lang.String arg5) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
BuyerPurchaseOrderAccessBean |
findByAccountIdAndPurchaseOrderNumber(java.lang.Long arg0,
java.lang.String arg1) 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. |
java.lang.Long |
getAccountIdInEJBType() This method provides access to the BUYERPO.ACCOUNT_ID column of DB2 type BIGINT. |
java.lang.String |
getAmount() This method provides access to the BUYERPO.AMOUNT column of DB2 type DECIMAL(20 5). |
java.math.BigDecimal |
getAmountInEJBType() This method provides access to the BUYERPO.AMOUNT column of DB2 type DECIMAL(20 5). |
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). |
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 DEFAULT 0. |
java.lang.Integer |
getStateInEJBType() This method provides access to the BUYERPO.STATE column of DB2 type INTEGER DEFAULT 0. |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setAccountId(java.lang.Long newValue) This method provides access to the BUYERPO.ACCOUNT_ID column of DB2 type BIGINT. |
void |
setAccountId(java.lang.String newValue) This method provides access to the BUYERPO.ACCOUNT_ID column of DB2 type BIGINT. |
void |
setAmount(java.math.BigDecimal newValue) This method provides access to the BUYERPO.AMOUNT column of DB2 type DECIMAL(20 5). |
void |
setAmount(java.lang.String newValue) This method provides access to the BUYERPO.AMOUNT column of DB2 type DECIMAL(20 5). |
void |
setBuyerPurchaseOrderId(java.lang.Long newValue) This method provides access to the BUYERPO.BUYERPO_ID column of DB2 type BIGINT NOT NULL. |
void |
setBuyerPurchaseOrderId(java.lang.String newValue) This method provides access to the BUYERPO.BUYERPO_ID column of DB2 type BIGINT NOT NULL. |
void |
setBuyerPurchaseOrderTypeId(java.lang.Integer newValue) This method provides access to the BUYERPO.BUYERPOTYP_ID column of DB2 type INTEGER NOT NULL. |
void |
setBuyerPurchaseOrderTypeId(java.lang.String newValue) This method provides access to the BUYERPO.BUYERPOTYP_ID column of DB2 type INTEGER NOT NULL. |
void |
setCurrency(java.lang.String newValue) This method provides access to the BUYERPO.SETCCURR column of DB2 type CHAR(3). |
void |
setInitKey_buyerPurchaseOrderId(java.lang.String newValue) Set the primary key for this object |
void |
setPurchaseOrderNumber(java.lang.String newValue) This method provides access to the BUYERPO.PONUMBER column of DB2 type VARCHAR(128) NOT NULL. |
void |
setState(java.lang.Integer newValue) This method provides access to the BUYERPO.STATE column of DB2 type INTEGER DEFAULT 0. |
void |
setState(java.lang.String newValue) This method provides access to the BUYERPO.STATE column of DB2 type INTEGER DEFAULT 0. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public BuyerPurchaseOrderAccessBean()
public BuyerPurchaseOrderAccessBean(java.lang.Long arg0, java.lang.String arg1, java.lang.Integer arg2) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, java.rmi.RemoteException
arg0
- java.lang.Longarg1
- java.lang.Stringarg2
- java.lang.Integerjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
java.rmi.RemoteException
public BuyerPurchaseOrderAccessBean(java.lang.Long arg0, java.lang.String arg1, java.lang.Integer arg2, java.lang.Integer arg3, java.math.BigDecimal arg4, java.lang.String arg5) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, java.rmi.RemoteException
arg0
- java.lang.Longarg1
- java.lang.Stringarg2
- java.lang.Integerarg3
- java.lang.Integerarg4
- java.math.BigDecimalarg5
- java.lang.Stringjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
java.rmi.RemoteException
public BuyerPurchaseOrderAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
Method Detail |
---|
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
protected java.lang.String defaultJNDIName()
public BuyerPurchaseOrderAccessBean findByAccountIdAndPurchaseOrderNumber(java.lang.Long arg0, java.lang.String arg1) 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=?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
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.
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.
getAccountId
in interface
BuyerPurchaseOrderAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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).
The following is a description of this column:
Amount for Limited Purchase Order.
getAmount
in interface
BuyerPurchaseOrderAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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).
The following is a description of this column:
Amount for Limited Purchase Order.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getBuyerPurchaseOrderId
in interface
BuyerPurchaseOrderAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getBuyerPurchaseOrderTypeId
in interface
BuyerPurchaseOrderAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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).
The following is a description of this column:
Currency of the Amount field. Alphabetic currency code as per ISO 4217.
getCurrency
in interface
BuyerPurchaseOrderAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getPurchaseOrderNumber
in interface
BuyerPurchaseOrderAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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 DEFAULT 0.
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.
getState
in interface
BuyerPurchaseOrderAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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 DEFAULT 0.
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setAccountId(java.lang.Long newValue)
This method provides access to the BUYERPO.ACCOUNT_ID column of DB2 type BIGINT.
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.
newValue
- java.lang.Longpublic void setAccountId(java.lang.String newValue)
This method provides access to the BUYERPO.ACCOUNT_ID column of DB2 type BIGINT.
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.
setAccountId
in interface
BuyerPurchaseOrderAccessBeanData
newValue
- Stringpublic void setAmount(java.lang.String newValue)
This method provides access to the BUYERPO.AMOUNT column of DB2 type DECIMAL(20 5).
The following is a description of this column:
Amount for Limited Purchase Order.
setAmount
in interface
BuyerPurchaseOrderAccessBeanData
newValue
- Stringpublic void setAmount(java.math.BigDecimal newValue)
This method provides access to the BUYERPO.AMOUNT column of DB2 type DECIMAL(20 5).
The following is a description of this column:
Amount for Limited Purchase Order.
newValue
- java.math.BigDecimalpublic void setBuyerPurchaseOrderId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic void setBuyerPurchaseOrderId(java.lang.String newValue)
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.
setBuyerPurchaseOrderId
in interface
BuyerPurchaseOrderAccessBeanData
newValue
- Stringpublic void setBuyerPurchaseOrderTypeId(java.lang.Integer newValue)
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.
newValue
- java.lang.Integerpublic void setBuyerPurchaseOrderTypeId(java.lang.String newValue)
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.
setBuyerPurchaseOrderTypeId
in interface
BuyerPurchaseOrderAccessBeanData
newValue
- Stringpublic void setCurrency(java.lang.String newValue)
This method provides access to the BUYERPO.SETCCURR column of DB2 type CHAR(3).
The following is a description of this column:
Currency of the Amount field. Alphabetic currency code as per ISO 4217.
setCurrency
in interface
BuyerPurchaseOrderAccessBeanData
newValue
- java.lang.Stringpublic void setInitKey_buyerPurchaseOrderId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setPurchaseOrderNumber(java.lang.String newValue)
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.
setPurchaseOrderNumber
in interface
BuyerPurchaseOrderAccessBeanData
newValue
- java.lang.Stringpublic void setState(java.lang.Integer newValue)
This method provides access to the BUYERPO.STATE column of DB2 type INTEGER DEFAULT 0.
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.
newValue
- java.lang.Integerpublic void setState(java.lang.String newValue)
This method provides access to the BUYERPO.STATE column of DB2 type INTEGER DEFAULT 0.
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.
setState
in interface
BuyerPurchaseOrderAccessBeanData
newValue
- String