com.ibm.commerce.negotiation.objects
Class AuctionStoreRelationAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.negotiation.objects.AuctionStoreRelationAccessBean
All Implemented Interfaces:
AuctionStoreRelationAccessBeanData

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

This table shows the relationship between an auction and a store. This access bean corresponds to the database table 'AUCTSTRREL'.

See Also:
Serialized Form

Constructor Summary
AuctionStoreRelationAccessBean()
Zero argument constructor used to initialize the access bean.
AuctionStoreRelationAccessBean(javax.ejb.EJBObject o)
constructor
AuctionStoreRelationAccessBean(java.lang.Long arg1, java.lang.Integer arg2)
Creates an access bean with the specified attributes.
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
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).
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.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setAuctionId(java.lang.Long newValue)
This method accesses a non-CMP field
void setAuctionId(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_auctionId(java.lang.Long newValue)
Set the primary key for this object
void setInitKey_storeId(java.lang.Integer newValue)
Set the primary key for this object
void setItemPage(java.lang.String newValue)
This method accesses a non-CMP field
void setStoreId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setStoreId(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

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: setInitKey_auctionId( java.lang.Long ) setInitKey_storeId( java.lang.Integer )

AuctionStoreRelationAccessBean

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

AuctionStoreRelationAccessBean

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

Creates an access bean with the specified attributes.

Parameters:
arg1 - The auction id.
arg2 - The store id.
Method Detail

setInitKey_auctionId

public void setInitKey_auctionId(java.lang.Long newValue)

Set the primary key for this object

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

setInitKey_storeId

public void setInitKey_storeId(java.lang.Integer newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.Integer
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

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

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

setAuctionId

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

setAuctionId

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

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

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

setStoreId

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

setStoreId

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

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).

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

setItemPage

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

Feedback