com.ibm.commerce.fulfillment.objects
Class ShippingArrangementJurisdictionGroupRelationshipAccessBean

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

public class ShippingArrangementJurisdictionGroupRelationshipAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ShippingArrangementJurisdictionGroupRelationshipAccessBeanData

This bean provides access to the SHPARJURGP table.

The following is a description of this table:

Each row of this table indicates that a ShippingArrangement applies to all OrderItems whose shipping addresses match a ShippingJurisdictionGroup. Refer to SHPARRANGE.FLAGS.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
ShippingArrangementJurisdictionGroupRelationshipAccessBean()
          Default constructor.
ShippingArrangementJurisdictionGroupRelationshipAccessBean(javax.ejb.EJBObject aEJBObject)
          Creates an access bean for the specified EJB.
ShippingArrangementJurisdictionGroupRelationshipAccessBean(java.lang.Integer aJurisdictionGroupId, java.lang.Integer aShippingArrangementId)
          Creates an access bean with the specified attributes.
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findByShippingArrangementId(java.lang.Integer aShippingArrangementId)
          Retrieves the ShippingArrangementJurisdictionGroupRelationshipAccessBeans that match the specified ShippingArrangement.
 java.lang.String getJurisdictionGroupId()
          This method provides access to the SHPARJURGP.JURSTGROUP_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getJurisdictionGroupIdInEJBType()
          This method provides access to the SHPARJURGP.JURSTGROUP_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getShippingArrangementId()
          This method provides access to the SHPARJURGP.SHPARRANGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getShippingArrangementIdInEJBType()
          This method provides access to the SHPARJURGP.SHPARRANGE_ID 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_iShippingArrangementId(java.lang.String aInitKey_iShippingArrangementId)
          Set the primary key for this object
 void setJurisdictionGroupId(java.lang.Integer aJurisdictionGroupId)
          This method provides access to the SHPARJURGP.JURSTGROUP_ID column of DB2 type INTEGER NOT NULL.
 void setJurisdictionGroupId(java.lang.String aJurisdictionGroupId)
          This method provides access to the SHPARJURGP.JURSTGROUP_ID column of DB2 type INTEGER NOT NULL.
 void setShippingArrangementId(java.lang.Integer aShippingArrangementId)
          This method provides access to the SHPARJURGP.SHPARRANGE_ID column of DB2 type INTEGER NOT NULL.
 void setShippingArrangementId(java.lang.String aShippingArrangementId)
          This method provides access to the SHPARJURGP.SHPARRANGE_ID 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

ShippingArrangementJurisdictionGroupRelationshipAccessBean

public ShippingArrangementJurisdictionGroupRelationshipAccessBean()

Default constructor. Maps to findByPrimaryKey.


ShippingArrangementJurisdictionGroupRelationshipAccessBean

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

ShippingArrangementJurisdictionGroupRelationshipAccessBean

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

Creates an access bean with the specified attributes.

Parameters:
aJurisdictionGroupId - the JurisdictionGroup ID
aShippingArrangementId - the ShippingArrangement ID
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

findByShippingArrangementId

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

Retrieves the ShippingArrangementJurisdictionGroupRelationshipAccessBeans that match the specified ShippingArrangement.

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

Parameters:
aShippingArrangementId - the ShippingArrangement ID
Returns:
An Enumeration of all the ShippingArrangementJurisdictionGroupRelationshipAccessBeans 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 SHPARJURGP.JURSTGROUP_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ShippingJurisdictionGroup.

Specified by:
getJurisdictionGroupId in interface ShippingArrangementJurisdictionGroupRelationshipAccessBeanData
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 SHPARJURGP.JURSTGROUP_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ShippingJurisdictionGroup.

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

getShippingArrangementId

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

This method provides access to the SHPARJURGP.SHPARRANGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ShippingArrangement.

Specified by:
getShippingArrangementId in interface ShippingArrangementJurisdictionGroupRelationshipAccessBeanData
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

getShippingArrangementIdInEJBType

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

This method provides access to the SHPARJURGP.SHPARRANGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ShippingArrangement.

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_iShippingArrangementId

public void setInitKey_iShippingArrangementId(java.lang.String aInitKey_iShippingArrangementId)

Set the primary key for this object

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

setJurisdictionGroupId

public void setJurisdictionGroupId(java.lang.Integer aJurisdictionGroupId)

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

The following is a description of this column:

The ShippingJurisdictionGroup.

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

setJurisdictionGroupId

public void setJurisdictionGroupId(java.lang.String aJurisdictionGroupId)

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

The following is a description of this column:

The ShippingJurisdictionGroup.

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

setShippingArrangementId

public void setShippingArrangementId(java.lang.Integer aShippingArrangementId)

This method provides access to the SHPARJURGP.SHPARRANGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ShippingArrangement.

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

setShippingArrangementId

public void setShippingArrangementId(java.lang.String aShippingArrangementId)

This method provides access to the SHPARJURGP.SHPARRANGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ShippingArrangement.

Specified by:
setShippingArrangementId in interface ShippingArrangementJurisdictionGroupRelationshipAccessBeanData
Parameters:
aShippingArrangementId - java.lang.String
Returns:
void