com.ibm.commerce.negotiation.objects
Class ControlRuleAccessBean

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

public class ControlRuleAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ControlRuleAccessBeanData

This bean provides access to the CONTRLRULE table.

The following is a description of this table:

This table contains information about bid control rules used in auctions.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
ControlRuleAccessBean()
          Zero argument constructor used to initialize the access bean.
ControlRuleAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
ControlRuleAccessBean(java.lang.Long ownerid, java.lang.Long classId, java.lang.String name, java.lang.String type)
          Creates an access bean with the specified attributes.
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findAllRules(com.ibm.commerce.negotiation.util.SortingAttribute sort)
          Retrieves all control rules.
 java.util.Enumeration findRulesByOwner(java.lang.Long ownerId, com.ibm.commerce.negotiation.util.SortingAttribute sort)
          Retrieves all control rules owned by the specified owner.
 java.util.Enumeration findRulesByOwnerAndName(java.lang.Long ownerId, java.lang.String name, com.ibm.commerce.negotiation.util.SortingAttribute sort)
          Retrieves all control rules, owned by the specified owner, with the specified rule name.
 java.util.Enumeration findRulesByOwnerAndType(java.lang.Long ownerId, java.lang.String type, com.ibm.commerce.negotiation.util.SortingAttribute sort)
          Retrieves all control rules, owned by the specified owner, with the specified rule type.
 boolean fulfills(java.lang.Long aFills1, java.lang.String aFills2)
          IBM internal use only.
 java.lang.String getAdminId()
          This method provides access to the CONTRLRULE.ADMIN_ID column of DB2 type BIGINT NULL.
 java.lang.Long getAdminIdInEJBType()
          This method provides access to the CONTRLRULE.ADMIN_ID column of DB2 type BIGINT NULL.
 java.lang.String getClassId()
          This method provides access to the CONTRLRULE.CLASS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getClassIdInEJBType()
          This method provides access to the CONTRLRULE.CLASS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getDescription()
          This method provides access to the CONTRLRULE.RULEDESC column of DB2 type VARCHAR(254) NULL.
 java.lang.String getField1()
          This method provides access to the CONTRLRULE.FIELD1 column of DB2 type BIGINT NULL.
 java.lang.Long getField1InEJBType()
          This method provides access to the CONTRLRULE.FIELD1 column of DB2 type BIGINT NULL.
 java.lang.String getField2()
          This method provides access to the CONTRLRULE.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getField2InEJBType()
          This method provides access to the CONTRLRULE.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getField3()
          This method provides access to the CONTRLRULE.FIELD3 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getId()
          This method provides access to the CONTRLRULE.RULE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getIdInEJBType()
          This method provides access to the CONTRLRULE.RULE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getMinimumQuantity()
          This method provides access to the CONTRLRULE.MINQUANT column of DB2 type FLOAT NULL.
 java.lang.Double getMinimumQuantityInEJBType()
          This method provides access to the CONTRLRULE.MINQUANT column of DB2 type FLOAT NULL.
 java.lang.String getMinimumValue()
          This method provides access to the CONTRLRULE.MINVALUE column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getMinimumValueInEJBType()
          This method provides access to the CONTRLRULE.MINVALUE column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getName()
          This method provides access to the CONTRLRULE.RULENAME column of DB2 type CHAR(30) NOT NULL.
 java.lang.Long getOwner()
          This method provides access to the CONTRLRULE.OWNER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getOwnerId()
          This method provides access to the CONTRLRULE.OWNER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOwnerIdInEJBType()
          This method provides access to the CONTRLRULE.OWNER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getRuleText()
          This method provides access to the CONTRLRULE.RULETEXT column of DB2 type LONG NULL.
 java.lang.String getRuleType()
          This method provides access to the CONTRLRULE.RULETYPE column of DB2 type CHAR(4) NOT NULL.
 boolean isUsedByAuction()
          Are there any auctions that use this rule?
 boolean isUsedByAuctionStyle()
          Are there any auction styles that use this rule?
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAdminId(java.lang.Long aAdminId1)
          This method provides access to the CONTRLRULE.ADMIN_ID column of DB2 type BIGINT NULL.
 void setAdminId(java.lang.String aAdminId1)
          This method provides access to the CONTRLRULE.ADMIN_ID column of DB2 type BIGINT NULL.
 void setClassId(java.lang.Long aClassId1)
          This method provides access to the CONTRLRULE.CLASS_ID column of DB2 type BIGINT NOT NULL.
 void setClassId(java.lang.String aClassId1)
          This method provides access to the CONTRLRULE.CLASS_ID column of DB2 type BIGINT NOT NULL.
 void setDescription(java.lang.String aDescription1)
          This method provides access to the CONTRLRULE.RULEDESC column of DB2 type VARCHAR(254) NULL.
 void setField1(java.lang.Long aField11)
          This method provides access to the CONTRLRULE.FIELD1 column of DB2 type BIGINT NULL.
 void setField1(java.lang.String aField11)
          This method provides access to the CONTRLRULE.FIELD1 column of DB2 type BIGINT NULL.
 void setField2(java.math.BigDecimal aField21)
          This method provides access to the CONTRLRULE.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 void setField2(java.lang.String aField21)
          This method provides access to the CONTRLRULE.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 void setField3(java.lang.String aField31)
          This method provides access to the CONTRLRULE.FIELD3 column of DB2 type VARCHAR(254) NULL.
 void setId(java.lang.Long aId1)
          This method provides access to the CONTRLRULE.RULE_ID column of DB2 type BIGINT NOT NULL.
 void setId(java.lang.String aId1)
          This method provides access to the CONTRLRULE.RULE_ID column of DB2 type BIGINT NOT NULL.
 void setInitKey_id(java.lang.Long aInitKey_id1)
          Set the primary key for this object
 void setMinimumQuantity(java.lang.Double aMinimumQuantity1)
          This method provides access to the CONTRLRULE.MINQUANT column of DB2 type FLOAT NULL.
 void setMinimumQuantity(java.lang.String aMinimumQuantity1)
          This method provides access to the CONTRLRULE.MINQUANT column of DB2 type FLOAT NULL.
 void setMinimumValue(java.math.BigDecimal aMinimumValue1)
          This method provides access to the CONTRLRULE.MINVALUE column of DB2 type DECIMAL(20,5) NULL.
 void setMinimumValue(java.lang.String aMinimumValue1)
          This method provides access to the CONTRLRULE.MINVALUE column of DB2 type DECIMAL(20,5) NULL.
 void setName(java.lang.String aName1)
          This method provides access to the CONTRLRULE.RULENAME column of DB2 type CHAR(30) NOT NULL.
 void setOwnerId(java.lang.Long aOwnerId1)
          This method provides access to the CONTRLRULE.OWNER_ID column of DB2 type BIGINT NOT NULL.
 void setOwnerId(java.lang.String aOwnerId1)
          This method provides access to the CONTRLRULE.OWNER_ID column of DB2 type BIGINT NOT NULL.
 void setRuleText(java.lang.String aRuleText1)
          This method provides access to the CONTRLRULE.RULETEXT column of DB2 type LONG NULL.
 void setRuleType(java.lang.String aRuleType1)
          This method provides access to the CONTRLRULE.RULETYPE column of DB2 type CHAR(4) 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

