|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectDataClasses.StockOwnership_Data
| Field Summary | |
private java.lang.String |
lastPurchaseAmount
|
private java.sql.Timestamp |
lastPurchasedDate
|
private java.lang.String |
lastPurchaseQty
|
private java.lang.String |
quantityOwned
|
private java.lang.String |
stockCode
|
private java.lang.String |
stockName
|
private java.lang.String |
totalCost
|
| Constructor Summary | |
StockOwnership_Data(java.lang.String code,
java.lang.String name,
java.lang.String qty,
java.lang.String totalCost,
java.sql.Timestamp lastdate,
java.lang.String lastAmt,
java.lang.String lastQty)
This is the constructor for StockOwnership_Data.java |
|
| Method Summary | |
java.lang.String |
getLastPurchaseAmount()
This method is being used for getting the amount spent on the last purchase. |
java.sql.Timestamp |
getLastPurchasedDate()
This method is being used for getting the time when the last purchase was made. |
java.lang.String |
getLastPurchaseQty()
This method is being used for getting the last purchase quantity. |
java.lang.String |
getQuantityOwned()
This method is being used for getting the quantity of stocks owned. |
java.lang.String |
getStockCode()
This method is being used for getting the stock code. |
java.lang.String |
getStockName()
Method: getStockName This method is being used for getting the stock name. |
java.lang.String |
getTotalCost()
This method is being used for getting the total cost of stocks. |
void |
setLastPurchaseAmount(java.lang.String amt)
Method: setLastPurchaseAmount This method is being used for setting the amount spent on the last purchase. |
void |
setLastPurchasedDate(java.sql.Timestamp d)
This method is being used for setting the time when the last purchase was made. |
void |
setLastPurchaseQty(java.lang.String qty)
Method: setLastPurchaseQty This method is being used for setting the last purchase quantity. |
void |
setQuantityOwned(java.lang.String qty)
This method is being used for setting the quantity of stocks owned. |
void |
setStockCode(java.lang.String code)
This method is being used for setting the stock code. |
void |
setStockName(java.lang.String name)
This method is being used for setting the stock name. |
void |
setTotalCost(java.lang.String d)
This method is being used for setting the total cost of stocks. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private java.lang.String lastPurchaseAmount
private java.sql.Timestamp lastPurchasedDate
private java.lang.String lastPurchaseQty
private java.lang.String quantityOwned
private java.lang.String stockCode
private java.lang.String stockName
private java.lang.String totalCost
| Constructor Detail |
public StockOwnership_Data(java.lang.String code,
java.lang.String name,
java.lang.String qty,
java.lang.String totalCost,
java.sql.Timestamp lastdate,
java.lang.String lastAmt,
java.lang.String lastQty)
| Method Detail |
public java.lang.String getLastPurchaseAmount()
public java.sql.Timestamp getLastPurchasedDate()
public java.lang.String getLastPurchaseQty()
public java.lang.String getQuantityOwned()
public java.lang.String getStockCode()
public java.lang.String getStockName()
public java.lang.String getTotalCost()
public void setLastPurchaseAmount(java.lang.String amt)
amt - The amount spent on the last purchase.
public void setLastPurchasedDate(java.sql.Timestamp d)
d - Time when the last purchase was made.
public void setLastPurchaseQty(java.lang.String qty)
qty - The quantity of stocks last purchased.
public void setQuantityOwned(java.lang.String qty)
qty - The quantity of owned stocks.
public void setStockCode(java.lang.String code)
code - The stock code
public void setStockName(java.lang.String name)
name - The name of the stock
public void setTotalCost(java.lang.String d)
d - The total cost of stocks.
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||