java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.taxation.objects.StateCodeAccessBean
This table maps the internal StateProv Abbreviation Code to the State or Province Code dictated by the third-party product or vendor identified in the PRODUCTVENDOR column.
Constructor Summary | |
---|---|
StateCodeAccessBean() constructor | |
StateCodeAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByProductVendorAndStateProvinceName(java.lang.String arg0,
java.lang.String arg1) Retrieves all the state codes in the specified state name under the indicated product vendor. |
java.util.Enumeration |
findByProductVendorLanguageIdAndState(java.lang.String arg0,
java.lang.Integer arg1, java.lang.String arg2) Retrieves all the state codes in the specified state name under the indicated product vendor. |
java.util.Enumeration |
findByProductVendorLanguageIdAndStateAbbr(java.lang.String arg0,
java.lang.Integer arg1, java.lang.String arg2) Retrieves all the state codes in the specified state abbreviation and language id under the indicated product vendor. |
java.util.Enumeration |
findByProductVendorLanguageIdAndStateName(java.lang.String arg0,
java.lang.Integer arg1, java.lang.String arg2) Retrieves all the state codes in the specified state name under the indicated product vendor. |
java.lang.String |
getProductVendor() This method accesses a non-CMP field |
java.lang.String |
getStateAbbr() This method accesses a non-CMP field |
java.lang.String |
getStateCode() This method accesses a non-CMP field |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setInitKey_strProductVendor(java.lang.String newValue) Set the primary key for this object |
void |
setInitKey_strStateAbbr(java.lang.String newValue) Set the primary key for this object |
void |
setProductVendor(java.lang.String newValue) This method accesses a non-CMP field |
void |
setStateAbbr(java.lang.String newValue) This method accesses a non-CMP field |
void |
setStateCode(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 StateCodeAccessBean()
public StateCodeAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
Method Detail |
---|
public java.util.Enumeration findByProductVendorAndStateProvinceName(java.lang.String arg0, java.lang.String arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the state codes in the specified state name under the indicated product vendor.
The SQL query used to fetch all the required rows from the STATECODE table is:
SELECT * FROM STATECODE T1 WHERE (T1.PRODUCTVENDOR = ? AND T1.STATEPROVABBR = ANY (SELECT STATEPROV.STATEPROVABBR FROM STATEPROV WHERE STATEPROV.NAME = ?))
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
public java.util.Enumeration findByProductVendorLanguageIdAndState(java.lang.String arg0, java.lang.Integer arg1, java.lang.String arg2) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the state codes in the specified state name under the indicated product vendor.
The SQL query used to fetch all the required rows from the STATECODE table is:
SELECT * FROM STATECODE T1 WHERE T1.PRODUCTVENDOR = ? AND T1.STATEPROVABBR = ANY (SELECT STATEPROV.STATEPROVABBR FROM STATEPROV WHERE STATEPROV.LANGUAGE_ID=? AND ((STATEPROV.STATEPROVABBR=?) OR (STATEPROV.NAME=?)))
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
public java.util.Enumeration findByProductVendorLanguageIdAndStateAbbr(java.lang.String arg0, java.lang.Integer arg1, java.lang.String arg2) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the state codes in the specified state abbreviation and language id under the indicated product vendor.
The SQL query used to fetch all the required rows from the STATECODE table is:
SELECT * FROM STATECODE T1 WHERE (T1.PRODUCTVENDOR = ? AND T1.STATEPROVABBR = ANY (SELECT STATEPROV.STATEPROVABBR FROM STATEPROV WHERE STATEPROV.LANGUAGE_ID=? AND STATEPROV.STATEPROVABBR=?))
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
public java.util.Enumeration findByProductVendorLanguageIdAndStateName(java.lang.String arg0, java.lang.Integer arg1, java.lang.String arg2) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the state codes in the specified state name under the indicated product vendor.
The SQL query used to fetch all the required rows from the STATECODE table is:
SELECT * FROM STATECODE T1 WHERE T1.PRODUCTVENDOR = ? AND T1.STATEPROVABBR = ANY (SELECT STATEPROV.STATEPROVABBR FROM STATEPROV WHERE STATEPROV.LANGUAGE_ID=? AND STATEPROV.NAME = ?)
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
public void setInitKey_strStateAbbr(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setInitKey_strProductVendor(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 getProductVendor() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getProductVendor
in interface
StateCodeAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setProductVendor(java.lang.String newValue)
setProductVendor
in interface
StateCodeAccessBeanData
public java.lang.String getStateCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getStateCode
in interface
StateCodeAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStateCode(java.lang.String newValue)
setStateCode
in interface
StateCodeAccessBeanData
public java.lang.String getStateAbbr() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getStateAbbr
in interface
StateCodeAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStateAbbr(java.lang.String newValue)
setStateAbbr
in interface
StateCodeAccessBeanData