ControlRuleAccessBean

public ControlRuleAccessBean()

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.ControlRule com.ibm.commerce.negotiation.objimpl.ControlRuleHomeBase.findByPrimaryKey(com.ibm.commerce.negotiation.objects.ControlRuleKey) 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:


ControlRuleAccessBean

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

ControlRuleAccessBean

public ControlRuleAccessBean(java.lang.Long ownerid,
                             java.lang.Long classId,
                             java.lang.String name,
                             java.lang.String type)
                      throws javax.ejb.CreateException,
                             java.rmi.RemoteException,
                             javax.naming.NamingException

Creates an access bean with the specified attributes.

Parameters:
ownerid - The owner of the auction.
classId - The id of the rule class to use to interpret the rule text. .
name - The name of the bid control rule.
type - The auction type for this rule. Valid values: O=open cry, SB=sealed bid, D=dutch. .
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

findAllRules

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

Retrieves all control rules.

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

SELECT * FROM CONTRLRULE 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 ControlRuleAccessBeans representing rows that match the search criteria.

findRulesByOwner

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

Retrieves all control rules owned by the specified owner.

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

SELECT * FROM CONTRLRULE T1 WHERE T1.OWNER_ID=?

Parameters:
ownerId - The id of the owner of the bid control rule.
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 ControlRuleAccessBeans representing rows that match the search criteria.

