|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--examples.e2e.common.PurchaseQuoteImpl
PurchaseQuoteImpl
prvoides a realization
of the PurchaseQuote
interface.
PurchaseQuote
, Serialized FormConstructor Summary | |
PurchaseQuoteImpl(java.lang.String requestId,
java.lang.String quoteId,
java.util.Calendar qpaCreationDate,
java.util.Calendar quoteDate,
java.lang.String supplierName,
java.lang.String productId,
java.lang.String description,
long quotedQty,
Money quotedUnitPrice,
java.util.Calendar promiseDate)
Construct a PurchaseQuote object. |
Method Summary | |
java.lang.String |
description()
Returns a description for the product quoted. |
boolean |
equals(java.lang.Object obj)
Compares the specified object to this object. |
int |
hashCode()
|
java.lang.String |
productId()
Returns the identifier for the product quoted. |
java.util.Calendar |
promiseDate()
Returns the date promised by the supplier. |
java.util.Calendar |
qpaCreationDate()
Returns the date the QPA associated with this quote was created. |
java.util.Calendar |
quoteDate()
Returns the date this quote was generated by the supplier. |
long |
quotedQty()
Returns the quantity of the product promised by the supplier. |
Money |
quotedUnitPrice()
Returns the unit price quoted by the supplier. |
java.lang.String |
quoteId()
Returns the identifier for this quote. |
java.lang.String |
requestId()
Returns the identifier for the QPA that precipitated this quote. |
void |
setDescription(java.lang.String description)
Sets a description for the product quoted. |
void |
setProductId(java.lang.String productId)
Sets the identifier for the product quoted. |
void |
setPromiseDate(java.util.Calendar promiseDate)
Sets the date promised by the supplier. |
void |
setQpaCreationDate(java.util.Calendar qpaCreationDate)
Sets the date the QPA associated with this quote was created. |
void |
setQuoteDate(java.util.Calendar quoteDate)
Sets the date this quote was generated by the supplier. |
void |
setQuotedQty(long quotedQty)
Sets the quantity of the product promised by the supplier. |
void |
setQuotedUnitPrice(Money quotedUnitPrice)
Sets the unit price quoted by the supplier. |
void |
setQuoteId(java.lang.String quoteId)
Sets the quote identifier for this quote. |
void |
setRequestId(java.lang.String requestId)
Sets the identifier for the QPA that precipitated this quote. |
void |
setSupplierName(java.lang.String supplierName)
Sets the name of the supplier who sent this quote. |
java.lang.String |
supplierName()
Returns the name of the supplier who sent this quote. |
java.lang.String |
toString()
Returns a String that represents the value of this object. |
Money |
total()
Returns the total cost for the quote. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public PurchaseQuoteImpl(java.lang.String requestId, java.lang.String quoteId, java.util.Calendar qpaCreationDate, java.util.Calendar quoteDate, java.lang.String supplierName, java.lang.String productId, java.lang.String description, long quotedQty, Money quotedUnitPrice, java.util.Calendar promiseDate)
Method Detail |
public java.lang.String description()
public boolean equals(java.lang.Object obj)
obj
- the Object to compare withpublic int hashCode()
public java.lang.String productId()
public java.util.Calendar promiseDate()
public java.util.Calendar qpaCreationDate()
public java.util.Calendar quoteDate()
public long quotedQty()
public Money quotedUnitPrice()
public java.lang.String quoteId()
public java.lang.String requestId()
public Money total()
public void setDescription(java.lang.String description)
public void setProductId(java.lang.String productId)
public void setPromiseDate(java.util.Calendar promiseDate)
public void setQpaCreationDate(java.util.Calendar qpaCreationDate)
public void setQuoteDate(java.util.Calendar quoteDate)
public void setQuotedQty(long quotedQty)
public void setQuotedUnitPrice(Money quotedUnitPrice)
public void setQuoteId(java.lang.String quoteId)
public void setRequestId(java.lang.String requestId)
public void setSupplierName(java.lang.String supplierName)
public java.lang.String supplierName()
public java.lang.String toString()
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |