com.ibm.commerce.marketingcenter.events.objects
Class OrdersMemberGroupAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.marketingcenter.events.objects.OrdersMemberGroupAccessBean

public class OrdersMemberGroupAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean

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
OrdersMemberGroupAccessBean()
Default constructor.
OrdersMemberGroupAccessBean(javax.ejb.EJBObject o)
constructor
OrdersMemberGroupAccessBean(java.lang.Long anOrdersId, java.lang.Long aMemberGroupId)
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_memberGroupId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_ordersId(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

OrdersMemberGroupAccessBean

public OrdersMemberGroupAccessBean()

Default constructor. Maps to findByPrimaryKey.


OrdersMemberGroupAccessBean

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

OrdersMemberGroupAccessBean

public OrdersMemberGroupAccessBean(java.lang.Long anOrdersId,
                                   java.lang.Long aMemberGroupId)
                            throws javax.ejb.CreateException,
                                   java.rmi.RemoteException,
                                   javax.naming.NamingException

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

Parameters:
anOrdersId - A orders identifier
aMemberGroupId - A member group identifier
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException
Method Detail

setInitKey_memberGroupId

public void setInitKey_memberGroupId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_ordersId

public void setInitKey_ordersId(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.

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

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.

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

setOrdersId

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

Feedback