java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.tools.optools.order.objects.OrderCommentAccessBean
No External description assigned yet This access bean corresponds to the database table 'ORCOMMENT'.
Constructor Summary | |
OrderCommentAccessBean() Zero argument constructor used to initialize the access bean. |
|
OrderCommentAccessBean(javax.ejb.EJBObject o) constructor |
|
OrderCommentAccessBean(java.lang.Long arg1, java.lang.String arg2) 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 | findByOrder(java.lang.Long argOrderId) Retrieves all the OrderCommentAccessBeans for the specified Order. |
java.lang.String | getComment() This method provides access to the ORCOMMENT.COMMENTS column of DB2 type VARCHAR(1024). |
java.lang.String | getLastupdate() This method provides access to the ORCOMMENT.LASTUPDATE column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getLastupdateInEJBType() This method provides access to the ORCOMMENT.LASTUPDATE column of DB2 type TIMESTAMP. |
java.lang.String | getOrcommentId() This method provides access to the ORCOMMENT.ORCOMMENT_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOrcommentIdInEJBType() This method provides access to the ORCOMMENT.ORCOMMENT_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getOrderId() This method provides access to the ORCOMMENT.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOrderIdInEJBType() This method provides access to the ORCOMMENT.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setComment(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_orcommentId(java.lang.String newValue) Set the primary key for this object |
void | setLastupdate(java.lang.String newValue) This method accesses a non-CMP field |
void | setLastupdate(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setOrcommentId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrcommentId(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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OrderCommentAccessBean()
public OrderCommentAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public OrderCommentAccessBean(java.lang.Long arg1, java.lang.String arg2) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Detail |
public java.util.Enumeration findByOrder(java.lang.Long argOrderId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the OrderCommentAccessBeans for the specified Order.
The SQL query used to fetch all the required rows from the ORCOMMENT table is:
SELECT * FROM ORCOMMENT T1 WHERE (T1.ORDERS_ID = ?) ORDER BY T1.LASTUPDATE
public void setInitKey_orcommentId(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 getComment() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORCOMMENT.COMMENTS column of DB2 type VARCHAR(1024).
The following is a description of this column:
The content of the comment.
public void setComment(java.lang.String newValue)
public java.lang.String getLastupdate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORCOMMENT.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The time this comment is created.
public java.sql.Timestamp getLastupdateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORCOMMENT.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The time this comment is created.
public void setLastupdate(java.lang.String newValue)
public void setLastupdate(java.sql.Timestamp 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 ORCOMMENT.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order.
public java.lang.Long getOrderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORCOMMENT.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order.
public void setOrderId(java.lang.String newValue)
public void setOrderId(java.lang.Long newValue)
public java.lang.String getOrcommentId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORCOMMENT.ORCOMMENT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.Long getOrcommentIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORCOMMENT.ORCOMMENT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public void setOrcommentId(java.lang.String newValue)
public void setOrcommentId(java.lang.Long newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.