com.ibm.commerce.order.objects
Class OrderMemberGroupRelationshipAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.order.objects.OrderMemberGroupRelationshipAccessBean
All Implemented Interfaces:
OrderMemberGroupRelationshipAccessBeanData
Direct Known Subclasses:
OrderMemberGroupRelationshipDataBeanBase

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

This table is used to track the customer segments to which an Order is associated. This access bean corresponds to the database table 'ORDERMGP'.

See Also:
Serialized Form

Constructor Summary
OrderMemberGroupRelationshipAccessBean()
Zero argument constructor used to initialize the access bean.
OrderMemberGroupRelationshipAccessBean(javax.ejb.EJBObject o)
constructor
OrderMemberGroupRelationshipAccessBean(java.lang.Long aMemberGroupId, java.lang.Long aOrdersId)
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).
protected java.lang.String defaultJNDIName()
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.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setInitKey_iMemberGroupId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_iOrdersId(java.lang.String newValue)
Set the primary key for this object
void setMemberGroupId(java.lang.Long newValue)
This method accesses a non-CMP field
void setMemberGroupId(java.lang.String newValue)
This method accesses a non-CMP field
void setOrdersId(java.lang.Long newValue)
This method accesses a non-CMP field
void setOrdersId(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

OrderMemberGroupRelationshipAccessBean

public OrderMemberGroupRelationshipAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.order.objects.OrderMemberGroupRelationship com.ibm.commerce.order.objimpl.OrderMemberGroupRelationshipHomeBase.findByPrimaryKey(com.ibm.commerce.order.objects.OrderMemberGroupRelationshipKey) 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_iMemberGroupId( java.lang.Long ) setInitKey_iOrdersId( java.lang.Long )

OrderMemberGroupRelationshipAccessBean

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

OrderMemberGroupRelationshipAccessBean

public OrderMemberGroupRelationshipAccessBean(java.lang.Long aMemberGroupId,
                                              java.lang.Long aOrdersId)
                                       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.)
aOrdersId - 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

setInitKey_iMemberGroupId

public void setInitKey_iMemberGroupId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_iOrdersId

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

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMemberGroupId

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

setMemberGroupId

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

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOrdersId

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

setOrdersId

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

Feedback