com.ibm.commerce.negotiation.objects
Class AuctionStyleAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.negotiation.objects.AuctionStyleAccessBean
All Implemented Interfaces:
AuctionStyleAccessBeanData
Direct Known Subclasses:
AuctionStyleDataBean

public class AuctionStyleAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements AuctionStyleAccessBeanData

This table stores information about available auction styles. This access bean corresponds to the database table 'AUCTSTYLE'.

See Also:
Serialized Form

Constructor Summary
AuctionStyleAccessBean()
Zero argument constructor used to initialize the access bean.
AuctionStyleAccessBean(javax.ejb.EJBObject o)
constructor
AuctionStyleAccessBean(java.lang.String aName, java.lang.Long ownerid, java.lang.String aType)
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.util.Enumeration findAllAuctionStyles(com.ibm.commerce.negotiation.util.SortingAttribute sort)
Retrieves all auction styles.
java.util.Enumeration findAuctionStylesByBidRule(java.lang.Long ruleid, com.ibm.commerce.negotiation.util.SortingAttribute sort)
Retrieves all auction styles with the specified bid control rule.
java.util.Enumeration findAuctionStylesByOwner(java.lang.Long ownerid, com.ibm.commerce.negotiation.util.SortingAttribute sort)
Retrieves all auction styles with the specified owner.
java.util.Enumeration findAuctionStylesByOwnerAndType(java.lang.Long ownerid, java.lang.String type, com.ibm.commerce.negotiation.util.SortingAttribute sort)
Retrieves all auction styles, for the auction type, with the specified owner.
java.util.Enumeration findAuctionStylesByType(java.lang.String type, com.ibm.commerce.negotiation.util.SortingAttribute sort)
Retrieves all auction styles for the specified auction type.
boolean fulfills(java.lang.Long arg0, java.lang.String arg1)
java.lang.String getAdminId()
This method provides access to the AUCTSTYLE.ADMIN_ID column of DB2 type BIGINT.
java.lang.Long getAdminIdInEJBType()
This method provides access to the AUCTSTYLE.ADMIN_ID column of DB2 type BIGINT.
java.lang.String getAuctionType()
This method provides access to the AUCTSTYLE.ASTYPE column of DB2 type CHAR(4) NOT NULL.
java.lang.String getBidRuleId()
This method provides access to the AUCTSTYLE.RULE_ID column of DB2 type BIGINT.
java.lang.Long getBidRuleIdInEJBType()
This method provides access to the AUCTSTYLE.RULE_ID column of DB2 type BIGINT.
java.lang.String getClosePriceRule()
This method provides access to the AUCTSTYLE.CLOSEPR column of DB2 type CHAR(4).
java.lang.String getCloseType()
This method provides access to the AUCTSTYLE.CLOSETYPE column of DB2 type INTEGER.
int getCloseTypeInEJBType()
This method provides access to the AUCTSTYLE.CLOSETYPE column of DB2 type INTEGER.
java.lang.String getCurrency()
This method provides access to the AUCTSTYLE.ASCUR column of DB2 type CHAR(4).
java.lang.String getDeposit()
This method provides access to the AUCTSTYLE.DEPOSIT column of DB2 type DECIMAL(20 5).
java.math.BigDecimal getDepositInEJBType()
This method provides access to the AUCTSTYLE.DEPOSIT column of DB2 type DECIMAL(20 5).
java.lang.String getDuration()
This method provides access to the AUCTSTYLE.ASDURATION column of DB2 type TIMESTAMP.
java.lang.String getDurationDays()
This method provides access to the AUCTSTYLE.DURDAYS column of DB2 type INTEGER.
int getDurationDaysInEJBType()
This method provides access to the AUCTSTYLE.DURDAYS column of DB2 type INTEGER.
java.sql.Timestamp getDurationInEJBType()
This method provides access to the AUCTSTYLE.ASDURATION column of DB2 type TIMESTAMP.
java.lang.String getEndDays()
This method provides access to the AUCTSTYLE.ENDDAYS column of DB2 type INTEGER.
int getEndDaysInEJBType()
This method provides access to the AUCTSTYLE.ENDDAYS column of DB2 type INTEGER.
java.lang.String getEndTime()
This method provides access to the AUCTSTYLE.ENDTIME column of DB2 type TIMESTAMP.
java.sql.Timestamp getEndTimeInEJBType()
This method provides access to the AUCTSTYLE.ENDTIME column of DB2 type TIMESTAMP.
java.lang.String getItemPage()
This method provides access to the AUCTSTYLE.ITEMPAGE column of DB2 type VARCHAR(254).
java.lang.String getName()
This method provides access to the AUCTSTYLE.ASNAME column of DB2 type CHAR(38) NOT NULL.
java.lang.String getOpenPrice()
This method provides access to the AUCTSTYLE.OPENPRICE column of DB2 type DECIMAL(20 5).
java.math.BigDecimal getOpenPriceInEJBType()
This method provides access to the AUCTSTYLE.OPENPRICE column of DB2 type DECIMAL(20 5).
java.lang.Long getOwner()
This method accesses a non-CMP field
java.lang.String getOwnerId()
This method provides access to the AUCTSTYLE.OWNER_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getOwnerIdInEJBType()
This method provides access to the AUCTSTYLE.OWNER_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getQuantity()
This method provides access to the AUCTSTYLE.AUQUANT column of DB2 type FLOAT NOT NULL.
java.lang.Double getQuantityInEJBType()
This method provides access to the AUCTSTYLE.AUQUANT column of DB2 type FLOAT NOT NULL.
java.lang.String getReservePrice()
This method provides access to the AUCTSTYLE.RESERVPRICE column of DB2 type DECIMAL(20 5).
java.math.BigDecimal getReservePriceInEJBType()
This method provides access to the AUCTSTYLE.RESERVPRICE column of DB2 type DECIMAL(20 5).
java.lang.String getRulePage()
This method provides access to the AUCTSTYLE.RULEPAGE column of DB2 type VARCHAR(254).
java.lang.String getStartDays()
This method provides access to the AUCTSTYLE.STARTDAYS column of DB2 type INTEGER.
int getStartDaysInEJBType()
This method provides access to the AUCTSTYLE.STARTDAYS column of DB2 type INTEGER.
java.lang.String getStartTime()
This method provides access to the AUCTSTYLE.STARTTIME column of DB2 type TIMESTAMP.
java.sql.Timestamp getStartTimeInEJBType()
This method provides access to the AUCTSTYLE.STARTTIME column of DB2 type TIMESTAMP.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setAdminId(java.lang.Long newValue)
This method accesses a non-CMP field
void setAdminId(java.lang.String newValue)
This method accesses a non-CMP field
void setAuctionType(java.lang.String newValue)
This method accesses a non-CMP field
void setBidRuleId(java.lang.Long newValue)
This method accesses a non-CMP field
void setBidRuleId(java.lang.String newValue)
This method accesses a non-CMP field
void setClosePriceRule(java.lang.String newValue)
This method accesses a non-CMP field
void setCloseType(int newValue)
This method accesses a non-CMP field
void setCloseType(java.lang.String newValue)
This method accesses a non-CMP field
void setCurrency(java.lang.String newValue)
This method accesses a non-CMP field
void setDeposit(java.math.BigDecimal newValue)
This method accesses a non-CMP field
void setDeposit(java.lang.String newValue)
This method accesses a non-CMP field
void setDuration(java.lang.String newValue)
This method accesses a non-CMP field
void setDuration(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setDurationDays(int newValue)
This method accesses a non-CMP field
void setDurationDays(java.lang.String newValue)
This method accesses a non-CMP field
void setEndDays(int newValue)
This method accesses a non-CMP field
void setEndDays(java.lang.String newValue)
This method accesses a non-CMP field
void setEndTime(java.lang.String newValue)
This method accesses a non-CMP field
void setEndTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setInitKey_name(java.lang.String newValue)
Set the primary key for this object
void setInitKey_ownerId(java.lang.Long newValue)
Set the primary key for this object
void setItemPage(java.lang.String newValue)
This method accesses a non-CMP field
void setName(java.lang.String newValue)
This method accesses a non-CMP field
void setOpenPrice(java.math.BigDecimal newValue)
This method accesses a non-CMP field
void setOpenPrice(java.lang.String newValue)
This method accesses a non-CMP field
void setOwnerId(java.lang.Long newValue)
This method accesses a non-CMP field
void setOwnerId(java.lang.String newValue)
This method accesses a non-CMP field
void setQuantity(java.lang.Double newValue)
This method accesses a non-CMP field
void setQuantity(java.lang.String newValue)
This method accesses a non-CMP field
void setReservePrice(java.math.BigDecimal newValue)
This method accesses a non-CMP field
void setReservePrice(java.lang.String newValue)
This method accesses a non-CMP field
void setRulePage(java.lang.String newValue)
This method accesses a non-CMP field
void setStartDays(int newValue)
This method accesses a non-CMP field
void setStartDays(java.lang.String newValue)
This method accesses a non-CMP field
void setStartTime(java.lang.String newValue)
This method accesses a non-CMP field
void setStartTime(java.sql.Timestamp 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

AuctionStyleAccessBean

public AuctionStyleAccessBean()
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.AuctionStyle com.ibm.commerce.negotiation.objimpl.AuctionStyleHomeBase.findByPrimaryKey(com.ibm.commerce.negotiation.objects.AuctionStyleKey) 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_name( java.lang.String ) setInitKey_ownerId( java.lang.Long )

AuctionStyleAccessBean

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

AuctionStyleAccessBean

public AuctionStyleAccessBean(java.lang.String aName,
                              java.lang.Long ownerid,
                              java.lang.String aType)
                       throws javax.ejb.CreateException,
                              java.rmi.RemoteException,
                              javax.naming.NamingException

Creates an access bean with the specified attributes.

Parameters:
aName - The auction style aName.
ownerid - The owner of the auction style.
aType - The auction aType. Valid values: O=open cry, SB=sealed bid, D=dutch.
Method Detail

findAllAuctionStyles

public java.util.Enumeration findAllAuctionStyles(com.ibm.commerce.negotiation.util.SortingAttribute sort)
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

Retrieves all auction styles.

The SQL query used to fetch all the required rows from the AUCTSTYLE table is:

SELECT * FROM AUCTSTYLE T1 WHERE 1=1

Parameters:
sort - The sorting attribute. This is a set of column names and the order in which they are each to be sorted (ascending, descending). This is used to build an ORDER BY clause.
Returns:
An Enumeration of all the AuctionStyleAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findAuctionStylesByBidRule

public java.util.Enumeration findAuctionStylesByBidRule(java.lang.Long ruleid,
                                                        com.ibm.commerce.negotiation.util.SortingAttribute sort)
                                                 throws java.rmi.RemoteException,
                                                        javax.ejb.FinderException,
                                                        javax.naming.NamingException

Retrieves all auction styles with the specified bid control rule.

The SQL query used to fetch all the required rows from the AUCTSTYLE table is:

SELECT * FROM AUCTSTYLE T1 WHERE T1.RULE_ID=?

Parameters:
ruleid - The bid control rule id.
sort - The sorting attribute. This is a set of column names and the order in which they are each to be sorted (ascending, descending). This is used to build an ORDER BY clause.
Returns:
An Enumeration of all the AuctionStyleAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findAuctionStylesByOwner

public java.util.Enumeration findAuctionStylesByOwner(java.lang.Long ownerid,
                                                      com.ibm.commerce.negotiation.util.SortingAttribute sort)
                                               throws java.rmi.RemoteException,
                                                      javax.ejb.FinderException,
                                                      javax.naming.NamingException

Retrieves all auction styles with the specified owner.

The SQL query used to fetch all the required rows from the AUCTSTYLE table is:

SELECT * FROM AUCTSTYLE T1 WHERE T1.OWNER_ID=?

Parameters:
ownerid - The owner of the auction style.
sort - The sorting attribute. This is a set of column names and the order in which they are each to be sorted (ascending, descending). This is used to build an ORDER BY clause.
Returns:
An Enumeration of all the AuctionStyleAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findAuctionStylesByOwnerAndType

public java.util.Enumeration findAuctionStylesByOwnerAndType(java.lang.Long ownerid,
                                                             java.lang.String type,
                                                             com.ibm.commerce.negotiation.util.SortingAttribute sort)
                                                      throws java.rmi.RemoteException,
                                                             javax.ejb.FinderException,
                                                             javax.naming.NamingException

Retrieves all auction styles, for the auction type, with the specified owner.

The SQL query used to fetch all the required rows from the AUCTSTYLE table is:

SELECT * FROM AUCTSTYLE T1 WHERE T1.OWNER_ID=? AND T1.ASTYPE=?

Parameters:
ownerid - The owner of the auction style.
type - The auction type. Valid values: O=open cry, SB=sealed bid, D=dutch.
sort - The sorting attribute. This is a set of column names and the order in which they are each to be sorted (ascending, descending). This is used to build an ORDER BY clause.
Returns:
An Enumeration of all the AuctionStyleAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findAuctionStylesByType

public java.util.Enumeration findAuctionStylesByType(java.lang.String type,
                                                     com.ibm.commerce.negotiation.util.SortingAttribute sort)
                                              throws javax.ejb.FinderException,
                                                     java.rmi.RemoteException,
                                                     javax.naming.NamingException

Retrieves all auction styles for the specified auction type.

The SQL query used to fetch all the required rows from the AUCTSTYLE table is:

SELECT * FROM AUCTSTYLE T1 WHERE T1.ASTYPE=?

Parameters:
type - The auction type. Valid values: O=open cry, SB=sealed bid, D=dutch.
sort - The sorting attribute. This is a set of column names and the order in which they are each to be sorted (ascending, descending). This is used to build an ORDER BY clause.
Returns:
An Enumeration of all the AuctionStyleAccessBeans representing rows that match the search criteria.
Throws:
javax.ejb.FinderException
java.rmi.RemoteException
javax.naming.NamingException

setInitKey_name

public void setInitKey_name(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_ownerId

public void setInitKey_ownerId(java.lang.Long newValue)

Set the primary key for this object

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

getQuantity

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

This method provides access to the AUCTSTYLE.AUQUANT column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

Auction quantity.

Specified by:
getQuantity in interface AuctionStyleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getQuantityInEJBType

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

This method provides access to the AUCTSTYLE.AUQUANT column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

Auction quantity.

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setQuantity

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

setQuantity

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

getStartTime

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

This method provides access to the AUCTSTYLE.STARTTIME column of DB2 type TIMESTAMP.

The following is a description of this column:

Auction starting time.

Specified by:
getStartTime in interface AuctionStyleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStartTimeInEJBType

public java.sql.Timestamp getStartTimeInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the AUCTSTYLE.STARTTIME column of DB2 type TIMESTAMP.

The following is a description of this column:

Auction starting time.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStartTime

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

setStartTime

public void setStartTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getOpenPrice

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

This method provides access to the AUCTSTYLE.OPENPRICE column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Opening price. Used by Dutch auctions.

Specified by:
getOpenPrice in interface AuctionStyleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOpenPriceInEJBType

public java.math.BigDecimal getOpenPriceInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the AUCTSTYLE.OPENPRICE column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Opening price. Used by Dutch auctions.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOpenPrice

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

setOpenPrice

public void setOpenPrice(java.math.BigDecimal newValue)
This method accesses a non-CMP field

getReservePrice

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

This method provides access to the AUCTSTYLE.RESERVPRICE column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Reserve price for the auction.

Specified by:
getReservePrice in interface AuctionStyleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getReservePriceInEJBType

public java.math.BigDecimal getReservePriceInEJBType()
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.CreateException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException

This method provides access to the AUCTSTYLE.RESERVPRICE column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Reserve price for the auction.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setReservePrice

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

setReservePrice

public void setReservePrice(java.math.BigDecimal newValue)
This method accesses a non-CMP field

getEndDays

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

This method provides access to the AUCTSTYLE.ENDDAYS column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getEndDays in interface AuctionStyleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getEndDaysInEJBType

public int getEndDaysInEJBType()
                        throws java.rmi.RemoteException,
                               javax.ejb.CreateException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

This method provides access to the AUCTSTYLE.ENDDAYS column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
int
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setEndDays

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

setEndDays

public void setEndDays(int newValue)
This method accesses a non-CMP field

getOwnerId

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

This method provides access to the AUCTSTYLE.OWNER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID of the owner of the auction style.

Specified by:
getOwnerId in interface AuctionStyleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOwnerIdInEJBType

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

This method provides access to the AUCTSTYLE.OWNER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID of the owner of the auction style.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOwnerId

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

setOwnerId

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

getDurationDays

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

This method provides access to the AUCTSTYLE.DURDAYS column of DB2 type INTEGER.

The following is a description of this column:

Auction duration in days.

Specified by:
getDurationDays in interface AuctionStyleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getDurationDaysInEJBType

public int getDurationDaysInEJBType()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the AUCTSTYLE.DURDAYS column of DB2 type INTEGER.

The following is a description of this column:

Auction duration in days.

Returns:
int
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDurationDays

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

setDurationDays

public void setDurationDays(int newValue)
This method accesses a non-CMP field

getAdminId

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

This method provides access to the AUCTSTYLE.ADMIN_ID column of DB2 type BIGINT.

The following is a description of this column:

The ID of the administrator who created the auction style.

Specified by:
getAdminId in interface AuctionStyleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getAdminIdInEJBType

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

This method provides access to the AUCTSTYLE.ADMIN_ID column of DB2 type BIGINT.

The following is a description of this column:

The ID of the administrator who created the auction style.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setAdminId

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

setAdminId

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

getAuctionType

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

This method provides access to the AUCTSTYLE.ASTYPE column of DB2 type CHAR(4) NOT NULL.

The following is a description of this column:

Auction type. Valid values are as follows: &l

Specified by:
getAuctionType in interface AuctionStyleAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setAuctionType

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

getCurrency

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

This method provides access to the AUCTSTYLE.ASCUR column of DB2 type CHAR(4).

The following is a description of this column:

Currency code. This is a currency code as per ISO 4217 standards.

Specified by:
getCurrency in interface AuctionStyleAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCurrency

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

getCloseType

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

This method provides access to the AUCTSTYLE.CLOSETYPE column of DB2 type INTEGER.

The following is a description of this column:

Auction closing rule. Valid values are as follows: &l

Specified by:
getCloseType in interface AuctionStyleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getCloseTypeInEJBType

public int getCloseTypeInEJBType()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

This method provides access to the AUCTSTYLE.CLOSETYPE column of DB2 type INTEGER.

The following is a description of this column:

Auction closing rule. Valid values are as follows: &l

Returns:
int
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCloseType

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

setCloseType

public void setCloseType(int newValue)
This method accesses a non-CMP field

getEndTime

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

This method provides access to the AUCTSTYLE.ENDTIME column of DB2 type TIMESTAMP.

The following is a description of this column:

Auction ending date and time.

Specified by:
getEndTime in interface AuctionStyleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getEndTimeInEJBType

public java.sql.Timestamp getEndTimeInEJBType()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the AUCTSTYLE.ENDTIME column of DB2 type TIMESTAMP.

The following is a description of this column:

Auction ending date and time.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setEndTime

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

setEndTime

public void setEndTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getDeposit

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

This method provides access to the AUCTSTYLE.DEPOSIT column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Deposit amount required for the auction.

Specified by:
getDeposit in interface AuctionStyleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getDepositInEJBType

public java.math.BigDecimal getDepositInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the AUCTSTYLE.DEPOSIT column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Deposit amount required for the auction.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDeposit

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

setDeposit

public void setDeposit(java.math.BigDecimal newValue)
This method accesses a non-CMP field

getDuration

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

This method provides access to the AUCTSTYLE.ASDURATION column of DB2 type TIMESTAMP.

The following is a description of this column:

Auction duration.

Specified by:
getDuration in interface AuctionStyleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getDurationInEJBType

public java.sql.Timestamp getDurationInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the AUCTSTYLE.ASDURATION column of DB2 type TIMESTAMP.

The following is a description of this column:

Auction duration.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDuration

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

setDuration

public void setDuration(java.sql.Timestamp 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 AUCTSTYLE.ITEMPAGE column of DB2 type VARCHAR(254).

The following is a description of this column:

Name of the page used to display the item when it is on auction.

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

getStartDays

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

This method provides access to the AUCTSTYLE.STARTDAYS column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getStartDays in interface AuctionStyleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStartDaysInEJBType

public int getStartDaysInEJBType()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

This method provides access to the AUCTSTYLE.STARTDAYS column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
int
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStartDays

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

setStartDays

public void setStartDays(int newValue)
This method accesses a non-CMP field

getName

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

This method provides access to the AUCTSTYLE.ASNAME column of DB2 type CHAR(38) NOT NULL.

The following is a description of this column:

Auction style name.

Specified by:
getName in interface AuctionStyleAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setName

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

getRulePage

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

This method provides access to the AUCTSTYLE.RULEPAGE column of DB2 type VARCHAR(254).

The following is a description of this column:

Rule page. The name of the JSP file used to display the auction rules.

Specified by:
getRulePage in interface AuctionStyleAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRulePage

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

getBidRuleId

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

This method provides access to the AUCTSTYLE.RULE_ID column of DB2 type BIGINT.

The following is a description of this column:

Bid control rule for this auction. Foreign key to the CONTRLRULE table.

Specified by:
getBidRuleId in interface AuctionStyleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getBidRuleIdInEJBType

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

This method provides access to the AUCTSTYLE.RULE_ID column of DB2 type BIGINT.

The following is a description of this column:

Bid control rule for this auction. Foreign key to the CONTRLRULE table.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setBidRuleId

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

setBidRuleId

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

getClosePriceRule

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

This method provides access to the AUCTSTYLE.CLOSEPR column of DB2 type CHAR(4).

The following is a description of this column:

Auction closing price rule. Valid values are as follows: &l

Specified by:
getClosePriceRule in interface AuctionStyleAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setClosePriceRule

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

fulfills

public boolean fulfills(java.lang.Long arg0,
                        java.lang.String arg1)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.lang.Exception
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

Feedback