com.ibm.commerce.fulfillment.objects
Class JurisdictionGroupRelationshipAccessBean

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

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

Each row of this table indicates that a jurisdiction of a particular subclass is in a jurisdiction group of that same subclass. This access bean corresponds to the database table 'JURSTGPREL'.

See Also:
Serialized Form

Constructor Summary
JurisdictionGroupRelationshipAccessBean()
Zero argument constructor used to initialize the access bean.
JurisdictionGroupRelationshipAccessBean(java.lang.Integer aJurisdictionId, java.lang.Integer aJurisdictionGroupId, java.lang.Integer aSubclass)
Creates an access bean with the specified attributes.
JurisdictionGroupRelationshipAccessBean(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 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 accesses a non-CMP field
java.lang.Integer getJurisdictionGroupIdInEJBType()
This method accesses a non-CMP field
java.lang.String getJurisdictionId()
This method accesses a non-CMP field
java.lang.Integer getJurisdictionIdInEJBType()
This method accesses a non-CMP field
java.lang.String getSubclass()
This method accesses a non-CMP field
java.lang.Integer getSubclassInEJBType()
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_iJurisdictionId(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 setJurisdictionId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setJurisdictionId(java.lang.String newValue)
This method accesses a non-CMP field
void setSubclass(java.lang.Integer newValue)
This method accesses a non-CMP field
void setSubclass(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

JurisdictionGroupRelationshipAccessBean

public JurisdictionGroupRelationshipAccessBean()
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.JurisdictionGroupRelationship com.ibm.commerce.fulfillment.objimpl.JurisdictionGroupRelationshipHomeBase.findByPrimaryKey(com.ibm.commerce.fulfillment.objects.JurisdictionGroupRelationshipKey) 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_iJurisdictionId( java.lang.Integer )

JurisdictionGroupRelationshipAccessBean

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

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

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

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

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_iJurisdictionId

public void setInitKey_iJurisdictionId(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

getJurisdictionId

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

getJurisdictionIdInEJBType

public java.lang.Integer getJurisdictionIdInEJBType()
                                             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

setJurisdictionId

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

setJurisdictionId

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

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 JurisdictionGroupRelationshipAccessBeanData
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 JurisdictionGroupRelationshipAccessBeanData

setJurisdictionGroupId

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

getSubclass

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

getSubclassInEJBType

public java.lang.Integer getSubclassInEJBType()
                                       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

setSubclass

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

setSubclass

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

Feedback