1 | public class Valuation {↵ | | 1 | public class Several implements Serializable {↵
|
2 | private Long id;↵ | | 2 | private String id;↵
|
3 | private Stock stock;↵ | | 3 | private String prop;↵
|
4 | private Date valuationDate;↵ | | 4 | private ↵
|
5 | private Double value;↵ | | |
|
| | | 5 | Single single;↵
|
| | | 6 | private String string;↵
|
| | | 7 | /**↵
|
| | | 8 | * Returns the id.↵
|
| | | 9 | * @return String↵
|
| | | 10 | */↵
|
6 | public Long getId() {↵ | | 11 | public String getId() {↵
|
7 | return id;↵ | | 12 | return id;↵
|
8 | }↵ | | 13 | }↵
|
|
9 | public void setId(Long id) {↵ | | |
|
10 | this.id = id;↵ | | |
|
11 | }↵ | | |
|
|
12 | public Stock getStock() {↵ | | |
|
13 | return stock;↵ | | |
|
14 | }↵ | | |
|
|
15 | public void setStock(Stock stock) {↵ | | |
|
16 | this.stock = stock;↵ | | |
|
17 | }↵ | | |
|
|
18 | public Date getValuationDate() {↵ | | |
|
19 | return valuationDate;↵ | | |
|
20 | }↵ | | |
|
|
21 | public void setValuationDate(Date valuationDate) {↵ | | |
|
22 | this.valuationDate = valuationDate;↵ | | |
|
23 | }↵ | | |
|
|
24 | public Double getValue() {↵ | | |
|
25 | return value;↵ | | |
|
26 | }↵ | | |
|
|
27 | public void setValue(Double value) {↵ | | |
|
28 | this.value = value | | 14 | ↵
|
| | | 15 | /**↵
|
| | | 16 | * Returns the prop.↵
|
| | | 17 | * @return String↵
|
| | | 18 | */↵
|
| | | 19 | public String getProp() {↵
|
| | | 20 | return prop;↵
|
| | | 21 | }↵
|
| | | 22 | ↵
|
| | | 23 | /**↵
|
| | | 24 | * Returns the single.↵
|
| | | 25 | * @return Single↵
|
| | | 26 | */↵
|
| | | 27 | public Single getSingle() {↵
|
| | | 28 | return single;↵
|
| | | 29 | }↵
|
| | | 30 | ↵
|
| | | 31 | /**↵
|
| | | 32 | * Sets the id.↵
|
| | | 33 | * @param id The id to set↵
|
| | | 34 | */↵
|
| | | 35 | public void setId(String id) {↵
|
| | | 36 | this.id = id;↵
|
| | | 37 | }↵
|
| | | 38 | ↵
|
| | | 39 | /**↵
|
| | | 40 | * Sets the prop.↵
|
| | | 41 | * @param prop The prop to set↵
|
| | | 42 | */↵
|
| | | 43 | public void setProp(String prop) {↵
|
| | | 44 | this.prop = prop;↵
|
| | | 45 | }↵
|
| | | 46 | ↵
|
| | | 47 | /**↵
|
| | | 48 | * Sets the single.↵
|
| | | 49 | * @param single The single to set↵
|
| | | 50 | */↵
|
| | | 51 | public void setSingle(Single single) {↵
|
| | | 52 | this.single = single;↵
|
| | | 53 | }↵
|
| | | 54 | ↵
|
| | | 55 | /**↵
|
| | | 56 | * Returns the string.↵
|
| | | 57 | * @return String↵
|
| | | 58 | */↵
|
| | | 59 | public String getString() {↵
|
| | | 60 | return string;↵
|
| | | 61 | }↵
|
| | | 62 | ↵
|
| | | 63 | /**↵
|
| | | 64 | * Sets the string.↵
|
| | | 65 | * @param string The string to set↵
|
| | | 66 | */↵
|
| | | 67 | public void setString(String string) {↵
|
| | | 68 | this.string = string
|