com.ibm.commerce.negotiation.objects
Class AuctionStoreRelationAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.negotiation.objects.AuctionStoreRelationAccessBean
All Implemented Interfaces:
AuctionStoreRelationAccessBeanData, java.io.Serializable

public class AuctionStoreRelationAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements AuctionStoreRelationAccessBeanData

This bean provides access to the AUCTSTRREL table.

The following is a description of this table:

This table shows the relationship between an auction and a store.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
AuctionStoreRelationAccessBean()
          Zero argument constructor used to initialize the access bean.
AuctionStoreRelationAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
AuctionStoreRelationAccessBean(java.lang.Long auctionId, java.lang.Integer storeId)
          Creates an access bean with the specified attributes.
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.lang.String getAuctionId()
          This method provides access to the AUCTSTRREL.AUCT_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getAuctionIdInEJBType()
          This method provides access to the AUCTSTRREL.AUCT_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getItemPage()
          This method provides access to the AUCTSTRREL.ITEMPAGE column of DB2 type VARCHAR(254) NULL.
 java.lang.String getStoreId()
          This method provides access to the AUCTSTRREL.STORE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreIdInEJBType()
          This method provides access to the AUCTSTRREL.STORE_ID column of DB2 type INTEGER NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAuctionId(java.lang.Long aAuctionId1)
          This method provides access to the AUCTSTRREL.AUCT_ID column of DB2 type BIGINT NOT NULL.
 void setAuctionId(java.lang.String aAuctionId1)
          This method provides access to the AUCTSTRREL.AUCT_ID column of DB2 type BIGINT NOT NULL.
 void setInitKey_auctionId(java.lang.Long aInitKey_auctionId1)
          Set the primary key for this object
 void setInitKey_storeId(java.lang.Integer aInitKey_storeId1)
          Set the primary key for this object
 void setItemPage(java.lang.String aItemPage1)
          This method provides access to the AUCTSTRREL.ITEMPAGE column of DB2 type VARCHAR(254) NULL.
 void setStoreId(java.lang.Integer aStoreId1)
          This method provides access to the AUCTSTRREL.STORE_ID column of DB2 type INTEGER NOT NULL.
 void setStoreId(java.lang.String aStoreId1)
          This method provides access to the AUCTSTRREL.STORE_ID column of DB2 type INTEGER 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

AuctionStoreRelationAccessBean

public AuctionStoreRelationAccessBean()

Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method:

public abstract com.ibm.commerce.negotiation.objects.AuctionStoreRelation com.ibm.commerce.negotiation.objimpl.AuctionStoreRelationHomeBase.findByPrimaryKey(com.ibm.commerce.negotiation.objects.AuctionStoreRelationKey) 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:


AuctionStoreRelationAccessBean

public AuctionStoreRelationAccessBean(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.

AuctionStoreRelationAccessBean

public AuctionStoreRelationAccessBean(java.lang.Long auctionId,
                                      java.lang.Integer storeId)
                               throws javax.ejb.CreateException,
                                      java.rmi.RemoteException,
                                      javax.naming.NamingException

Creates an access bean with the specified attributes.

Parameters:
auctionId - The auction id.
storeId - The store id.
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
Returns:
void
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

getAuctionId

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

This method provides access to the AUCTSTRREL.AUCT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Auction ID.

Specified by:
getAuctionId in interface AuctionStoreRelationAccessBeanData
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

getAuctionIdInEJBType

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

This method provides access to the AUCTSTRREL.AUCT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Auction ID.

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

getItemPage

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

This method provides access to the AUCTSTRREL.ITEMPAGE column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The item page used to display the product.

Specified by:
getItemPage in interface AuctionStoreRelationAccessBeanData
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

getStoreId

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

This method provides access to the AUCTSTRREL.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store conducting the auction.

Specified by:
getStoreId in interface AuctionStoreRelationAccessBeanData
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

getStoreIdInEJBType

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

This method provides access to the AUCTSTRREL.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store conducting the auction.

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

setAuctionId

public void setAuctionId(java.lang.Long aAuctionId1)

This method provides access to the AUCTSTRREL.AUCT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Auction ID.

Parameters:
aAuctionId1 - java.lang.Long
Returns:
void

setAuctionId

public void setAuctionId(java.lang.String aAuctionId1)

This method provides access to the AUCTSTRREL.AUCT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Auction ID.

Specified by:
setAuctionId in interface AuctionStoreRelationAccessBeanData
Parameters:
aAuctionId1 - java.lang.String
Returns:
void

setInitKey_auctionId

public void setInitKey_auctionId(java.lang.Long aInitKey_auctionId1)

Set the primary key for this object

Parameters:
aInitKey_auctionId1 - java.lang.Long
Returns:
void

setInitKey_storeId

public void setInitKey_storeId(java.lang.Integer aInitKey_storeId1)

Set the primary key for this object

Parameters:
aInitKey_storeId1 - java.lang.Integer
Returns:
void

setItemPage

public void setItemPage(java.lang.String aItemPage1)

This method provides access to the AUCTSTRREL.ITEMPAGE column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The item page used to display the product.

Specified by:
setItemPage in interface AuctionStoreRelationAccessBeanData
Parameters:
aItemPage1 - java.lang.String
Returns:
void

setStoreId

public void setStoreId(java.lang.Integer aStoreId1)

This method provides access to the AUCTSTRREL.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store conducting the auction.

Parameters:
aStoreId1 - java.lang.Integer
Returns:
void

setStoreId

public void setStoreId(java.lang.String aStoreId1)

This method provides access to the AUCTSTRREL.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store conducting the auction.

Specified by:
setStoreId in interface AuctionStoreRelationAccessBeanData
Parameters:
aStoreId1 - java.lang.String
Returns:
void