java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.payment.objects.InvoiceAccessBean
This table stores the invoice XML generated for the order release. An order release is represented by a row in the ORDRELEASE table. This access bean corresponds to the database table 'INVOICE'.
Constructor Summary | |
InvoiceAccessBean() Zero argument constructor used to initialize the access bean. |
|
InvoiceAccessBean(javax.ejb.EJBObject o) constructor |
|
InvoiceAccessBean(java.lang.Long newOrderId, java.lang.Integer newOrderReleaseNumber) 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). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByOrdersId(java.lang.Long ordersId) Retrieves all the InvoiceAccessBeans for the specified Order. |
java.lang.String | getInvoiceId() This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getInvoiceIdInEJBType() This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getInvoiceXML() This method accesses a non-CMP field |
java.lang.String | getOrderId() This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOrderIdInEJBType() This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getOrderReleaseNumber() This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getOrderReleaseNumberInEJBType() This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL. |
java.lang.String | getStatus() This method provides access to the INVOICE.STATUS column of DB2 type CHAR(4). |
java.lang.String | getTimeCreated() This method provides access to the INVOICE.TIMECREATED column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getTimeCreatedInEJBType() This method provides access to the INVOICE.TIMECREATED column of DB2 type TIMESTAMP. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setInitKey_invoiceId(java.lang.String newValue) Set the primary key for this object |
void | setInvoiceId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setInvoiceId(java.lang.String newValue) This method accesses a non-CMP field |
void | setInvoiceXML(java.lang.String newValue) This method accesses a non-CMP field |
void | setOrderId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrderId(java.lang.String newValue) This method accesses a non-CMP field |
void | setOrderReleaseNumber(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setOrderReleaseNumber(java.lang.String newValue) This method accesses a non-CMP field |
void | setStatus(java.lang.String newValue) This method accesses a non-CMP field |
void | setTimeCreated(java.lang.String newValue) This method accesses a non-CMP field |
void | setTimeCreated(java.sql.Timestamp newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InvoiceAccessBean()
public InvoiceAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public InvoiceAccessBean(java.lang.Long newOrderId, java.lang.Integer newOrderReleaseNumber) 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
Method Detail |
public java.util.Enumeration findByOrdersId(java.lang.Long ordersId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the InvoiceAccessBeans for the specified Order.
The SQL query used to fetch all the required rows from the INVOICE table is:
SELECT * FROM INVOICE T1 WHERE (T1.ORDERS_ID = ?) ORDER BY T1.INVOICE_ID
public void setInitKey_invoiceId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getOrderReleaseNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Order release number. The ORDERS_ID and the order release number together is the primary key to the row in the ORDRELEASE table.
public java.lang.Integer getOrderReleaseNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Order release number. The ORDERS_ID and the order release number together is the primary key to the row in the ORDRELEASE table.
public void setOrderReleaseNumber(java.lang.String newValue)
public void setOrderReleaseNumber(java.lang.Integer newValue)
public java.lang.String getInvoiceId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key for this row. Also used as the invoice number.
public java.lang.Long getInvoiceIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key for this row. Also used as the invoice number.
public void setInvoiceId(java.lang.String newValue)
public void setInvoiceId(java.lang.Long newValue)
public java.lang.String getStatus() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.STATUS column of DB2 type CHAR(4).
The following is a description of this column:
Reserved for IBM internal use.
public void setStatus(java.lang.String newValue)
public java.lang.String getOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID of the order. The ORDERS_ID and the order release number together is the primary key to the row in the ORDRELEASE table.
public java.lang.Long getOrderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID of the order. The ORDERS_ID and the order release number together is the primary key to the row in the ORDRELEASE table.
public void setOrderId(java.lang.String newValue)
public void setOrderId(java.lang.Long newValue)
public java.lang.String getTimeCreated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.TIMECREATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time the invoice XML is generated.
public java.sql.Timestamp getTimeCreatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.TIMECREATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time the invoice XML is generated.
public void setTimeCreated(java.lang.String newValue)
public void setTimeCreated(java.sql.Timestamp newValue)
public java.lang.String getInvoiceXML() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setInvoiceXML(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.