com.ibm.commerce.taxation.beans
Class StateProvinceDataBean

com.ibm.commerce.taxation.beans.StateProvinceDataBean
All Implemented Interfaces:
Delegator

public class StateProvinceDataBean
implements Delegator

Retrieves state province information.


Fields inherited from interface com.ibm.commerce.security.Delegator
COPYRIGHT
 
Constructor Summary
StateProvinceDataBean()
           
 
Method Summary
 CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getCountryAbbr()
          Retrieves country abbreviation.
 java.lang.String getDataBeanKeyNLanguageId()
          Retrieve its primary key.
 java.lang.String getDataBeanKeyStrStateAbbr()
          Retrieve its primary key.
 Protectable getDelegate()
          Retrieves access control information.
 java.lang.String getLanguageId()
          Retrieves language id.
 java.lang.Integer getLanguageIdInEJBType()
          Retrieves language id.
 java.lang.String getName()
          Retrieves name.
 TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 java.lang.String getStateAbbr()
          Retrieves state abbreviation.
 void populate()
          Retrieves data from the database.
 void setCommandContext(CommandContext aCommandContext)
          Sets the command context within this bean.
 void setCountryAbbr(java.lang.String aCountryAbbr)
          Sets country abbreviation.
 void setDataBeanKeyNLanguageId(java.lang.String aDataBeanKeyNLanguageId)
          Set its primary key for fetching.
 void setDataBeanKeyStrStateAbbr(java.lang.String aDataBeanKeyStrStateAbbr)
          Set its primary key for fetching.
 void setLanguageId(java.lang.Integer aLanguageId)
          Sets language id.
 void setName(java.lang.String aName)
          Sets name.
 void setRequestProperties(TypedProperty aRequestProperties)
          Sets the request property within this bean.
 void setStateAbbr(java.lang.String aStateAbbr)
          Sets state abbreviation.
 

Constructor Detail

StateProvinceDataBean

public StateProvinceDataBean()
Method Detail

getCommandContext

public CommandContext getCommandContext()

Gets the command context set within this bean.

Returns:
com.ibm.commerce.command.CommandContext

getCountryAbbr

public java.lang.String getCountryAbbr()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

Retrieves country abbreviation.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDataBeanKeyNLanguageId

public java.lang.String getDataBeanKeyNLanguageId()

Retrieve its primary key.

Returns:
java.lang.String

getDataBeanKeyStrStateAbbr

public java.lang.String getDataBeanKeyStrStateAbbr()

Retrieve its primary key.

Returns:
java.lang.String

getDelegate

public Protectable getDelegate()
                        throws java.lang.Exception

Retrieves access control information.

Specified by:
getDelegate in interface Delegator
Returns:
com.ibm.commerce.security.Protectable
Throws:
java.lang.Exception - The java.lang.Exception exception

getLanguageId

public java.lang.String getLanguageId()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

Retrieves language id.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLanguageIdInEJBType

public java.lang.Integer getLanguageIdInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

Retrieves language id.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getName

public java.lang.String getName()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException

Retrieves name.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRequestProperties

public TypedProperty getRequestProperties()

Gets the request property set within this bean.

Returns:
com.ibm.commerce.datatype.TypedProperty

getStateAbbr

public java.lang.String getStateAbbr()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

Retrieves state abbreviation.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

populate

public void populate()
              throws java.lang.Exception

Retrieves data from the database.

Returns:
void
Throws:
java.lang.Exception - The java.lang.Exception exception

setCommandContext

public void setCommandContext(CommandContext aCommandContext)

Sets the command context within this bean.

Parameters:
aCommandContext - com.ibm.commerce.command.CommandContext
Returns:
void

setCountryAbbr

public void setCountryAbbr(java.lang.String aCountryAbbr)

Sets country abbreviation.

Parameters:
aCountryAbbr - java.lang.String
Returns:
void

setDataBeanKeyNLanguageId

public void setDataBeanKeyNLanguageId(java.lang.String aDataBeanKeyNLanguageId)

Set its primary key for fetching.

Parameters:
aDataBeanKeyNLanguageId - java.lang.String
Returns:
void

setDataBeanKeyStrStateAbbr

public void setDataBeanKeyStrStateAbbr(java.lang.String aDataBeanKeyStrStateAbbr)

Set its primary key for fetching.

Parameters:
aDataBeanKeyStrStateAbbr - java.lang.String
Returns:
void

setLanguageId

public void setLanguageId(java.lang.Integer aLanguageId)

Sets language id.

Parameters:
aLanguageId - java.lang.Integer
Returns:
void

setName

public void setName(java.lang.String aName)

Sets name.

Parameters:
aName - java.lang.String
Returns:
void

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperties)
                          throws javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.naming.NamingException,
                                 javax.ejb.FinderException

Sets the request property within this bean.

Parameters:
aRequestProperties - com.ibm.commerce.datatype.TypedProperty
Returns:
void
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

setStateAbbr

public void setStateAbbr(java.lang.String aStateAbbr)

Sets state abbreviation.

Parameters:
aStateAbbr - java.lang.String
Returns:
void