@Entity public class Order extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private Person |
buyer |
private long |
id |
private AuctionItem |
item |
private double |
maxBid |
private static long |
serialVersionUID |
private long |
version |
Modifier and Type | Method and Description |
---|---|
Person |
getBuyer() |
long |
getId() |
AuctionItem |
getItem() |
double |
getMaxBid() |
long |
getVersion() |
void |
setBuyer(Person buyer) |
void |
setId(long id) |
void |
setItem(AuctionItem item) |
void |
setMaxBid(double maxBid) |
void |
setVersion(long version) |
String |
toString() |
private static final long serialVersionUID
private long id
private long version
private Person buyer
private AuctionItem item
private double maxBid
public long getId()
public void setId(long id)
public long getVersion()
public void setVersion(long version)
public Person getBuyer()
public void setBuyer(Person buyer)
public AuctionItem getItem()
public void setItem(AuctionItem item)
public double getMaxBid()
public void setMaxBid(double maxBid)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.