|
© 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.POImpl
Represents a purchase order that is to be communicated to supplier(s).
Constructor Summary | |
POImpl(java.lang.String poNumber,
java.util.Calendar creationDate,
POStatus status,
java.lang.String supplierName,
java.lang.String productId,
java.lang.String description,
long qty,
Money unitPrice,
java.util.Calendar promiseDate)
|
Method Summary | |
java.util.Calendar |
creationDate()
Returns the date this was created. |
java.lang.String |
description()
Returns a description for the product supplied. |
java.lang.String |
poNumber()
Returns the identifier for this purchase order. |
java.lang.String |
productId()
Returns the identifier for the product supplied. |
java.util.Calendar |
promiseDate()
Returns the date promised by the supplier. |
long |
qty()
Returns the quantity of the product supplied. |
java.util.Calendar |
setCreationDate(java.util.Calendar date)
Sets the date this was created. |
java.lang.String |
setDescription(java.lang.String description)
Sets a description for the product supplied. |
java.lang.String |
setPoNumber(java.lang.String poNumber)
Sets the identifier for this purchase order. |
java.lang.String |
setProductId(java.lang.String id)
Sets the identifier for the product supplied. |
java.util.Calendar |
setPromiseDate(java.util.Calendar promiseDate)
Sets the date promised by the supplier. |
long |
setQty(long qty)
Sets the quantity of the product supplied. |
POStatus |
setStatus(POStatus status)
Sets the status of this . |
java.lang.String |
setSupplierName(java.lang.String name)
Sets the name of the supplier associated with this . |
Money |
setUnitPrice(Money unitPrice)
Sets the unit price for each item supplied. |
POStatus |
status()
Returns the status of this . |
java.lang.String |
statusString()
Returns the status of this . |
java.lang.String |
supplierName()
Returns the name of the supplier associated with this . |
Money |
total()
Returns the total cost for the . |
Money |
unitPrice()
Returns the unit price for each item supplied. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public POImpl(java.lang.String poNumber, java.util.Calendar creationDate, POStatus status, java.lang.String supplierName, java.lang.String productId, java.lang.String description, long qty, Money unitPrice, java.util.Calendar promiseDate)
Method Detail |
public java.lang.String poNumber()
public java.util.Calendar creationDate()
PO
was created.
public POStatus status()
PO
. This value is generally
one of Pending, Acknowledged, Shipped or Received.
public java.lang.String statusString()
PO
. This value is generally
one of Pending, Acknowledged, Shipped or Received.
public java.lang.String supplierName()
PO
.
public java.lang.String productId()
public java.lang.String description()
public long qty()
public Money unitPrice()
public java.util.Calendar promiseDate()
public Money total()
PO
.
public java.lang.String setPoNumber(java.lang.String poNumber)
public java.util.Calendar setCreationDate(java.util.Calendar date)
PO
was created.
public POStatus setStatus(POStatus status)
PO
. This value is generally
one of Pending, Acknowledged, Shipped or Received.
public java.lang.String setSupplierName(java.lang.String name)
PO
.
public java.lang.String setProductId(java.lang.String id)
public java.lang.String setDescription(java.lang.String description)
public long setQty(long qty)
public Money setUnitPrice(Money unitPrice)
public java.util.Calendar setPromiseDate(java.util.Calendar promiseDate)
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |