com.ibm.commerce.taxation.beans
Class StateCodeDataBean

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

public class StateCodeDataBean
implements Delegator

Retrieves state code information.


Fields inherited from interface com.ibm.commerce.security.Delegator
COPYRIGHT
 
Constructor Summary
StateCodeDataBean()
           
 
Method Summary
 CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyStrProductVendor()
          Retrieve its primary key.
 java.lang.String getDataBeanKeyStrStateAbbr()
          Retrieve its primary key.
 Protectable getDelegate()
          Retrieves access control information.
 java.lang.String getProductVendor()
          Retrieves product vendor.
 TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 java.lang.String getStateAbbr()
          Retrieves state abbreviation.
 java.lang.String getStateCode()
          Retrieves state code.
 void populate()
          Retrieves data from the database.
 void setCommandContext(CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyStrProductVendor(java.lang.String aDataBeanKeyStrProductVendor)
          Set its primary key for fetching.
 void setDataBeanKeyStrStateAbbr(java.lang.String aDataBeanKeyStrStateAbbr)
          Set its primary key for fetching.
 void setProductVendor(java.lang.String aProductVendor)
          Sets product vendor.
 void setRequestProperties(TypedProperty aRequestProperties)
          Sets the request property within this bean.
 void setStateAbbr(java.lang.String aStateAbbr)
          Sets state abbreviation.
 void setStateCode(java.lang.String aStateCode)
          Sets state code.
 

Constructor Detail

StateCodeDataBean

public StateCodeDataBean()
Method Detail

getCommandContext

public CommandContext getCommandContext()

Gets the command context set within this bean.

Returns:
com.ibm.commerce.command.CommandContext

getDataBeanKeyStrProductVendor

public java.lang.String getDataBeanKeyStrProductVendor()

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

getProductVendor

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

Retrieves product vendor.

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

getStateCode

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

Retrieves state code.

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

setDataBeanKeyStrProductVendor

public void setDataBeanKeyStrProductVendor(java.lang.String aDataBeanKeyStrProductVendor)

Set its primary key for fetching.

Parameters:
aDataBeanKeyStrProductVendor - 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

setProductVendor

public void setProductVendor(java.lang.String aProductVendor)

Sets product vendor.

Parameters:
aProductVendor - 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

setStateCode

public void setStateCode(java.lang.String aStateCode)

Sets state code.

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