@Entity public class Bid extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private double |
amount |
private long |
id |
private AuctionItem |
item |
private Person |
person |
private static long |
serialVersionUID |
Modifier and Type | Method and Description |
---|---|
double |
getAmount() |
Person |
getBidder() |
long |
getId() |
AuctionItem |
getItem() |
void |
setAmount(double amount) |
void |
setBidder(Person person) |
private void |
setId(long id) |
void |
setItem(AuctionItem item) |
String |
toString() |
private static final long serialVersionUID
private long id
private double amount
private Person person
private AuctionItem item
public long getId()
private void setId(long id)
public double getAmount()
public void setAmount(double amount)
public Person getBidder()
public void setBidder(Person person)
public AuctionItem getItem()
public void setItem(AuctionItem item)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.