com.ibm.commerce.fulfillment.objects
Class JurisdictionGroupRelationshipAccessBean

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

public class JurisdictionGroupRelationshipAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements JurisdictionGroupRelationshipAccessBeanData

This bean provides access to the JURSTGPREL table.

The following is a description of this table:

Each row of this table indicates that a jurisdiction of a particular subclass is in a jurisdiction group of that same subclass.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
JurisdictionGroupRelationshipAccessBean()
          Default constructor.
JurisdictionGroupRelationshipAccessBean(javax.ejb.EJBObject aEJBObject)
          Creates an access bean for the specified EJB.
JurisdictionGroupRelationshipAccessBean(java.lang.Integer aJurisdictionId, java.lang.Integer aJurisdictionGroupId, java.lang.Integer aSubclass)
          Creates an access bean with the specified attributes.
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findByJurisdictionIdAndSubclass(java.lang.Integer aJurisdictionId, java.lang.Integer aSubclass)
          Retrieves the JurisdictionGroupRelationshipAccessBeans that match the specified Jurisdiction and subclass.
 java.util.Enumeration findByJurstGroupIdAndSubclass(java.lang.Integer aJurisdictionGroupId, java.lang.Integer aSubclass)
          Retrieves the JurisdictionGroupRelationshipAccessBeans that match the specified JurisdictionGroup and subclass.
 java.lang.String getJurisdictionGroupId()
          This method provides access to the JURSTGPREL.JURSTGROUP_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getJurisdictionGroupIdInEJBType()
          This method provides access to the JURSTGPREL.JURSTGROUP_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getJurisdictionId()
          This method provides access to the JURSTGPREL.JURST_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getJurisdictionIdInEJBType()
          This method provides access to the JURSTGPREL.JURST_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getSubclass()
          This method provides access to the JURSTGPREL.SUBCLASS column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getSubclassInEJBType()
          This method provides access to the JURSTGPREL.SUBCLASS column of DB2 type INTEGER NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_iJurisdictionGroupId(java.lang.String aInitKey_iJurisdictionGroupId)
          Set the primary key for this object
 void setInitKey_iJurisdictionId(java.lang.String aInitKey_iJurisdictionId)
          Set the primary key for this object
 void setJurisdictionGroupId(java.lang.Integer aJurisdictionGroupId)
          This method provides access to the JURSTGPREL.JURSTGROUP_ID column of DB2 type INTEGER NOT NULL.
 void setJurisdictionGroupId(java.lang.String aJurisdictionGroupId)
          This method provides access to the JURSTGPREL.JURSTGROUP_ID column of DB2 type INTEGER NOT NULL.
 void setJurisdictionId(java.lang.Integer aJurisdictionId)
          This method provides access to the JURSTGPREL.JURST_ID column of DB2 type INTEGER NOT NULL.
 void setJurisdictionId(java.lang.String aJurisdictionId)
          This method provides access to the JURSTGPREL.JURST_ID column of DB2 type INTEGER NOT NULL.
 void setSubclass(java.lang.Integer aSubclass)
          This method provides access to the JURSTGPREL.SUBCLASS column of DB2 type INTEGER NOT NULL.
 void setSubclass(java.lang.String aSubclass)
          This method provides access to the JURSTGPREL.SUBCLASS column of DB2 type INTEGER NOT 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

JurisdictionGroupRelationshipAccessBean

public JurisdictionGroupRelationshipAccessBean()

Default constructor. Maps to findByPrimaryKey.


JurisdictionGroupRelationshipAccessBean

