com.ibm.commerce.fulfillment.objects
Class JurisdictionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.fulfillment.objects.JurisdictionAccessBean
All Implemented Interfaces:
JurisdictionAccessBeanData, java.io.Serializable

public class JurisdictionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements JurisdictionAccessBeanData

This bean provides access to the JURST table.

The following is a description of this table:

Each row of this table defines an instance of a particular subclass of jurisdiction. A jurisdiction contains information that can be matched with an address.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
JurisdictionAccessBean()
          Default constructor.
JurisdictionAccessBean(javax.ejb.EJBObject aEJBObject)
          Creates an access bean for the specified EJB.
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findByStoreentId(java.lang.Integer aStoreEntityId)
          Retrieves the JurisdictionAccessBeans of the specified StoreEntity.
 java.util.Enumeration findByStoreEntitySubclassZipCodeCityStateAndCountry(java.lang.Integer aStoreEntityId, java.lang.Integer aSubclass, java.lang.String aZipCode, java.lang.String aCity, java.lang.String aState, java.lang.String aCountry)
          Retrieves the JurisdictionAccessBeans of a StoreEntity and a subclass that match the specified zip code, city, state, and country
The SQL query used to fetch all the required rows from the JURST table is:
SELECT * FROM JURST T1 WHERE
(T1.STOREENT_ID = ?) AND (T1.SUBCLASS = ?)
AND (T1.ZIPCODESTART <= ? or T1.ZIPCODESTART IS NULL) AND (T1.ZIPCODEEND >= ? OR T1.ZIPCODEEND IS NULL)
AND (T1.CITY = ? OR T1.CITY is null) AND (T1.STATE = ? OR T1.STATE is null) AND (T1.COUNTRY = ? OR T1.COUNTRY IS NULL)
 java.util.Enumeration findByStoreSubclassGeoCodeZipCodeCityStateAndCountry(java.lang.Integer aStoreId, java.lang.Integer aSubclass, java.lang.String aGeoCode, java.lang.String aZipCode, java.lang.String aCity, java.lang.String aState, java.lang.String aCountry)
          Retrieves the JurisdictionAccessBeans of a Store and a subclass that match the specified GEO code, zip code, city, state, and country
The SQL query used to fetch all the required rows from the JURST table is:
SELECT * FROM JURST T1 WHERE
(T1.STOREENT_ID = ? OR T1.STOREENT_ID = (SELECT STORE.STOREGRP_ID FROM STORE WHERE STORE.STORE_ID = ?)) AND (T1.SUBCLASS = ?)
AND (T1.GEOCODE = ? or T1.GEOCODE IS NULL)
AND (T1.ZIPCODESTART <= ? or T1.ZIPCODESTART IS NULL) AND (T1.ZIPCODEEND >= ? OR T1.ZIPCODEEND IS NULL)
AND (T1.CITY = ? OR T1.CITY is null) AND (T1.STATE = ? OR T1.STATE is null) AND (T1.COUNTRY = ? OR T1.COUNTRY IS NULL)
 java.util.Enumeration findByZipCodeCityStateAndCountry(java.lang.String aZipCode, java.lang.String aCity, java.lang.String aState, java.lang.String aCountry)
          Retrieves the JurisdictionAccessBeans that match the specified zip code, city, state, and country.
The SQL query used to fetch all the required rows from the JURST table is:
SELECT * FROM JURST T1 WHERE
(T1.ZIPCODESTART <= ? OR T1.ZIPCODESTART IS NULL) AND (T1.ZIPCODEEND >= ? OR T1.ZIPCODEEND IS NULL)
AND (T1.CITY = ? OR T1.CITY is null) AND (T1.STATE = ? OR T1.STATE is null) AND (T1.COUNTRY = ? OR T1.COUNTRY IS NULL)
 java.lang.String getCity()
          This method provides access to the JURST.CITY column of DB2 type VARCHAR(128) NULL.
 java.lang.String getCode()
          This method provides access to the JURST.CODE column of DB2 type CHAR(30) NOT NULL.
 java.lang.String getCountry()
          This method provides access to the JURST.COUNTRY column of DB2 type VARCHAR(128) NULL.
 java.lang.String getCountryAbbreviation()
          This method provides access to the JURST.COUNTRYABBR column of DB2 type VARCHAR(10) NULL.
 java.lang.String getCounty()
          This method provides access to the JURST.COUNTY column of DB2 type VARCHAR(30) NULL.
 java.lang.String getDescription()
          This method provides access to the JURST.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getDistrict()
          This method provides access to the JURST.DISTRICT column of DB2 type VARCHAR(30) NULL.
 java.lang.String getGeoCode()
          This method provides access to the JURST.GEOCODE column of DB2 type VARCHAR(254) NULL.
 java.lang.String getJurisdictionId()
          This method provides access to the JURST.JURST_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getJurisdictionIdInEJBType()
          This method provides access to the JURST.JURST_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getMarkForDelete()
          This method provides access to the JURST.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getMarkForDeleteInEJBType()
          This method provides access to the JURST.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.String getState()
          This method provides access to the JURST.STATE column of DB2 type VARCHAR(128) NULL.
 java.lang.String getStateAbbreviation()
          This method provides access to the JURST.STATEABBR column of DB2 type VARCHAR(10) NULL.
 java.lang.String getStoreEntityId()
          This method provides access to the JURST.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreEntityIdInEJBType()
          This method provides access to the JURST.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getSubclass()
          This method provides access to the JURST.SUBCLASS column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getSubclassInEJBType()
          This method provides access to the JURST.SUBCLASS column of DB2 type INTEGER NOT NULL.
 java.lang.String getZipcodeEnd()
          This method provides access to the JURST.ZIPCODEEND column of DB2 type VARCHAR(40) NULL.
 java.lang.String getZipcodeStart()
          This method provides access to the JURST.ZIPCODESTART column of DB2 type VARCHAR(40) NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCity(java.lang.String aCity)
          This method provides access to the JURST.CITY column of DB2 type VARCHAR(128) NULL.
 void setCode(java.lang.String aCode)
          This method provides access to the JURST.CODE column of DB2 type CHAR(30) NOT NULL.
 void setCountry(java.lang.String aCountry)
          This method provides access to the JURST.COUNTRY column of DB2 type VARCHAR(128) NULL.
 void setCountryAbbreviation(java.lang.String aCountryAbbreviation)
          This method provides access to the JURST.COUNTRYABBR column of DB2 type VARCHAR(10) NULL.
 void setCounty(java.lang.String aCounty)
          This method provides access to the JURST.COUNTY column of DB2 type VARCHAR(30) NULL.
 void setDescription(java.lang.String aDescription)
          This method provides access to the JURST.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setDistrict(java.lang.String aDistrict)
          This method provides access to the JURST.DISTRICT column of DB2 type VARCHAR(30) NULL.
 void setGeoCode(java.lang.String aGeoCode)
          This method provides access to the JURST.GEOCODE column of DB2 type VARCHAR(254) NULL.
 void setInitKey_jurisdictionId(java.lang.String aInitKey_jurisdictionId)
          Set the primary key for this object
 void setMarkForDelete(java.lang.Integer aMarkForDelete)
          This method provides access to the JURST.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setMarkForDelete(java.lang.String aMarkForDelete)
          This method provides access to the JURST.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setState(java.lang.String aState)
          This method provides access to the JURST.STATE column of DB2 type VARCHAR(128) NULL.
 void setStateAbbreviation(java.lang.String aStateAbbreviation)
          This method provides access to the JURST.STATEABBR column of DB2 type VARCHAR(10) NULL.
 void setStoreEntityId(java.lang.Integer aStoreEntityId)
          This method provides access to the JURST.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreEntityId(java.lang.String aStoreEntityId)
          This method provides access to the JURST.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setSubclass(java.lang.Integer aSubclass)
          This method provides access to the JURST.SUBCLASS column of DB2 type INTEGER NOT NULL.
 void setSubclass(java.lang.String aSubclass)
          This method provides access to the JURST.SUBCLASS column of DB2 type INTEGER NOT NULL.
 void setZipcodeEnd(java.lang.String aZipcodeEnd)
          This method provides access to the JURST.ZIPCODEEND column of DB2 type VARCHAR(40) NULL.
 void setZipcodeStart(java.lang.String aZipcodeStart)
          This method provides access to the JURST.ZIPCODESTART column of DB2 type VARCHAR(40) NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JurisdictionAccessBean

public JurisdictionAccessBean()

Default constructor. Maps to findByPrimaryKey.


JurisdictionAccessBean

public JurisdictionAccessBean(javax.ejb.EJBObject aEJBObject)
                       throws java.rmi.RemoteException

Creates an access bean for the specified EJB.

Parameters:
aEJBObject - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
Method Detail

commitCopyHelper

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

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
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

findByStoreentId

public java.util.Enumeration findByStoreentId(java.lang.Integer aStoreEntityId)
                                       throws java.rmi.RemoteException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

Retrieves the JurisdictionAccessBeans of the specified StoreEntity.

The SQL query used to fetch all the required rows from the JURST table is:
SELECT * FROM JURST T1 WHERE
T1.STOREENT_ID = ?

Parameters:
aStoreEntityId - the StoreEntity ID
Returns:
An Enumeration of all the JurisdictionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByStoreEntitySubclassZipCodeCityStateAndCountry

public java.util.Enumeration findByStoreEntitySubclassZipCodeCityStateAndCountry(java.lang.Integer aStoreEntityId,
                                                                                 java.lang.Integer aSubclass,
                                                                                 java.lang.String aZipCode,
                                                                                 java.lang.String aCity,
                                                                                 java.lang.String aState,
                                                                                 java.lang.String aCountry)
                                                                          throws java.rmi.RemoteException,
                                                                                 javax.ejb.FinderException,
                                                                                 javax.naming.NamingException

Retrieves the JurisdictionAccessBeans of a StoreEntity and a subclass that match the specified zip code, city, state, and country
The SQL query used to fetch all the required rows from the JURST table is:
SELECT * FROM JURST T1 WHERE
(T1.STOREENT_ID = ?) AND (T1.SUBCLASS = ?)
AND (T1.ZIPCODESTART <= ? or T1.ZIPCODESTART IS NULL) AND (T1.ZIPCODEEND >= ? OR T1.ZIPCODEEND IS NULL)
AND (T1.CITY = ? OR T1.CITY is null) AND (T1.STATE = ? OR T1.STATE is null) AND (T1.COUNTRY = ? OR T1.COUNTRY IS NULL)

Parameters:
aStoreEntityId - the StoreEntity ID
aSubclass - the subclass
aZipCode - the zip code
aCity - the city
astate - the state
aCountry - the country
Returns:
An Enumeration of all the JurisdictionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByStoreSubclassGeoCodeZipCodeCityStateAndCountry

public java.util.Enumeration findByStoreSubclassGeoCodeZipCodeCityStateAndCountry(java.lang.Integer aStoreId,
                                                                                  java.lang.Integer aSubclass,
                                                                                  java.lang.String aGeoCode,
                                                                                  java.lang.String aZipCode,
                                                                                  java.lang.String aCity,
                                                                                  java.lang.String aState,
                                                                                  java.lang.String aCountry)
                                                                           throws java.rmi.RemoteException,
                                                                                  javax.ejb.FinderException,
                                                                                  javax.naming.NamingException

Retrieves the JurisdictionAccessBeans of a Store and a subclass that match the specified GEO code, zip code, city, state, and country
The SQL query used to fetch all the required rows from the JURST table is:
SELECT * FROM JURST T1 WHERE
(T1.STOREENT_ID = ? OR T1.STOREENT_ID = (SELECT STORE.STOREGRP_ID FROM STORE WHERE STORE.STORE_ID = ?)) AND (T1.SUBCLASS = ?)
AND (T1.GEOCODE = ? or T1.GEOCODE IS NULL)
AND (T1.ZIPCODESTART <= ? or T1.ZIPCODESTART IS NULL) AND (T1.ZIPCODEEND >= ? OR T1.ZIPCODEEND IS NULL)
AND (T1.CITY = ? OR T1.CITY is null) AND (T1.STATE = ? OR T1.STATE is null) AND (T1.COUNTRY = ? OR T1.COUNTRY IS NULL)

Parameters:
aStoreId - the Store ID
aSubclass - the subclass
aGeoCode - the GEO code
aZipCode - the zip code
aCity - the city
aState - the state
aCountry - the country
Returns:
An Enumeration of all the JurisdictionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByZipCodeCityStateAndCountry

public java.util.Enumeration findByZipCodeCityStateAndCountry(java.lang.String aZipCode,
                                                              java.lang.String aCity,
                                                              java.lang.String aState,
                                                              java.lang.String aCountry)
                                                       throws java.rmi.RemoteException,
                                                              javax.ejb.FinderException,
                                                              javax.naming.NamingException

Retrieves the JurisdictionAccessBeans that match the specified zip code, city, state, and country.
The SQL query used to fetch all the required rows from the JURST table is:
SELECT * FROM JURST T1 WHERE
(T1.ZIPCODESTART <= ? OR T1.ZIPCODESTART IS NULL) AND (T1.ZIPCODEEND >= ? OR T1.ZIPCODEEND IS NULL)
AND (T1.CITY = ? OR T1.CITY is null) AND (T1.STATE = ? OR T1.STATE is null) AND (T1.COUNTRY = ? OR T1.COUNTRY IS NULL)

Parameters:
aZipCode - the zip code
aCity - the city
aState - the state
aCountry - the country
Returns:
An Enumeration of all the JurisdictionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCity

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

This method provides access to the JURST.CITY column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

The city or an equivalent. Its definition should always match the one in the ADDRESS table.

Specified by:
getCity in interface JurisdictionAccessBeanData
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

getCode

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

This method provides access to the JURST.CODE column of DB2 type CHAR(30) NOT NULL.

The following is a description of this column:

A code which, together with its StoreEntity and SubClass, uniquely identifies this jurisdiction.

Specified by:
getCode in interface JurisdictionAccessBeanData
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

getCountry

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

This method provides access to the JURST.COUNTRY column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

The country or region. Its definition should always match the one in the ADDRESS table.

Specified by:
getCountry in interface JurisdictionAccessBeanData
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

getCountryAbbreviation

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

This method provides access to the JURST.COUNTRYABBR column of DB2 type VARCHAR(10) NULL.

The following is a description of this column:

An optional abbreviation code for the country or region (as specified in the COUNTRY column). It supports the use of normal form or short form in the ADDRESS table.

Specified by:
getCountryAbbreviation in interface JurisdictionAccessBeanData
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

getCounty

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

This method provides access to the JURST.COUNTY column of DB2 type VARCHAR(30) NULL.

The following is a description of this column:

The county or an equivalent.

Specified by:
getCounty in interface JurisdictionAccessBeanData
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

getDescription

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

This method provides access to the JURST.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A brief description of the jurisdiction, suitable for display by a user interface that manages jurisdiction definitions.

Specified by:
getDescription in interface JurisdictionAccessBeanData
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

getDistrict

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

This method provides access to the JURST.DISTRICT column of DB2 type VARCHAR(30) NULL.

The following is a description of this column:

The district or an equivalent.

Specified by:
getDistrict in interface JurisdictionAccessBeanData
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

getGeoCode

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

This method provides access to the JURST.GEOCODE column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A tax code based on geographical region. This column is used to support Taxware integration. Its definition should always match the one in the ADDRESS table.

Specified by:
getGeoCode in interface JurisdictionAccessBeanData
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

getJurisdictionId

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

This method provides access to the JURST.JURST_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
getJurisdictionId in interface JurisdictionAccessBeanData
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

getJurisdictionIdInEJBType

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

This method provides access to the JURST.JURST_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key.

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

getMarkForDelete

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

This method provides access to the JURST.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getMarkForDelete in interface JurisdictionAccessBeanData
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

getMarkForDeleteInEJBType

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

This method provides access to the JURST.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

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

getState

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

This method provides access to the JURST.STATE column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

The state, province, or an equivalent. Its definition should always match the one in the ADDRESS table.

Specified by:
getState in interface JurisdictionAccessBeanData
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

getStateAbbreviation

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

This method provides access to the JURST.STATEABBR column of DB2 type VARCHAR(10) NULL.

The following is a description of this column:

An optional abbreviation code for the state or province (as specified in the STATE column). It supports the use of normal form or short form in the ADDRESS table.

Specified by:
getStateAbbreviation in interface JurisdictionAccessBeanData
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

getStoreEntityId

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

This method provides access to the JURST.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity associated with this jurisdiction definition.

Specified by:
getStoreEntityId in interface JurisdictionAccessBeanData
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

getStoreEntityIdInEJBType

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

This method provides access to the JURST.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity associated with this jurisdiction definition.

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

getSubclass

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

This method provides access to the JURST.SUBCLASS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates the jurisdiction subclass as follows:
1 = ShippingJurisdiction.
2 = TaxJurisdiction.

Specified by:
getSubclass in interface JurisdictionAccessBeanData
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

getSubclassInEJBType

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

This method provides access to the JURST.SUBCLASS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates the jurisdiction subclass as follows:
1 = ShippingJurisdiction.
2 = TaxJurisdiction.

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

getZipcodeEnd

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

This method provides access to the JURST.ZIPCODEEND column of DB2 type VARCHAR(40) NULL.

The following is a description of this column:

The ending ZIP or postal code of a range of codes. Its definition should always match the one in the ADDRESS table.

Specified by:
getZipcodeEnd in interface JurisdictionAccessBeanData
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

getZipcodeStart

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

This method provides access to the JURST.ZIPCODESTART column of DB2 type VARCHAR(40) NULL.

The following is a description of this column:

The starting ZIP or postal code of a range of codes. Its definition should always match the one in the ADDRESS table.

Specified by:
getZipcodeStart in interface JurisdictionAccessBeanData
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

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
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

setCity

public void setCity(java.lang.String aCity)

This method provides access to the JURST.CITY column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

The city or an equivalent. Its definition should always match the one in the ADDRESS table.

Specified by:
setCity in interface JurisdictionAccessBeanData
Parameters:
aCity - java.lang.String
Returns:
void

setCode

public void setCode(java.lang.String aCode)

This method provides access to the JURST.CODE column of DB2 type CHAR(30) NOT NULL.

The following is a description of this column:

A code which, together with its StoreEntity and SubClass, uniquely identifies this jurisdiction.

Specified by:
setCode in interface JurisdictionAccessBeanData
Parameters:
aCode - java.lang.String
Returns:
void

setCountry

public void setCountry(java.lang.String aCountry)

This method provides access to the JURST.COUNTRY column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

The country or region. Its definition should always match the one in the ADDRESS table.

Specified by:
setCountry in interface JurisdictionAccessBeanData
Parameters:
aCountry - java.lang.String
Returns:
void

setCountryAbbreviation

public void setCountryAbbreviation(java.lang.String aCountryAbbreviation)

This method provides access to the JURST.COUNTRYABBR column of DB2 type VARCHAR(10) NULL.

The following is a description of this column:

An optional abbreviation code for the country or region (as specified in the COUNTRY column). It supports the use of normal form or short form in the ADDRESS table.

Specified by:
setCountryAbbreviation in interface JurisdictionAccessBeanData
Parameters:
aCountryAbbreviation - java.lang.String
Returns:
void

setCounty

public void setCounty(java.lang.String aCounty)

This method provides access to the JURST.COUNTY column of DB2 type VARCHAR(30) NULL.

The following is a description of this column:

The county or an equivalent.

Specified by:
setCounty in interface JurisdictionAccessBeanData
Parameters:
aCounty - java.lang.String
Returns:
void

setDescription

public void setDescription(java.lang.String aDescription)

This method provides access to the JURST.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A brief description of the jurisdiction, suitable for display by a user interface that manages jurisdiction definitions.

Specified by:
setDescription in interface JurisdictionAccessBeanData
Parameters:
aDescription - java.lang.String
Returns:
void

