com.ibm.commerce.fulfillment.objects
Class ShippingArrangementJurisdictionGroupRelationshipAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.fulfillment.objects.ShippingArrangementJurisdictionGroupRelationshipAccessBean
All Implemented Interfaces:
ShippingArrangementJurisdictionGroupRelationshipAccessBeanData

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

Each row of this table indicates that a ShippingArrangement applies to all OrderItems whose shipping addresses match a ShippingJurisdictionGroup. Refer to SHPARRANGE.FLAGS. This access bean corresponds to the database table 'SHPARJURGP'.

See Also:
Serialized Form

Constructor Summary
ShippingArrangementJurisdictionGroupRelationshipAccessBean()
Zero argument constructor used to initialize the access bean.
ShippingArrangementJurisdictionGroupRelationshipAccessBean(java.lang.Integer aJurisdictionGroupId, java.lang.Integer aShippingArrangementId)
Creates an access bean with the specified attributes.
ShippingArrangementJurisdictionGroupRelationshipAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findByShippingArrangementId(java.lang.Integer aShippingArrangementId)
Retrieves the ShippingArrangementJurisdictionGroupRelationshipAccessBeans that match the specified ShippingArrangement.
java.lang.String getJurisdictionGroupId()
This method accesses a non-CMP field
java.lang.Integer getJurisdictionGroupIdInEJBType()
This method accesses a non-CMP field
java.lang.String getShippingArrangementId()
This method accesses a non-CMP field
java.lang.Integer getShippingArrangementIdInEJBType()
This method accesses a non-CMP field
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setInitKey_iJurisdictionGroupId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_iShippingArrangementId(java.lang.String newValue)
Set the primary key for this object
void setJurisdictionGroupId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setJurisdictionGroupId(java.lang.String newValue)
This method accesses a non-CMP field
void setShippingArrangementId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setShippingArrangementId(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ShippingArrangementJurisdictionGroupRelationshipAccessBean

public ShippingArrangementJurisdictionGroupRelationshipAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.fulfillment.objects.ShippingArrangementJurisdictionGroupRelationship com.ibm.commerce.fulfillment.objimpl.ShippingArrangementJurisdictionGroupRelationshipHomeBase.findByPrimaryKey(com.ibm.commerce.fulfillment.objects.ShippingArrangementJurisdictionGroupRelationshipKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_iJurisdictionGroupId( java.lang.Integer ) setInitKey_iShippingArrangementId( java.lang.Integer )

ShippingArrangementJurisdictionGroupRelationshipAccessBean

public ShippingArrangementJurisdictionGroupRelationshipAccessBean(javax.ejb.EJBObject o)
                                                           throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

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
javax.ejb.FinderException
Method Detail

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

setInitKey_iJurisdictionGroupId

public void setInitKey_iJurisdictionGroupId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_iShippingArrangementId

public void setInitKey_iShippingArrangementId(java.lang.String newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

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).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

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

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getJurisdictionGroupId

public java.lang.String getJurisdictionGroupId()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getJurisdictionGroupId in interface ShippingArrangementJurisdictionGroupRelationshipAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getJurisdictionGroupIdInEJBType

public java.lang.Integer getJurisdictionGroupIdInEJBType()
                                                  throws java.rmi.RemoteException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setJurisdictionGroupId

public void setJurisdictionGroupId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setJurisdictionGroupId in interface ShippingArrangementJurisdictionGroupRelationshipAccessBeanData

setJurisdictionGroupId

public void setJurisdictionGroupId(java.lang.Integer newValue)
This method accesses a non-CMP field

getShippingArrangementId

public java.lang.String getShippingArrangementId()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getShippingArrangementId in interface ShippingArrangementJurisdictionGroupRelationshipAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getShippingArrangementIdInEJBType

public java.lang.Integer getShippingArrangementIdInEJBType()
                                                    throws java.rmi.RemoteException,
                                                           javax.ejb.CreateException,
                                                           javax.ejb.FinderException,
                                                           javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setShippingArrangementId

public void setShippingArrangementId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setShippingArrangementId in interface ShippingArrangementJurisdictionGroupRelationshipAccessBeanData

setShippingArrangementId

public void setShippingArrangementId(java.lang.Integer newValue)
This method accesses a non-CMP field

Feedback