public class OrderHistoryAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements OrderHistoryAccessBeanData
Constructor and Description |
---|
OrderHistoryAccessBean()
OrderHistoryAccessBean
|
OrderHistoryAccessBean(javax.ejb.EJBObject o)
OrderHistoryAccessBean
|
OrderHistoryAccessBean(java.lang.Long orderId, java.lang.Short orderVersion)
This method creates an instance from a key for Entity Bean: OrderHistory.
|
OrderHistoryAccessBean(java.lang.Long argOrderId, java.lang.Short argOrderVersion, java.sql.Timestamp argLastUpdate, java.lang.String argOrderXML)
This is the ejbCreate method for a CMP entity bean.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper()
commitCopyHelper
|
java.lang.String | defaultJNDIName()
defaultJNDIName
|
java.util.Enumeration | findByOrderId(java.lang.Long argOrderId)
This method gets all the versions of the order.
The SQL query used to fetch all the required rows from the ORDERHIST table is: SELECT * FROM ORDERHIST T1 WHERE (T1.ORDERS_ID = ?) * |
boolean | fulfills(java.lang.Long member, java.lang.String relationship)
fulfills
|
java.lang.Integer | getField1()
getField1
|
java.lang.String | getField2()
getField2
|
java.sql.Timestamp | getFiled3()
getFiled3
|
java.sql.Timestamp | getLastUpdate()
getLastUpdate
|
java.lang.Long | getOrderId()
getOrderId
|
java.lang.Short | getOrderVersion()
getOrderVersion
|
java.lang.String | getOrderXML()
getOrderXML
|
java.lang.Long | getOwner()
getOwner
|
protected void | instantiateEJB()
instantiateEJB
|
protected boolean | instantiateEJBByPrimaryKey()
instantiateEJBByPrimaryKey
|
void | refreshCopyHelper()
refreshCopyHelper
|
void | setField1(java.lang.Integer newValue)
setField1
|
void | setField2(java.lang.String newValue)
setField2
|
void | setFiled3(java.sql.Timestamp newValue)
setFiled3
|
void | setInitKey_orderId(java.lang.Long newValue)
setInitKey_orderId
|
void | setInitKey_orderVersion(java.lang.Short newValue)
setInitKey_orderVersion
|
void | setLastUpdate(java.sql.Timestamp newValue)
setLastUpdate
|
void | setOrderXML(java.lang.String newValue)
setOrderXML
|
public OrderHistoryAccessBean()
public OrderHistoryAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public OrderHistoryAccessBean(java.lang.Long orderId, java.lang.Short orderVersion) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB.
public OrderHistoryAccessBean(java.lang.Long argOrderId, java.lang.Short argOrderVersion, java.sql.Timestamp argLastUpdate, java.lang.String argOrderXML) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB.
public java.lang.Integer getField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setField1(java.lang.Integer newValue)
public java.sql.Timestamp getFiled3() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setFiled3(java.sql.Timestamp newValue)
public java.lang.String getOrderXML() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setOrderXML(java.lang.String newValue)
public java.sql.Timestamp getLastUpdate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setLastUpdate(java.sql.Timestamp newValue)
public java.lang.String getField2() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setField2(java.lang.String newValue)
public void setInitKey_orderId(java.lang.Long newValue)
public void setInitKey_orderVersion(java.lang.Short newValue)
public java.lang.String defaultJNDIName()
protected void instantiateEJB() throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
protected boolean instantiateEJBByPrimaryKey() throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findByOrderId(java.lang.Long argOrderId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method gets all the versions of the order.
The SQL query used to fetch all the required rows from the ORDERHIST table is:
SELECT * FROM ORDERHIST T1 WHERE (T1.ORDERS_ID = ?) *
public java.lang.Long getOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Short getOrderVersion() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws javax.naming.NamingException, javax.ejb.FinderException, java.lang.Exception, java.rmi.RemoteException
public java.lang.Long getOwner() throws javax.naming.NamingException, javax.ejb.FinderException, java.lang.Exception, java.rmi.RemoteException