java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.taxation.objects.CountryAccessBean
This table lists the country or region names in each of the supported languages identified by LANGUAGE_ID. (Note that some of the entries may store the region name rather than the official country name in the NAME column for historical reasons.) This access bean corresponds to the database table 'COUNTRY'.
Constructor Summary | |
CountryAccessBean() Default constructor. |
|
CountryAccessBean(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 | findByLanguageId(java.lang.Integer aLanguageId) Retrieves all the country names and abbreviations in the specified language. |
java.util.Enumeration | findByLanguageIdAndCountry(java.lang.Integer aLanguageId, java.lang.String aCountryName) Retrieves all the country names and abbreviations in the specified language. |
java.util.Enumeration | findByLanguageIdAndCountryName(java.lang.Integer aLanguageId, java.lang.String aCountryName) Retrieves all the country names and abbreviations in the specified language and country name. |
java.lang.String | getCountryAbbr() This method accesses a non-CMP field |
java.lang.String | getLanguageId() This method accesses a non-CMP field |
java.lang.Integer | getLanguageIdInEJBType() This method accesses a non-CMP field |
java.lang.String | getName() This method accesses a non-CMP field |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCountryAbbr(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_nLanguageId(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_strCountryAbbr(java.lang.String newValue) Set the primary key for this object |
void | setLanguageId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setLanguageId(java.lang.String newValue) This method accesses a non-CMP field |
void | setName(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 CountryAccessBean()
Default constructor. Maps to findByPrimaryKey.
public CountryAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
Method Detail |
public java.util.Enumeration findByLanguageId(java.lang.Integer aLanguageId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the country names and abbreviations in the specified language.
The SQL query used to fetch all the required rows from the COUNTRY table is:
SELECT * FROM COUNTRY T1 WHERE (T1.LANGUAGE_ID = ?) ORDER BY T1.NAME
public java.util.Enumeration findByLanguageIdAndCountry(java.lang.Integer aLanguageId, java.lang.String aCountryName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the country names and abbreviations in the specified language.
The SQL query used to fetch all the required rows from the COUNTRY table is:
SELECT * FROM COUNTRY T1 WHERE (LANGUAGE_ID = ?) AND ((NAME = ?) OR (COUNTRYABBR = ?))
public java.util.Enumeration findByLanguageIdAndCountryName(java.lang.Integer aLanguageId, java.lang.String aCountryName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the country names and abbreviations in the specified language and country name.
The SQL query used to fetch all the required rows from the COUNTRY table is:
SELECT * FROM COUNTRY T1 WHERE (T1.LANGUAGE_ID = ?) and (T1.NAME = ?)
public void setInitKey_nLanguageId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_strCountryAbbr(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 getLanguageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getLanguageIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setLanguageId(java.lang.String newValue)
public void setLanguageId(java.lang.Integer newValue)
public java.lang.String getCountryAbbr() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCountryAbbr(java.lang.String newValue)
public java.lang.String getName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setName(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.