Class OfferInfo

java.lang.Object
  extended by OfferInfo
Direct Known Subclasses:
OrderInfo

public class OfferInfo
extends java.lang.Object

Stores an offer from a supplier or manufacturer. If it is from a supplier, there may be two alternatives: relaxed quantity and relaxed due date. If there is no alternative offer, the alternative reference is null.


Field Summary
 OfferInfo alternative
           
 int dueDate
           
 int index
           
 java.lang.String name
           
 int offerID
           
 boolean ordered
           
 int price
           
 int productID
           
 int quantity
           
 RFQInfo rfq
           
 
Constructor Summary
OfferInfo()
           
OfferInfo(int offerID, int quantity, int dueDate, int price, RFQInfo rfq, int index)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

productID

public int productID

offerID

public int offerID

quantity

public int quantity

price

public int price

dueDate

public int dueDate

name

public java.lang.String name

alternative

public OfferInfo alternative

rfq

public RFQInfo rfq

index

public int index

ordered

public boolean ordered
Constructor Detail

OfferInfo

public OfferInfo()

OfferInfo

public OfferInfo(int offerID,
                 int quantity,
                 int dueDate,
                 int price,
                 RFQInfo rfq,
                 int index)
Parameters:
offerID - ID number
quantity - quantity offeres
dueDate - delivery date
price - price per unit
rfq - RFQInfo object for the corresponding RFQ
index - product index (not ID)