public JurisdictionGroupRelationshipAccessBean(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

JurisdictionGroupRelationshipAccessBean

public JurisdictionGroupRelationshipAccessBean(java.lang.Integer aJurisdictionId,
                                               java.lang.Integer aJurisdictionGroupId,
                                               java.lang.Integer aSubclass)
                                        throws javax.naming.NamingException,
                                               javax.ejb.CreateException,
                                               java.rmi.RemoteException,
                                               javax.ejb.FinderException

Creates an access bean with the specified attributes.

Parameters:
aJurisdictionId - the Jurisdiction ID
aJurisdictionGroupId - the JurisdictionGroup ID
aSubclass - the subclass
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
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

findByJurisdictionIdAndSubclass

public java.util.Enumeration findByJurisdictionIdAndSubclass(java.lang.Integer aJurisdictionId,
                                                             java.lang.Integer aSubclass)
                                                      throws java.rmi.RemoteException,
                                                             javax.ejb.FinderException,
                                                             javax.naming.NamingException

Retrieves the JurisdictionGroupRelationshipAccessBeans that match the specified Jurisdiction and subclass.

The SQL query used to fetch all the required rows from the JURSTGPREL table is:
SELECT * FROM JURSTGPREL T1 WHERE
T1.JURST_ID = ? AND T1.SUBCLASS = ?

Parameters:
aJurisdictionId - the Jurisdiction ID
aSubclass - the subclass
Returns:
An Enumeration of all the JurisdictionGroupRelationshipAccessBeans 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

findByJurstGroupIdAndSubclass

public java.util.Enumeration findByJurstGroupIdAndSubclass(java.lang.Integer aJurisdictionGroupId,
                                                           java.lang.Integer aSubclass)
                                                    throws java.rmi.RemoteException,
                                                           javax.ejb.FinderException,
                                                           javax.naming.NamingException

Retrieves the JurisdictionGroupRelationshipAccessBeans that match the specified JurisdictionGroup and subclass.

The SQL query used to fetch all the required rows from the JURSTGPREL table is:
SELECT * FROM JURSTGPREL T1 WHERE
T1.JURSTGROUP_ID = ? AND T1.SUBCLASS = ?

Parameters:
aJurisdictionGroupId - the JurisdictionGroup ID
aSubclass - the subclass
Returns:
An Enumeration of all the JurisdictionGroupRelationshipAccessBeans 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

getJurisdictionGroupId

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

This method provides access to the JURSTGPREL.JURSTGROUP_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The JurisdictionGroup.

Specified by:
getJurisdictionGroupId in interface JurisdictionGroupRelationshipAccessBeanData
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

getJurisdictionGroupIdInEJBType

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

This method provides access to the JURSTGPREL.JURSTGROUP_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The JurisdictionGroup.

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

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 JURSTGPREL.JURST_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Jurisdiction.

Specified by:
getJurisdictionId in interface JurisdictionGroupRelationshipAccessBeanData
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 JURSTGPREL.JURST_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Jurisdiction.

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 JURSTGPREL.SUBCLASS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The subclass of the jurisdiction and of the jurisdiction group should match as follows:
1 = ShippingJurisdiction[Group].
2 = TaxJurisdiction[Group].

Specified by:
getSubclass in interface JurisdictionGroupRelationshipAccessBeanData
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 JURSTGPREL.SUBCLASS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The subclass of the jurisdiction and of the jurisdiction group should match as follows:
1 = ShippingJurisdiction[Group].
2 = TaxJurisdiction[Group].

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

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

setInitKey_iJurisdictionGroupId

public void setInitKey_iJurisdictionGroupId(java.lang.String aInitKey_iJurisdictionGroupId)

Set the primary key for this object

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

setInitKey_iJurisdictionId

public void setInitKey_iJurisdictionId(java.lang.String aInitKey_iJurisdictionId)

Set the primary key for this object

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

setJurisdictionGroupId

public void setJurisdictionGroupId(java.lang.Integer aJurisdictionGroupId)

This method provides access to the JURSTGPREL.JURSTGROUP_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The JurisdictionGroup.

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

setJurisdictionGroupId

public void setJurisdictionGroupId(java.lang.String aJurisdictionGroupId)

This method provides access to the JURSTGPREL.JURSTGROUP_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The JurisdictionGroup.

Specified by:
setJurisdictionGroupId in interface JurisdictionGroupRelationshipAccessBeanData
Parameters:
aJurisdictionGroupId - java.lang.String
Returns:
void

setJurisdictionId

public void setJurisdictionId(java.lang.Integer aJurisdictionId)

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

The following is a description of this column:

The Jurisdiction.

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

setJurisdictionId

public void setJurisdictionId(java.lang.String aJurisdictionId)

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

The following is a description of this column:

The Jurisdiction.

Specified by:
setJurisdictionId in interface JurisdictionGroupRelationshipAccessBeanData
Parameters:
aJurisdictionId - java.lang.String
Returns:
void

setSubclass

public void setSubclass(java.lang.Integer aSubclass)

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

The following is a description of this column:

The subclass of the jurisdiction and of the jurisdiction group should match as follows:
1 = ShippingJurisdiction[Group].
2 = TaxJurisdiction[Group].

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

setSubclass

public void setSubclass(java.lang.String aSubclass)

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

The following is a description of this column:

The subclass of the jurisdiction and of the jurisdiction group should match as follows:
1 = ShippingJurisdiction[Group].
2 = TaxJurisdiction[Group].

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