public class CalculationRuleAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements CalculationRuleAccessBeanData
Constructor and Description |
---|
CalculationRuleAccessBean()
Zero argument constructor used to initialize the access bean.
|
CalculationRuleAccessBean(javax.ejb.EJBObject o) |
CalculationRuleAccessBean(java.lang.Integer calculationCodeId, java.lang.Integer calculationMethodId, java.lang.Integer ruleQualifyMethodId)
Creates an access bean with the specified attributes.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByCalculationCode(java.lang.Integer calculationCodeId)
Retrieves the CalculationRuleAccessBeans of the specified CalculationCode.
|
java.util.Enumeration | findByStoreSortedByEndDate(java.lang.Integer storeId)
Retrieves the CalculationRuleAccessBeans that match the specified Store.
|
java.util.Enumeration | findByStoreSortedByStartDate(java.lang.Integer storeId)
Retrieves the CalculationRuleAccessBeans that match the specified Store.
|
java.util.Enumeration | findEffectiveRulesByCalculationCodeSortByRuleSequence(java.lang.Integer calculationCodeId)
Retrieves the effective CalculationRuleAccessBeans of the specified CalculationCode, ordered by their sequence values.
|
java.lang.String | getCalculationCodeId() |
java.lang.Integer | getCalculationCodeIdInEJBType() |
java.lang.String | getCalculationMethodId() |
java.lang.Integer | getCalculationMethodIdInEJBType() |
java.lang.String | getCalculationRuleId() |
java.lang.Integer | getCalculationRuleIdInEJBType() |
java.lang.String | getCalculationRuleQualifyMethodId() |
java.lang.Integer | getCalculationRuleQualifyMethodIdInEJBType() |
java.lang.String | getCombination() |
java.lang.Integer | getCombinationInEJBType() |
java.lang.String | getEndDate() |
java.sql.Timestamp | getEndDateInEJBType() |
java.lang.String | getField1() |
java.math.BigDecimal | getField1InEJBType() |
java.lang.String | getField2() |
java.lang.String | getFlags() |
java.lang.Integer | getFlagsInEJBType() |
java.lang.String | getIdentifier() |
java.lang.Integer | getIdentifierInEJBType() |
java.lang.String | getSequence() |
java.lang.Double | getSequenceInEJBType() |
java.lang.String | getStartDate() |
java.sql.Timestamp | getStartDateInEJBType() |
java.lang.String | getTaxCategoryId() |
java.lang.Integer | getTaxCategoryIdInEJBType() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() |
void | setCalculationCodeId(java.lang.Integer newValue) |
void | setCalculationCodeId(java.lang.String newValue) |
void | setCalculationMethodId(java.lang.Integer newValue) |
void | setCalculationMethodId(java.lang.String newValue) |
void | setCalculationRuleQualifyMethodId(java.lang.Integer newValue) |
void | setCalculationRuleQualifyMethodId(java.lang.String newValue) |
void | setCombination(java.lang.Integer newValue) |
void | setCombination(java.lang.String newValue) |
void | setEndDate(java.lang.String newValue) |
void | setEndDate(java.sql.Timestamp newValue) |
void | setField1(java.math.BigDecimal newValue) |
void | setField1(java.lang.String newValue) |
void | setField2(java.lang.String newValue) |
void | setFlags(java.lang.Integer newValue) |
void | setFlags(java.lang.String newValue) |
void | setIdentifier(java.lang.Integer newValue) |
void | setIdentifier(java.lang.String newValue) |
void | setInitKey_calculationRuleId(java.lang.String newValue) |
void | setSequence(java.lang.Double newValue) |
void | setSequence(java.lang.String newValue) |
void | setStartDate(java.lang.String newValue) |
void | setStartDate(java.sql.Timestamp newValue) |
void | setTaxCategoryId(java.lang.Integer newValue) |
void | setTaxCategoryId(java.lang.String newValue) |
public CalculationRuleAccessBean()
public CalculationRuleAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public CalculationRuleAccessBean(java.lang.Integer calculationCodeId, java.lang.Integer calculationMethodId, java.lang.Integer ruleQualifyMethodId) 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 findByCalculationCode(java.lang.Integer calculationCodeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationRuleAccessBeans of the specified CalculationCode.
The SQL query used to fetch all the required rows from the CALRULE table is:
SELECT * FROM CALRULE T1 WHERE
T1.CALCODE_ID = ?
public java.util.Enumeration findByStoreSortedByEndDate(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationRuleAccessBeans that match the specified Store. Reserved for IBM internal use.
The SQL query used to fetch all the required rows from the CALRULE table is:
SELECT * FROM CALRULE T1 WHERE
T1.CALCODE_ID IN (SELECT CALCODE.CALCODE_ID FROM CALCODE WHERE CALCODE.STOREENT_ID = ?) ORDER BY T1.ENDDATE
public java.util.Enumeration findByStoreSortedByStartDate(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationRuleAccessBeans that match the specified Store. Reserved for IBM internal use.
The SQL query used to fetch all the required rows from the CALRULE table is:
SELECT * FROM CALRULE T1 WHERE
T1.CALCODE_ID IN (SELECT CALCODE.CALCODE_ID FROM CALCODE WHERE CALCODE.STOREENT_ID = ?) ORDER BY T1.STARTDATE
public java.util.Enumeration findEffectiveRulesByCalculationCodeSortByRuleSequence(java.lang.Integer calculationCodeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the effective CalculationRuleAccessBeans of the specified CalculationCode, ordered by their sequence values.
The SQL query used to fetch all the required rows from the CALRULE table is:
SELECT * FROM CALRULE T1 WHERE
T1.CALCODE_ID = ? AND (T1.STARTDATE <= CURRENT TIMESTAMP OR T1.ENDDATE IS NULL) AND (T1.ENDDATE >= CURRENT TIMESTAMP OR T1.ENDDATE IS NULL) ORDER BY T1.SEQUENCE
public void setInitKey_calculationRuleId(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 getCalculationCodeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getCalculationCodeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCalculationCodeId(java.lang.String newValue)
public void setCalculationCodeId(java.lang.Integer newValue)
public java.lang.String getTaxCategoryId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getTaxCategoryIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTaxCategoryId(java.lang.String newValue)
public void setTaxCategoryId(java.lang.Integer newValue)
public java.lang.String getIdentifier() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getIdentifierInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setIdentifier(java.lang.String newValue)
public void setIdentifier(java.lang.Integer newValue)
public java.lang.String getStartDate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getStartDateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setStartDate(java.lang.String newValue)
public void setStartDate(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 java.lang.String getField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.math.BigDecimal getField1InEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setField1(java.lang.String newValue)
public void setField1(java.math.BigDecimal newValue)
public java.lang.String getCalculationRuleId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getCalculationRuleIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getCalculationRuleQualifyMethodId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getCalculationRuleQualifyMethodIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCalculationRuleQualifyMethodId(java.lang.String newValue)
public void setCalculationRuleQualifyMethodId(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 getFlags() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getFlagsInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setFlags(java.lang.String newValue)
public void setFlags(java.lang.Integer newValue)
public java.lang.String getCombination() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getCombinationInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCombination(java.lang.String newValue)
public void setCombination(java.lang.Integer newValue)
public java.lang.String getSequence() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Double getSequenceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setSequence(java.lang.String newValue)
public void setSequence(java.lang.Double newValue)
public java.lang.String getEndDate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getEndDateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setEndDate(java.lang.String newValue)
public void setEndDate(java.sql.Timestamp newValue)