findRulesByOwnerAndName

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

Retrieves all control rules, owned by the specified owner, with the specified rule name.

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

SELECT * FROM CONTRLRULE T1 WHERE T1.OWNER_ID=? AND T1.RULENAME=?

Parameters:
ownerId - The id of the owner of the bid control rule.
name - The name of the bid control rule.
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 ControlRuleAccessBeans representing rows that match the search criteria.

findRulesByOwnerAndType

public java.util.Enumeration findRulesByOwnerAndType(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 control rules, owned by the specified owner, with the specified rule type.

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

SELECT * FROM CONTRLRULE T1 WHERE T1.OWNER_ID=? AND T1.RULETYPE=?

Parameters:
ownerId - The id of the owner of the bid control rule.
type - The auction type for this rule. 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 ControlRuleAccessBeans representing rows that match the search criteria.

fulfills

public boolean fulfills(java.lang.Long aFills1,
                        java.lang.String aFills2)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException

IBM internal use only.

Parameters:
aFills1 - java.lang.Long
aFills2 - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 CONTRLRULE.ADMIN_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the administrator who created the bid control rule.

Specified by:
getAdminId in interface ControlRuleAccessBeanData
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

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 CONTRLRULE.ADMIN_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the administrator who created the bid control rule.

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

getClassId

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

This method provides access to the CONTRLRULE.CLASS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The ID of the rule class to use to interpret the rule text. This is a pointer to the RULECLSREG table.

Specified by:
getClassId in interface ControlRuleAccessBeanData
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

getClassIdInEJBType

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

This method provides access to the CONTRLRULE.CLASS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The ID of the rule class to use to interpret the rule text. This is a pointer to the RULECLSREG table.

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

getDescription

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

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

The following is a description of this column:

Description of the bid control rule.

Specified by:
getDescription in interface ControlRuleAccessBeanData
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

getField1

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

This method provides access to the CONTRLRULE.FIELD1 column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

Specified by:
getField1 in interface ControlRuleAccessBeanData
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

getField1InEJBType

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

This method provides access to the CONTRLRULE.FIELD1 column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

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

getField2

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

This method provides access to the CONTRLRULE.FIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Specified by:
getField2 in interface ControlRuleAccessBeanData
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

getField2InEJBType

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

This method provides access to the CONTRLRULE.FIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Returns:
java.math.BigDecimal
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

getField3

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

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

The following is a description of this column:

Customizable.

Specified by:
getField3 in interface ControlRuleAccessBeanData
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

getId

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

This method provides access to the CONTRLRULE.RULE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The bid control rule ID. The primary key to the table.

Specified by:
getId in interface ControlRuleAccessBeanData
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

getIdInEJBType

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

This method provides access to the CONTRLRULE.RULE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The bid control rule ID. The primary key to the table.

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

getMinimumQuantity

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

This method provides access to the CONTRLRULE.MINQUANT column of DB2 type FLOAT NULL.

The following is a description of this column:

Minimum bid quantity allowed for this auction. Bids with a quantity less than the minimum are not accepted.

Specified by:
getMinimumQuantity in interface ControlRuleAccessBeanData
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

getMinimumQuantityInEJBType

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

This method provides access to the CONTRLRULE.MINQUANT column of DB2 type FLOAT NULL.

The following is a description of this column:

Minimum bid quantity allowed for this auction. Bids with a quantity less than the minimum are not accepted.

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

getMinimumValue

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

This method provides access to the CONTRLRULE.MINVALUE column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Minimum value allowed for the auction. Bids with a value less than this minimum are not accepted.

Specified by:
getMinimumValue in interface ControlRuleAccessBeanData
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

getMinimumValueInEJBType

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

This method provides access to the CONTRLRULE.MINVALUE column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Minimum value allowed for the auction. Bids with a value less than this minimum are not accepted.

Returns:
java.math.BigDecimal
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

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 CONTRLRULE.RULENAME column of DB2 type CHAR(30) NOT NULL.

The following is a description of this column:

Name of the bid control rule.

Specified by:
getName in interface ControlRuleAccessBeanData
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

getOwner

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

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

The following is a description of this column:

ID of the owner of the bid control rule.

Returns:
java.lang.Long
Throws:
java.lang.Exception - The java.lang.Exception exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 CONTRLRULE.OWNER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID of the owner of the bid control rule.

Specified by:
getOwnerId in interface ControlRuleAccessBeanData
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

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 CONTRLRULE.OWNER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID of the owner of the bid control rule.

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

getRuleText

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

This method provides access to the CONTRLRULE.RULETEXT column of DB2 type LONG NULL.

The following is a description of this column:

Rule text. This text contains the bid ranges and increments. It is processed by the rule class interpreter, which is defined in the RULECLSREG table.

Specified by:
getRuleText in interface ControlRuleAccessBeanData
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

getRuleType

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

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

The following is a description of this column:

Auction type for this rule. Valid values: O=open cry, SB=sealed bid, D=dutch.

Specified by:
getRuleType in interface ControlRuleAccessBeanData
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

isUsedByAuction

public boolean isUsedByAuction()
                        throws java.rmi.RemoteException,
                               java.lang.Exception,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

Are there any auctions that use this rule?

Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

isUsedByAuctionStyle

public boolean isUsedByAuctionStyle()
                             throws java.rmi.RemoteException,
                                    java.lang.Exception,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

Are there any auction styles that use this rule?

Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception 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

setAdminId

public void setAdminId(java.lang.Long aAdminId1)

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

The following is a description of this column:

The ID of the administrator who created the bid control rule.

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

setAdminId

public void setAdminId(java.lang.String aAdminId1)

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

The following is a description of this column:

The ID of the administrator who created the bid control rule.

Specified by:
setAdminId in interface ControlRuleAccessBeanData
Parameters:
aAdminId1 - java.lang.String
Returns:
void

setClassId

public void setClassId(java.lang.Long aClassId1)

This method provides access to the CONTRLRULE.CLASS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The ID of the rule class to use to interpret the rule text. This is a pointer to the RULECLSREG table.

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

setClassId

public void setClassId(java.lang.String aClassId1)

This method provides access to the CONTRLRULE.CLASS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The ID of the rule class to use to interpret the rule text. This is a pointer to the RULECLSREG table.

Specified by:
setClassId in interface ControlRuleAccessBeanData
Parameters:
aClassId1 - java.lang.String
Returns:
void

setDescription

public void setDescription(java.lang.String aDescription1)

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

The following is a description of this column:

Description of the bid control rule.

Specified by:
setDescription in interface ControlRuleAccessBeanData
Parameters:
aDescription1 - java.lang.String
Returns:
void

setField1

public void setField1(java.lang.Long aField11)

This method provides access to the CONTRLRULE.FIELD1 column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

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

setField1

public void setField1(java.lang.String aField11)

This method provides access to the CONTRLRULE.FIELD1 column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

Specified by:
setField1 in interface ControlRuleAccessBeanData
Parameters:
aField11 - java.lang.String
Returns:
void

setField2

public void setField2(java.math.BigDecimal aField21)

This method provides access to the CONTRLRULE.FIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Parameters:
aField21 - java.math.BigDecimal
Returns:
void

setField2

public void setField2(java.lang.String aField21)

This method provides access to the CONTRLRULE.FIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Specified by:
setField2 in interface ControlRuleAccessBeanData
Parameters:
aField21 - java.lang.String
Returns:
void

setField3

public void setField3(java.lang.String aField31)

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

The following is a description of this column:

Customizable.

Specified by:
setField3 in interface ControlRuleAccessBeanData
Parameters:
aField31 - java.lang.String
Returns:
void

setId

public void setId(java.lang.Long aId1)

This method provides access to the CONTRLRULE.RULE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The bid control rule ID. The primary key to the table.

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

setId

public void setId(java.lang.String aId1)

This method provides access to the CONTRLRULE.RULE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The bid control rule ID. The primary key to the table.

Specified by:
setId in interface ControlRuleAccessBeanData
Parameters:
aId1 - java.lang.String
Returns:
void

setInitKey_id

public void setInitKey_id(java.lang.Long aInitKey_id1)

Set the primary key for this object

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

setMinimumQuantity

public void setMinimumQuantity(java.lang.Double aMinimumQuantity1)

This method provides access to the CONTRLRULE.MINQUANT column of DB2 type FLOAT NULL.

The following is a description of this column:

Minimum bid quantity allowed for this auction. Bids with a quantity less than the minimum are not accepted.

Parameters:
aMinimumQuantity1 - java.lang.Double
Returns:
void

setMinimumQuantity

public void setMinimumQuantity(java.lang.String aMinimumQuantity1)

This method provides access to the CONTRLRULE.MINQUANT column of DB2 type FLOAT NULL.

The following is a description of this column:

Minimum bid quantity allowed for this auction. Bids with a quantity less than the minimum are not accepted.

Specified by:
setMinimumQuantity in interface ControlRuleAccessBeanData
Parameters:
aMinimumQuantity1 - java.lang.String
Returns:
void

setMinimumValue

public void setMinimumValue(java.math.BigDecimal aMinimumValue1)

This method provides access to the CONTRLRULE.MINVALUE column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Minimum value allowed for the auction. Bids with a value less than this minimum are not accepted.

Parameters:
aMinimumValue1 - java.math.BigDecimal
Returns:
void

setMinimumValue

public void setMinimumValue(java.lang.String aMinimumValue1)

This method provides access to the CONTRLRULE.MINVALUE column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Minimum value allowed for the auction. Bids with a value less than this minimum are not accepted.

Specified by:
setMinimumValue in interface ControlRuleAccessBeanData
Parameters:
aMinimumValue1 - java.lang.String
Returns:
void

setName

public void setName(java.lang.String aName1)

This method provides access to the CONTRLRULE.RULENAME column of DB2 type CHAR(30) NOT NULL.

The following is a description of this column:

Name of the bid control rule.

Specified by:
setName in interface ControlRuleAccessBeanData
Parameters:
aName1 - java.lang.String
Returns:
void

setOwnerId

public void setOwnerId(java.lang.Long aOwnerId1)

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

The following is a description of this column:

ID of the owner of the bid control rule.

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

setOwnerId

public void setOwnerId(java.lang.String aOwnerId1)

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

The following is a description of this column:

ID of the owner of the bid control rule.

Specified by:
setOwnerId in interface ControlRuleAccessBeanData
Parameters:
aOwnerId1 - java.lang.String
Returns:
void

setRuleText

public void setRuleText(java.lang.String aRuleText1)

This method provides access to the CONTRLRULE.RULETEXT column of DB2 type LONG NULL.

The following is a description of this column:

Rule text. This text contains the bid ranges and increments. It is processed by the rule class interpreter, which is defined in the RULECLSREG table.

Specified by:
setRuleText in interface ControlRuleAccessBeanData
Parameters:
aRuleText1 - java.lang.String
Returns:
void

setRuleType

public void setRuleType(java.lang.String aRuleType1)

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

The following is a description of this column:

Auction type for this rule. Valid values: O=open cry, SB=sealed bid, D=dutch.

Specified by:
setRuleType in interface ControlRuleAccessBeanData
Parameters:
aRuleType1 - java.lang.String
Returns:
void