public class CalculationScaleAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements CalculationScaleAccessBeanData
Constructor and Description |
---|
CalculationScaleAccessBean()
Zero argument constructor used to initialize the access bean.
|
CalculationScaleAccessBean(javax.ejb.EJBObject o) |
CalculationScaleAccessBean(java.lang.Integer storeEntityId, java.lang.Integer usageId, java.lang.Integer calMethodId)
Creates an access bean with the specified attributes.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByCalculationRule(java.lang.Integer calculationRuleId)
Retrieves the CalculationScaleAccessBeans that are associated with the specified CalculationRule.
|
java.util.Enumeration | findByCalculationRuleAndCurrency(java.lang.Integer calculationRuleId, java.lang.String currency)
Retrieves the CalculationScaleAccessBeans that match the specified CalculationRule and currency.
|
java.lang.String | getCalculationMethodId() |
java.lang.Integer | getCalculationMethodIdInEJBType() |
java.lang.String | getCalculationScaleId() |
java.lang.Integer | getCalculationScaleIdInEJBType() |
java.lang.String | getCalculationUsageId() |
java.lang.Integer | getCalculationUsageIdInEJBType() |
java.lang.String | getCode() |
java.lang.String | getCurrency() |
java.lang.String | getDescription() |
java.lang.String | getField1() |
java.lang.String | getQuantityUnitId() |
java.lang.String | getStoreEntityId() |
java.lang.Integer | getStoreEntityIdInEJBType() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() |
void | setCalculationMethodId(java.lang.Integer newValue) |
void | setCalculationMethodId(java.lang.String newValue) |
void | setCalculationScaleId(java.lang.Integer newValue) |
void | setCalculationScaleId(java.lang.String newValue) |
void | setCalculationUsageId(java.lang.Integer newValue) |
void | setCalculationUsageId(java.lang.String newValue) |
void | setCode(java.lang.String newValue) |
void | setCurrency(java.lang.String newValue) |
void | setDescription(java.lang.String newValue) |
void | setField1(java.lang.String newValue) |
void | setInitKey_calculationScaleId(java.lang.String newValue) |
void | setQuantityUnitId(java.lang.String newValue) |
void | setStoreEntityId(java.lang.Integer newValue) |
void | setStoreEntityId(java.lang.String newValue) |
public CalculationScaleAccessBean()
public CalculationScaleAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public CalculationScaleAccessBean(java.lang.Integer storeEntityId, java.lang.Integer usageId, java.lang.Integer calMethodId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Creates an access bean with the specified attributes.
public java.util.Enumeration findByCalculationRule(java.lang.Integer calculationRuleId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationScaleAccessBeans that are associated with the specified CalculationRule.
The SQL query used to fetch all the required rows from the CALSCALE table is:
SELECT * FROM CALSCALE T1 WHERE
T1.CALSCALE_ID IN (SELECT CRULESCALE.CALSCALE_ID FROM CRULESCALE WHERE CRULESCALE.CALRULE_ID = ?)
public java.util.Enumeration findByCalculationRuleAndCurrency(java.lang.Integer calculationRuleId, java.lang.String currency) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationScaleAccessBeans that match the specified CalculationRule and currency.
The SQL query used to fetch all the required rows from the CALSCALE table is:
SELECT * FROM CALSCALE T1 WHERE
T1.CALSCALE_ID IN (SELECT CRULESCALE.CALSCALE_ID FROM CRULESCALE WHERE CRULESCALE.CALRULE_ID = ?) AND (T1.SETCCURR = ? OR T1.SETCCURR IS NULL)
public void setInitKey_calculationScaleId(java.lang.String newValue)
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
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setDescription(java.lang.String newValue)
public java.lang.String getCalculationScaleId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getCalculationScaleIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCalculationScaleId(java.lang.String newValue)
public void setCalculationScaleId(java.lang.Integer newValue)
public java.lang.String getCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCode(java.lang.String newValue)
public java.lang.String getCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCurrency(java.lang.String newValue)
public java.lang.String getField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setField1(java.lang.String newValue)
public java.lang.String getStoreEntityId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getStoreEntityIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setStoreEntityId(java.lang.String newValue)
public void setStoreEntityId(java.lang.Integer newValue)
public java.lang.String getCalculationMethodId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getCalculationMethodIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCalculationMethodId(java.lang.String newValue)
public void setCalculationMethodId(java.lang.Integer newValue)
public java.lang.String getCalculationUsageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getCalculationUsageIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCalculationUsageId(java.lang.String newValue)
public void setCalculationUsageId(java.lang.Integer newValue)
public java.lang.String getQuantityUnitId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setQuantityUnitId(java.lang.String newValue)