public class CountryAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements CountryAccessBeanData
Constructor and Description |
---|
CountryAccessBean()
Default constructor.
|
CountryAccessBean(javax.ejb.EJBObject o) |
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
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 | getCallingCode()
This method was generated by RAD.
|
java.lang.String | getCountryAbbr() |
java.lang.String | getLanguageId() |
java.lang.Integer | getLanguageIdInEJBType() |
java.lang.String | getName() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() |
void | setCallingCode(java.lang.String newValue)
This method was generated by RAD.
|
void | setCountryAbbr(java.lang.String newValue) |
void | setInitKey_nLanguageId(java.lang.String newValue) |
void | setInitKey_strCountryAbbr(java.lang.String newValue) |
void | setLanguageId(java.lang.Integer newValue) |
void | setLanguageId(java.lang.String newValue) |
void | setName(java.lang.String newValue) |
public CountryAccessBean()
Default constructor. Maps to findByPrimaryKey.
public CountryAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
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)
public void setInitKey_strCountryAbbr(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 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)
public java.lang.String getCallingCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCallingCode(java.lang.String newValue)