|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibspan.ecap.shared.ontology.negotiation.BidInfo
public class BidInfo
Constructor Summary | |
---|---|
BidInfo()
|
|
BidInfo(java.lang.String clientId,
java.util.Date offerTime,
int quantity,
float price,
boolean isWinning,
ReservationInfo reservation)
|
Method Summary | |
---|---|
java.lang.String |
getClientId()
Gets the id of the client who made the bid. |
java.util.Date |
getOfferTime()
Gets the time the offer was made. |
float |
getPrice()
Gets the price offered. |
int |
getQuantity()
Gets the quantity offered. |
ReservationInfo |
getReservation()
Gets the information about the reservation following the bid. |
boolean |
isWinning()
Gets true if the bid was a winning bid and false otherwise. |
void |
setClientId(java.lang.String clientId)
Sets the id of the client who made the bid. |
void |
setOfferTime(java.util.Date offerTime)
Sets the time the offer was made |
void |
setPrice(float price)
Sets the value of price offered. |
void |
setQuantity(int quantity)
Sets the quantity offered. |
void |
setReservation(ReservationInfo reservation)
Sets the information about the reservation following the bid. |
void |
setWinning(boolean isWinning)
Sets whether the bid was a winning bid or not. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BidInfo(java.lang.String clientId, java.util.Date offerTime, int quantity, float price, boolean isWinning, ReservationInfo reservation)
public BidInfo()
Method Detail |
---|
public java.util.Date getOfferTime()
public void setOfferTime(java.util.Date offerTime)
offerTime
- the time the offer was made to setpublic int getQuantity()
public void setQuantity(int quantity)
quantity
- quantity offered to setpublic float getPrice()
public void setPrice(float price)
price
- the price to setpublic boolean isWinning()
public void setWinning(boolean isWinning)
isWinning
- a boolean value of whether the bid was a winning bid or not.public ReservationInfo getReservation()
public void setReservation(ReservationInfo reservation)
reservation
- the information about the reservation following the bid or null if the bid wasn't a winning bidpublic java.lang.String getClientId()
public void setClientId(java.lang.String clientId)
clientId
- the id of the client who made the bidpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |