|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.csapi.jr.se.am.Voucher
Defines the structure of data elements that specifies a voucher.
| Constructor Summary | |
Voucher()
Creates a new Voucher instance. |
|
Voucher(int _voucherID,
Address _userID,
BalanceInfo _balanceInfo)
Creates a new Voucher instance. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one. |
BalanceInfo |
getBalanceInfo()
This method returns a balanceInfo. |
Address |
getUserID()
This method returns a userID. |
int |
getVoucherID()
This method returns a voucherID. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setBalanceInfo(BalanceInfo balanceInfo)
This method sets a balanceInfo. |
void |
setUserID(Address userID)
This method sets a userID. |
void |
setVoucherID(int voucherID)
This method sets a voucherID. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Voucher()
public Voucher(int _voucherID,
Address _userID,
BalanceInfo _balanceInfo)
_voucherID - Specifies the unique identifier for this voucher._userID - Specifies the user to who the voucher belongs._balanceInfo - Specifies the amount of the voucher.| Method Detail |
public int getVoucherID()
public Address getUserID()
public BalanceInfo getBalanceInfo()
public void setVoucherID(int voucherID)
public void setUserID(Address userID)
public void setBalanceInfo(BalanceInfo balanceInfo)
public boolean equals(java.lang.Object o)
public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||