Package ejava.examples.asyncmarket.bo
Class Order
- java.lang.Object
-
- ejava.examples.asyncmarket.bo.Order
-
- All Implemented Interfaces:
Serializable
@Entity public class Order extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Person
buyer
private long
id
private AuctionItem
item
private double
maxBid
private static long
serialVersionUID
private long
version
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
id
private long id
-
version
private long version
-
buyer
private Person buyer
-
item
private AuctionItem item
-
maxBid
private double maxBid
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
getVersion
public long getVersion()
-
setVersion
public void setVersion(long version)
-
getBuyer
public Person getBuyer()
-
setBuyer
public void setBuyer(Person buyer)
-
getItem
public AuctionItem getItem()
-
setItem
public void setItem(AuctionItem item)
-
getMaxBid
public double getMaxBid()
-
setMaxBid
public void setMaxBid(double maxBid)
-
-