java.lang.Object | +--com.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.
Constructor Summary | |
---|---|
InvoiceAccessBean() constructor | |
InvoiceAccessBean(javax.ejb.EJBObject o) constructor | |
InvoiceAccessBean(java.lang.Long arg0,
java.lang.Integer arg1) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByOrdersId(java.lang.Long arg0) 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 provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL. |
void |
setInvoiceId(java.lang.String newValue) This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL. |
void |
setInvoiceXML(java.lang.String newValue) This method accesses a non-CMP field |
void |
setOrderId(java.lang.Long newValue) This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderId(java.lang.String newValue) This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderReleaseNumber(java.lang.Integer newValue) This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL. |
void |
setOrderReleaseNumber(java.lang.String newValue) This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL. |
void |
setStatus(java.lang.String newValue) This method provides access to the INVOICE.STATUS column of DB2 type CHAR(4). |
void |
setTimeCreated(java.lang.String newValue) This method provides access to the INVOICE.TIMECREATED column of DB2 type TIMESTAMP. |
void |
setTimeCreated(java.sql.Timestamp newValue) This method provides access to the INVOICE.TIMECREATED column of DB2 type TIMESTAMP. |
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
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public InvoiceAccessBean(java.lang.Long arg0, java.lang.Integer arg1) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, java.rmi.RemoteException
arg0
- java.lang.Longarg1
- java.lang.Integerjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
java.rmi.RemoteException
Method Detail |
---|
public java.util.Enumeration findByOrdersId(java.lang.Long arg0) 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
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_invoiceId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
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 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
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 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.
getOrderReleaseNumber
in interface
InvoiceAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setOrderReleaseNumber(java.lang.String newValue)
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.
setOrderReleaseNumber
in interface
InvoiceAccessBeanData
newValue
- Stringpublic void setOrderReleaseNumber(java.lang.Integer newValue)
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.
newValue
- java.lang.Integerpublic 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.
getInvoiceId
in interface
InvoiceAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setInvoiceId(java.lang.String newValue)
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.
setInvoiceId
in interface
InvoiceAccessBeanData
newValue
- Stringpublic void setInvoiceId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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.
getStatus
in interface
InvoiceAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStatus(java.lang.String newValue)
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.
setStatus
in interface
InvoiceAccessBeanData
newValue
- java.lang.Stringpublic 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.
getOrderId
in interface
InvoiceAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setOrderId(java.lang.String newValue)
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.
setOrderId
in interface
InvoiceAccessBeanData
newValue
- Stringpublic void setOrderId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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.
getTimeCreated
in interface
InvoiceAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTimeCreated(java.lang.String newValue)
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.
setTimeCreated
in interface
InvoiceAccessBeanData
newValue
- Stringpublic void setTimeCreated(java.sql.Timestamp newValue)
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.
newValue
- java.sql.Timestamppublic java.lang.String getInvoiceXML() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getInvoiceXML
in interface
InvoiceAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setInvoiceXML(java.lang.String newValue)
setInvoiceXML
in interface
InvoiceAccessBeanData