1 | public class Bid {↵ | | 1 | public class DataPoint {↵
|
2 | private Long id;↵ | | 2 | private long id;↵
|
3 | private Auction item;↵ | | 3 | private int sequence;↵
|
4 | private BigDecimal amount;↵ | | 4 | private BigDecimal x;↵
|
5 | private boolean successful;↵ | | 5 | private ↵
|
6 | private Date datetime; ↵ | | |
|
| | | 6 | BigDecimal y;↵
|
| | | 7 | private String description;↵
|
|
| | | 8 | /**↵
|
| | | 9 | * @return Returns the id.↵
|
| | | 10 | */↵
|
7 | public Long getId() {↵ | | 11 | public long getId() {↵
|
8 | return id;↵ | | 12 | return id;↵
|
9 | }↵ | | 13 | }↵
|
|
| | | 14 | /**↵
|
| | | 15 | * @param id The id to set.↵
|
| | | 16 | */↵
|
10 | public void setId(Long id) {↵ | | 17 | public void setId(long id) {↵
|
11 | this.id = id;↵ | | 18 | this.id = id;↵
|
12 | }↵ | | 19 | }↵
|
13 | public BigDecimal getAmount() {↵ | | |
|
14 | return amount;↵ | | |
|
15 | }↵ | | |
|
16 | public void setAmount(BigDecimal amount) {↵ | | |
|
17 | this.amount = amount;↵ | | |
|
18 | }↵ | | |
|
19 | public Auction getItem() {↵ | | |
|
20 | return item;↵ | | |
|
21 | }↵ | | |
|
22 | public void setItem(Auction item) {↵ | | |
|
23 | this.item = item;↵ | | |
|
24 | }↵ | | |
|
25 | public boolean isSuccessful() {↵ | | |
|
26 | return successful;↵ | | |
|
27 | }↵ | | |
|
28 | public void setSuccessful(boolean successful) {↵ | | |
|
29 | this.successful = successful;↵ | | |
|
30 | }↵ | | |
|
31 | public Date getDatetime() {↵ | | |
|
32 | return datetime;↵ | | |
|
33 | }↵ | | |
|
34 | public void setDatetime(Date datetime) {↵ | | |
|
35 | this.datetime = datetime↵ | | |
|
| | | 20 | /**↵
|
| | | 21 | * Getter for property 'sequence'.↵
|
| | | 22 | *↵
|
| | | 23 | * @return Value for property 'sequence'.↵
|
| | | 24 | */↵
|
| | | 25 | public int getSequence() {↵
|
| | | 26 | return sequence;↵
|
| | | 27 | }↵
|
|
| | | 28 | /**↵
|
| | | 29 | * Setter for property 'sequence'.↵
|
| | | 30 | *↵
|
| | | 31 | * @param sequence Value to set for property 'sequence'.↵
|
| | | 32 | */↵
|
| | | 33 | public void setSequence(int sequence) {↵
|
| | | 34 | this.sequence = sequence;↵
|
| | | 35 | }↵
|
|
| | | 36 | /**↵
|
| | | 37 | * @return Returns the description.↵
|
| | | 38 | */↵
|
| | | 39 | public String getDescription() {↵
|
| | | 40 | return description;↵
|
| | | 41 | }↵
|
|
| | | 42 | /**↵
|
| | | 43 | * @param description The description to set.↵
|
| | | 44 | */↵
|
| | | 45 | public void setDescription(String description) {↵
|
| | | 46 | this.description = description;↵
|
| | | 47 | }↵
|
|
| | | 48 | /**↵
|
| | | 49 | * @return Returns the x.↵
|
| | | 50 | */↵
|
| | | 51 | public BigDecimal getX() {↵
|
| | | 52 | return x;↵
|
| | | 53 | }↵
|
|
| | | 54 | /**↵
|
| | | 55 | * @param x The x to set.↵
|
| | | 56 | */↵
|
| | | 57 | public void setX(BigDecimal x) {↵
|
| | | 58 | this.x = x;↵
|
| | | 59 | }↵
|
|
| | | 60 | /**↵
|
| | | 61 | * @return Returns the y.↵
|
| | | 62 | */↵
|
| | | 63 | public BigDecimal getY() {↵
|
| | | 64 | return y;↵
|
| | | 65 | }↵
|
|
| | | 66 | /**↵
|
| | | 67 | * @param y The y to set.↵
|
| | | 68 | */↵
|
| | | 69 | public void setY(BigDecimal y) {↵
|
36 | ;↵ | | 70 | this.y = y;↵
|
37 | | | 71 |
|