com.ibm.commerce.order.objects
Class OrderMemberGroupRelationshipAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.order.objects.OrderMemberGroupRelationshipAccessBean
All Implemented Interfaces:
OrderMemberGroupRelationshipAccessBeanData, java.io.Serializable

public class OrderMemberGroupRelationshipAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OrderMemberGroupRelationshipAccessBeanData

This bean provides access to the ORDERMGP table.

The following is a description of this table:

This table is used to track the customer profiles to which an Order is associated.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
OrderMemberGroupRelationshipAccessBean()
          Default constructor.
OrderMemberGroupRelationshipAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
OrderMemberGroupRelationshipAccessBean(java.lang.Long aMemberGroupId, java.lang.Long aOrderId)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.lang.String getMemberGroupId()
          This method provides access to the ORDERMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getMemberGroupIdInEJBType()
          This method provides access to the ORDERMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getOrdersId()
          This method provides access to the ORDERMGP.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrdersIdInEJBType()
          This method provides access to the ORDERMGP.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_iMemberGroupId(java.lang.String aInitKey_iMemberGroupId)
          Set the primary key for this object
 void setInitKey_iOrdersId(java.lang.String aInitKey_iOrdersId)
          Set the primary key for this object
 void setMemberGroupId(java.lang.Long aMemberGroupId)
          This method provides access to the ORDERMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 void setMemberGroupId(java.lang.String aMemberGroupId)
          This method provides access to the ORDERMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 void setOrdersId(java.lang.Long aOrdersId)
          This method provides access to the ORDERMGP.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void setOrdersId(java.lang.String aOrdersId)
          This method provides access to the ORDERMGP.ORDERS_ID column of DB2 type BIGINT 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

OrderMemberGroupRelationshipAccessBean

public OrderMemberGroupRelationshipAccessBean()

Default constructor. Maps to findByPrimaryKey.


OrderMemberGroupRelationshipAccessBean

public OrderMemberGroupRelationshipAccessBean(javax.ejb.EJBObject object)
                                       throws java.rmi.RemoteException

Creates an access bean for the specified EJB

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

OrderMemberGroupRelationshipAccessBean

public OrderMemberGroupRelationshipAccessBean(java.lang.Long aMemberGroupId,
                                              java.lang.Long aOrderId)
                                       throws javax.naming.NamingException,
                                              javax.ejb.CreateException,
                                              java.rmi.RemoteException,
                                              javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aMemberGroupId - The member group ID. (Foreign key to the MBRGRP table.)
aOrderId - The order ID. (Foreign key to the ORDERS table.)
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException 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
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

getMemberGroupId

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

This method provides access to the ORDERMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the MBRGRP table.

Specified by:
getMemberGroupId in interface OrderMemberGroupRelationshipAccessBeanData
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

getMemberGroupIdInEJBType

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

This method provides access to the ORDERMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the MBRGRP table.

Returns:
java.lang.Long
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

getOrdersId

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

This method provides access to the ORDERMGP.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the ORDERS table.

Specified by:
getOrdersId in interface OrderMemberGroupRelationshipAccessBeanData
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

getOrdersIdInEJBType

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

This method provides access to the ORDERMGP.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the ORDERS table.

Returns:
java.lang.Long
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
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_iMemberGroupId

public void setInitKey_iMemberGroupId(java.lang.String aInitKey_iMemberGroupId)

Set the primary key for this object

Parameters:
aInitKey_iMemberGroupId - The member group ID. (Foreign key to the MBRGRP table.)

setInitKey_iOrdersId

public void setInitKey_iOrdersId(java.lang.String aInitKey_iOrdersId)

Set the primary key for this object

Parameters:
aInitKey_iOrdersId - The order ID. (Foreign key to the ORDERS table.)

setMemberGroupId

public void setMemberGroupId(java.lang.Long aMemberGroupId)

This method provides access to the ORDERMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the MBRGRP table.

Parameters:
aMemberGroupId - java.lang.Long

setMemberGroupId

public void setMemberGroupId(java.lang.String aMemberGroupId)

This method provides access to the ORDERMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the MBRGRP table.

Specified by:
setMemberGroupId in interface OrderMemberGroupRelationshipAccessBeanData
Parameters:
aMemberGroupId - java.lang.String

setOrdersId

public void setOrdersId(java.lang.Long aOrdersId)

This method provides access to the ORDERMGP.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the ORDERS table.

Parameters:
aOrdersId - java.lang.Long

setOrdersId

public void setOrdersId(java.lang.String aOrdersId)

This method provides access to the ORDERMGP.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the ORDERS table.

Specified by:
setOrdersId in interface OrderMemberGroupRelationshipAccessBeanData
Parameters:
aOrdersId - java.lang.String