setDistrict

public void setDistrict(java.lang.String aDistrict)

This method provides access to the JURST.DISTRICT column of DB2 type VARCHAR(30) NULL.

The following is a description of this column:

The district or an equivalent.

Specified by:
setDistrict in interface JurisdictionAccessBeanData
Parameters:
aDistrict - java.lang.String
Returns:
void

setGeoCode

public void setGeoCode(java.lang.String aGeoCode)

This method provides access to the JURST.GEOCODE column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A tax code based on geographical region. This column is used to support Taxware integration. Its definition should always match the one in the ADDRESS table.

Specified by:
setGeoCode in interface JurisdictionAccessBeanData
Parameters:
aGeoCode - java.lang.String
Returns:
void

setInitKey_jurisdictionId

public void setInitKey_jurisdictionId(java.lang.String aInitKey_jurisdictionId)

Set the primary key for this object

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

setMarkForDelete

public void setMarkForDelete(java.lang.Integer aMarkForDelete)

This method provides access to the JURST.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

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

setMarkForDelete

public void setMarkForDelete(java.lang.String aMarkForDelete)

This method provides access to the JURST.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setMarkForDelete in interface JurisdictionAccessBeanData
Parameters:
aMarkForDelete - java.lang.String
Returns:
void

setState

public void setState(java.lang.String aState)

This method provides access to the JURST.STATE column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

The state, province, or an equivalent. Its definition should always match the one in the ADDRESS table.

Specified by:
setState in interface JurisdictionAccessBeanData
Parameters:
aState - java.lang.String
Returns:
void

setStateAbbreviation

public void setStateAbbreviation(java.lang.String aStateAbbreviation)

This method provides access to the JURST.STATEABBR column of DB2 type VARCHAR(10) NULL.

The following is a description of this column:

An optional abbreviation code for the state or province (as specified in the STATE column). It supports the use of normal form or short form in the ADDRESS table.

Specified by:
setStateAbbreviation in interface JurisdictionAccessBeanData
Parameters:
aStateAbbreviation - java.lang.String
Returns:
void

setStoreEntityId

public void setStoreEntityId(java.lang.Integer aStoreEntityId)

This method provides access to the JURST.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity associated with this jurisdiction definition.

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

setStoreEntityId

public void setStoreEntityId(java.lang.String aStoreEntityId)

This method provides access to the JURST.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity associated with this jurisdiction definition.

Specified by:
setStoreEntityId in interface JurisdictionAccessBeanData
Parameters:
aStoreEntityId - java.lang.String
Returns:
void

setSubclass

public void setSubclass(java.lang.Integer aSubclass)

This method provides access to the JURST.SUBCLASS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates the jurisdiction subclass as follows:
1 = ShippingJurisdiction.
2 = TaxJurisdiction.

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

setSubclass

public void setSubclass(java.lang.String aSubclass)

This method provides access to the JURST.SUBCLASS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates the jurisdiction subclass as follows:
1 = ShippingJurisdiction.
2 = TaxJurisdiction.

Specified by:
setSubclass in interface JurisdictionAccessBeanData
Parameters:
aSubclass - java.lang.String
Returns:
void

setZipcodeEnd

public void setZipcodeEnd(java.lang.String aZipcodeEnd)

This method provides access to the JURST.ZIPCODEEND column of DB2 type VARCHAR(40) NULL.

The following is a description of this column:

The ending ZIP or postal code of a range of codes. Its definition should always match the one in the ADDRESS table.

Specified by:
setZipcodeEnd in interface JurisdictionAccessBeanData
Parameters:
aZipcodeEnd - java.lang.String
Returns:
void

setZipcodeStart

public void setZipcodeStart(java.lang.String aZipcodeStart)

This method provides access to the JURST.ZIPCODESTART column of DB2 type VARCHAR(40) NULL.

The following is a description of this column:

The starting ZIP or postal code of a range of codes. Its definition should always match the one in the ADDRESS table.

Specified by:
setZipcodeStart in interface JurisdictionAccessBeanData
Parameters:
aZipcodeStart - java.lang.String
Returns:
void