com.ibm.commerce.couponwallet.objects
Class CouponWalletBean

java.lang.Object
  |
  +--com.ibm.commerce.base.objects.ECEntityBean
        |
        +--com.ibm.commerce.couponwallet.objects.CouponWalletBean

public class CouponWalletBean
extends com.ibm.commerce.base.objects.ECEntityBean

Bean implementation class for Enterprise Bean: CouponWallet

See Also:
Serialized Form

Field Summary
 java.lang.String acceptFromType
          Implemetation field for persistent attribute: acceptFromType
 java.lang.Long bcId
          Implemetation field for persistent attribute: bcId
 java.lang.String field1
          Implemetation field for persistent attribute: field1
 java.lang.Integer numUse
          Implemetation field for persistent attribute: numUse
 java.lang.Integer promoId
          Implemetation field for persistent attribute: promoId
 java.lang.Long shopperId
          Implemetation field for persistent attribute: shopperId
 java.lang.String state
          Implemetation field for persistent attribute: state
 java.sql.Timestamp timeAccept
          Implemetation field for persistent attribute: timeAccept
 
Constructor Summary
CouponWalletBean()
           
 
Method Summary
 java.util.Hashtable _copyFromEJB()
          _copyFromEJB
 void _copyToEJB(java.util.Hashtable h)
          _copyToEJB
protected  java.util.Vector _getLinks()
          This method was generated for supporting the associations.
protected  void _initLinks()
          This method was generated for supporting the associations.
protected  void _removeLinks()
          This method was generated for supporting the associations.
 void ejbActivate()
          ejbActivate
 com.ibm.commerce.couponwallet.objects.CouponWalletKey ejbCreate(java.lang.Integer newPromoId, java.lang.Long newShopperId, java.lang.String newState, java.lang.String newAcceptFromType)
          ejbCreate method for a CMP entity bean.
 void ejbLoad()
          ejbLoad
 void ejbPassivate()
          ejbPassivate
 void ejbPostCreate(java.lang.Integer newPromoId, java.lang.Long newShopperId, java.lang.String newState, java.lang.String newAcceptFromType)
          ejbPostCreate
 void ejbRemove()
          ejbRemove
 void ejbStore()
          ejbStore
 java.lang.String getAcceptFromType()
          Get accessor for persistent attribute: acceptFromType
 java.lang.Long getBcId()
          Gets the bcId
 javax.ejb.EntityContext getEntityContext()
          getEntityContext
 java.lang.String getField1()
          Get accessor for persistent attribute: field1
 java.lang.Integer getNumUse()
          Get accessor for persistent attribute: numUse
 java.lang.Integer getPromoId()
          Get accessor for persistent attribute: promoId
 java.lang.Long getShopperId()
          Get accessor for persistent attribute: shopperId
 java.lang.String getState()
          Get accessor for persistent attribute: state
 java.sql.Timestamp getTimeAccept()
          Get accessor for persistent attribute: timeAccept
 void setAcceptFromType(java.lang.String newAcceptFromType)
          Set accessor for persistent attribute: acceptFromType
 void setEntityContext(javax.ejb.EntityContext ctx)
          setEntityContext
 void setField1(java.lang.String newField1)
          Set accessor for persistent attribute: field1
 void setNumUse(java.lang.Integer newNumUse)
          Set accessor for persistent attribute: numUse
 void setPromoId(java.lang.Integer newPromoId)
          Set accessor for persistent attribute: promoId
 void setShopperId(java.lang.Long newShopperId)
          Set accessor for persistent attribute: shopperId
 void setState(java.lang.String newState)
          Set accessor for persistent attribute: state
 void setTimeAccept(java.sql.Timestamp newTimeAccept)
          Set accessor for persistent attribute: timeAccept
 void unsetEntityContext()
          unsetEntityContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bcId

public java.lang.Long bcId
Implemetation field for persistent attribute: bcId

promoId

public java.lang.Integer promoId
Implemetation field for persistent attribute: promoId

shopperId

public java.lang.Long shopperId
Implemetation field for persistent attribute: shopperId

state

public java.lang.String state
Implemetation field for persistent attribute: state

acceptFromType

public java.lang.String acceptFromType
Implemetation field for persistent attribute: acceptFromType

timeAccept

public java.sql.Timestamp timeAccept
Implemetation field for persistent attribute: timeAccept

field1

public java.lang.String field1
Implemetation field for persistent attribute: field1

numUse

public java.lang.Integer numUse
Implemetation field for persistent attribute: numUse
Constructor Detail

CouponWalletBean

public CouponWalletBean()
Method Detail

getEntityContext

public javax.ejb.EntityContext getEntityContext()
getEntityContext

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
setEntityContext

unsetEntityContext

public void unsetEntityContext()
unsetEntityContext

ejbActivate

public void ejbActivate()
ejbActivate

ejbCreate

public com.ibm.commerce.couponwallet.objects.CouponWalletKey ejbCreate(java.lang.Integer newPromoId,
                                                                       java.lang.Long newShopperId,
                                                                       java.lang.String newState,
                                                                       java.lang.String newAcceptFromType)
                                                                throws javax.ejb.CreateException,
                                                                       javax.naming.NamingException,
                                                                       javax.ejb.FinderException
ejbCreate method for a CMP entity bean.
javax.ejb.CreateException
javax.naming.NamingException
javax.ejb.FinderException

ejbLoad

public void ejbLoad()
ejbLoad

ejbPassivate

public void ejbPassivate()
ejbPassivate

ejbPostCreate

public void ejbPostCreate(java.lang.Integer newPromoId,
                          java.lang.Long newShopperId,
                          java.lang.String newState,
                          java.lang.String newAcceptFromType)
                   throws javax.ejb.CreateException,
                          javax.naming.NamingException,
                          javax.ejb.FinderException
ejbPostCreate
javax.ejb.CreateException
javax.naming.NamingException
javax.ejb.FinderException

ejbRemove

public void ejbRemove()
               throws javax.ejb.RemoveException
ejbRemove
javax.ejb.RemoveException

ejbStore

public void ejbStore()
ejbStore

_initLinks

protected void _initLinks()
This method was generated for supporting the associations.

_getLinks

protected java.util.Vector _getLinks()
This method was generated for supporting the associations.

_removeLinks

protected void _removeLinks()
                     throws java.rmi.RemoteException,
                            javax.ejb.RemoveException
This method was generated for supporting the associations.
java.rmi.RemoteException
javax.ejb.RemoveException

getPromoId

public java.lang.Integer getPromoId()
Get accessor for persistent attribute: promoId

setPromoId

public void setPromoId(java.lang.Integer newPromoId)
Set accessor for persistent attribute: promoId

getShopperId

public java.lang.Long getShopperId()
Get accessor for persistent attribute: shopperId

setShopperId

public void setShopperId(java.lang.Long newShopperId)
Set accessor for persistent attribute: shopperId

getState

public java.lang.String getState()
Get accessor for persistent attribute: state

setState

public void setState(java.lang.String newState)
Set accessor for persistent attribute: state

getAcceptFromType

public java.lang.String getAcceptFromType()
Get accessor for persistent attribute: acceptFromType

setAcceptFromType

public void setAcceptFromType(java.lang.String newAcceptFromType)
Set accessor for persistent attribute: acceptFromType

getTimeAccept

public java.sql.Timestamp getTimeAccept()
Get accessor for persistent attribute: timeAccept

setTimeAccept

public void setTimeAccept(java.sql.Timestamp newTimeAccept)
Set accessor for persistent attribute: timeAccept

getField1

public java.lang.String getField1()
Get accessor for persistent attribute: field1

setField1

public void setField1(java.lang.String newField1)
Set accessor for persistent attribute: field1

getNumUse

public java.lang.Integer getNumUse()
Get accessor for persistent attribute: numUse

setNumUse

public void setNumUse(java.lang.Integer newNumUse)
Set accessor for persistent attribute: numUse

getBcId

public java.lang.Long getBcId()
Gets the bcId
Returns:
Returns a java.lang.Long

_copyFromEJB

public java.util.Hashtable _copyFromEJB()
_copyFromEJB

_copyToEJB

public void _copyToEJB(java.util.Hashtable h)
_copyToEJB