|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.order.objects.OfferBean
This bean provides access to the OFFER table.
The following is a description of this table:
Each row of this table represents an Offer to sell a product identified by a CatalogEntry.
Constructor Summary | |
OfferBean()
|
Method Summary | |
java.lang.Long |
getCatalogEntryReferenceNumber()
This method provides access to the OFFER.CATENTRY_ID column of DB2 type BIGINT NOT NULL. |
java.sql.Timestamp |
getEndDate()
This method provides access to the OFFER.ENDDATE column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getField1()
This method provides access to the OFFER.FIELD1 column of DB2 type CHAR(30) NULL. |
java.lang.String |
getField2()
This method provides access to the OFFER.FIELD2 column of DB2 type CHAR(1) NULL. |
java.lang.Integer |
getFlags()
This method provides access to the OFFER.FLAGS column of DB2 type INTEGER NOT NULL. |
java.lang.Long |
getIdentifier()
This method provides access to the OFFER.IDENTIFIER column of DB2 type BIGINT NULL. |
java.sql.Timestamp |
getLastUpdate()
This method provides access to the OFFER.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
java.lang.Double |
getMaximumQuantity()
This method provides access to the OFFER.MAXIMUMQUANTITY column of DB2 type FLOAT NULL. |
java.lang.Double |
getMinimumQuantity()
This method provides access to the OFFER.MINIMUMQUANTITY column of DB2 type FLOAT NULL. |
java.lang.Long |
getOfferId()
This method provides access to the OFFER.OFFER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getOID()
This method provides access to the OFFER.OID column of DB2 type VARCHAR(64) NULL. |
java.lang.Double |
getPrecedence()
This method provides access to the OFFER.PRECEDENCE column of DB2 type FLOAT NOT NULL. |
java.lang.Integer |
getPublished()
This method provides access to the OFFER.PUBLISHED column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getQuantityUnitId()
This method provides access to the OFFER.QTYUNIT_ID column of DB2 type CHAR(16) NULL. |
java.sql.Timestamp |
getStartDate()
This method provides access to the OFFER.STARTDATE column of DB2 type TIMESTAMP NULL. |
java.lang.Long |
getTradePosContainerId()
This method provides access to the OFFER.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL. |
void |
setCatalogEntryReferenceNumber(java.lang.Long aCatalogEntryReferenceNumber)
This method provides access to the OFFER.CATENTRY_ID column of DB2 type BIGINT NOT NULL. |
void |
setEndDate(java.sql.Timestamp aEndDate)
This method provides access to the OFFER.ENDDATE column of DB2 type TIMESTAMP NULL. |
void |
setField1(java.lang.String aField1)
This method provides access to the OFFER.FIELD1 column of DB2 type CHAR(30) NULL. |
void |
setField2(java.lang.String aField2)
This method provides access to the OFFER.FIELD2 column of DB2 type CHAR(1) NULL. |
void |
setFlags(java.lang.Integer aFlags)
This method provides access to the OFFER.FLAGS column of DB2 type INTEGER NOT NULL. |
void |
setIdentifier(java.lang.Long aIdentifier)
This method provides access to the OFFER.IDENTIFIER column of DB2 type BIGINT NULL. |
void |
setLastUpdate(java.sql.Timestamp aLastUpdate)
This method provides access to the OFFER.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
void |
setMaximumQuantity(java.lang.Double aMaximumQuantity)
This method provides access to the OFFER.MAXIMUMQUANTITY column of DB2 type FLOAT NULL. |
void |
setMinimumQuantity(java.lang.Double aMinimumQuantity)
This method provides access to the OFFER.MINIMUMQUANTITY column of DB2 type FLOAT NULL. |
void |
setOID(java.lang.String aOID)
This method provides access to the OFFER.OID column of DB2 type VARCHAR(64) NULL. |
void |
setPrecedence(java.lang.Double aPrecedence)
This method provides access to the OFFER.PRECEDENCE column of DB2 type FLOAT NOT NULL. |
void |
setPublished(java.lang.Integer aPublished)
This method provides access to the OFFER.PUBLISHED column of DB2 type INTEGER NOT NULL. |
void |
setQuantityUnitId(java.lang.String aQuantityUnitId)
This method provides access to the OFFER.QTYUNIT_ID column of DB2 type CHAR(16) NULL. |
void |
setStartDate(java.sql.Timestamp aStartDate)
This method provides access to the OFFER.STARTDATE column of DB2 type TIMESTAMP NULL. |
void |
setTradePosContainerId(java.lang.Long aTradePosContainerId)
This method provides access to the OFFER.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL. |
Constructor Detail |
public OfferBean()
Method Detail |
public java.lang.Long getCatalogEntryReferenceNumber()
This method provides access to the OFFER.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The CatalogEntry offered for sale.
public java.sql.Timestamp getEndDate()
This method provides access to the OFFER.ENDDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The end of the time range during which this Offer is effective.
public java.lang.String getField1()
This method provides access to the OFFER.FIELD1 column of DB2 type CHAR(30) NULL.
The following is a description of this column:
Customizable.
public java.lang.String getField2()
This method provides access to the OFFER.FIELD2 column of DB2 type CHAR(1) NULL.
The following is a description of this column:
Customizable.
public java.lang.Integer getFlags()
This method provides access to the OFFER.FLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Contains the following bit flag value:
1 = shiptoAddressRequired - if 1, OrderPrepare will return an error if an OrderItem references this Offer but does not have a shipping address.
public java.lang.Long getIdentifier()
This method provides access to the OFFER.IDENTIFIER column of DB2 type BIGINT NULL.
The following is a description of this column:
A number that uniquely identifies this Offer along with its specified CatalogEntry and TradingPositionContainer.
public java.sql.Timestamp getLastUpdate()
This method provides access to the OFFER.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The last time this Offer was updated.
public java.lang.Double getMaximumQuantity()
This method provides access to the OFFER.MAXIMUMQUANTITY column of DB2 type FLOAT NULL.
The following is a description of this column:
The maximum quantity that can be purchased in a single Order under this Offer.
public java.lang.Double getMinimumQuantity()
This method provides access to the OFFER.MINIMUMQUANTITY column of DB2 type FLOAT NULL.
The following is a description of this column:
The minimum quantity that can be purchased in a single Order under this Offer.
public java.lang.Long getOfferId()
This method provides access to the OFFER.OFFER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.String getOID()
This method provides access to the OFFER.OID column of DB2 type VARCHAR(64) NULL.
The following is a description of this column:
Reserved for IBM internal use.
public java.lang.Double getPrecedence()
This method provides access to the OFFER.PRECEDENCE column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
When more than one Offer is effective at a particular time, the one with the highest PRECEDENCE is used.
public java.lang.Integer getPublished()
This method provides access to the OFFER.PUBLISHED column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Describes whether or not the offer has been published as follows:
0 = not published (temporarily disabled).
1 = published.
2 = marked for deletion (and not published).
public java.lang.String getQuantityUnitId()
This method provides access to the OFFER.QTYUNIT_ID column of DB2 type CHAR(16) NULL.
The following is a description of this column:
The unit of measure for MINIMUMQUANTITY and MAXIMUMQUANTITY. If this is NULL, then MINIMUMQUANTITY and MAXIMUMQUANTITY are multiplied by CATENTSHIP.NOMINALQUANTITY and the unit of measure of the results is CATENTSHIP.QUANTITYMEASURE.
public java.sql.Timestamp getStartDate()
This method provides access to the OFFER.STARTDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The start of the time range during which this Offer is effective.
public java.lang.Long getTradePosContainerId()
This method provides access to the OFFER.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The TradingPositionContainer this Offer is part of.
public void setCatalogEntryReferenceNumber(java.lang.Long aCatalogEntryReferenceNumber)
This method provides access to the OFFER.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The CatalogEntry offered for sale.
aCatalogEntryReferenceNumber
- java.lang.Longpublic void setEndDate(java.sql.Timestamp aEndDate)
This method provides access to the OFFER.ENDDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The end of the time range during which this Offer is effective.
aEndDate
- java.sql.Timestamppublic void setField1(java.lang.String aField1)
This method provides access to the OFFER.FIELD1 column of DB2 type CHAR(30) NULL.
The following is a description of this column:
Customizable.
aField1
- java.lang.Stringpublic void setField2(java.lang.String aField2)
This method provides access to the OFFER.FIELD2 column of DB2 type CHAR(1) NULL.
The following is a description of this column:
Customizable.
aField2
- java.lang.Stringpublic void setFlags(java.lang.Integer aFlags)
This method provides access to the OFFER.FLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Contains the following bit flag value:
1 = shiptoAddressRequired - if 1, OrderPrepare will return an error if an OrderItem references this Offer but does not have a shipping address.
aFlags
- java.lang.Integerpublic void setIdentifier(java.lang.Long aIdentifier)
This method provides access to the OFFER.IDENTIFIER column of DB2 type BIGINT NULL.
The following is a description of this column:
A number that uniquely identifies this Offer along with its specified CatalogEntry and TradingPositionContainer.
aIdentifier
- java.lang.Longpublic void setLastUpdate(java.sql.Timestamp aLastUpdate)
This method provides access to the OFFER.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The last time this Offer was updated.
aLastUpdate
- java.sql.Timestamppublic void setMaximumQuantity(java.lang.Double aMaximumQuantity)
This method provides access to the OFFER.MAXIMUMQUANTITY column of DB2 type FLOAT NULL.
The following is a description of this column:
The maximum quantity that can be purchased in a single Order under this Offer.
aMaximumQuantity
- java.lang.Doublepublic void setMinimumQuantity(java.lang.Double aMinimumQuantity)
This method provides access to the OFFER.MINIMUMQUANTITY column of DB2 type FLOAT NULL.
The following is a description of this column:
The minimum quantity that can be purchased in a single Order under this Offer.
aMinimumQuantity
- java.lang.Doublepublic void setOID(java.lang.String aOID)
This method provides access to the OFFER.OID column of DB2 type VARCHAR(64) NULL.
The following is a description of this column:
Reserved for IBM internal use.
aOID
- java.lang.Stringpublic void setPrecedence(java.lang.Double aPrecedence)
This method provides access to the OFFER.PRECEDENCE column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
When more than one Offer is effective at a particular time, the one with the highest PRECEDENCE is used.
aPrecedence
- java.lang.Doublepublic void setPublished(java.lang.Integer aPublished)
This method provides access to the OFFER.PUBLISHED column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Describes whether or not the offer has been published as follows:
0 = not published (temporarily disabled).
1 = published.
2 = marked for deletion (and not published).
aPublished
- java.lang.Integerpublic void setQuantityUnitId(java.lang.String aQuantityUnitId)
This method provides access to the OFFER.QTYUNIT_ID column of DB2 type CHAR(16) NULL.
The following is a description of this column:
The unit of measure for MINIMUMQUANTITY and MAXIMUMQUANTITY. If this is NULL, then MINIMUMQUANTITY and MAXIMUMQUANTITY are multiplied by CATENTSHIP.NOMINALQUANTITY and the unit of measure of the results is CATENTSHIP.QUANTITYMEASURE.
aQuantityUnitId
- java.lang.Stringpublic void setStartDate(java.sql.Timestamp aStartDate)
This method provides access to the OFFER.STARTDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The start of the time range during which this Offer is effective.
aStartDate
- java.sql.Timestamppublic void setTradePosContainerId(java.lang.Long aTradePosContainerId)
This method provides access to the OFFER.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The TradingPositionContainer this Offer is part of.
aTradePosContainerId
- java.lang.Long
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |