1 | public class Valuation {↵ | | 1 | public class Circular {↵
|
| | | 2 | ↵
|
2 | private Long id;↵ | | 3 | private String id;↵
|
3 | private Stock stock;↵ | | 4 | private ↵
|
4 | private Date valuationDate;↵ | | |
|
5 | private Double value;↵ | | |
|
| | | 5 | Class clazz;↵
|
| | | 6 | private Circular other;↵
|
| | | 7 | private Object anyEntity;↵
|
| | | 8 | ↵
|
| | | 9 | /**↵
|
| | | 10 | * Constructor for Circular.↵
|
| | | 11 | */↵
|
| | | 12 | public Circular() {↵
|
| | | 13 | super();↵
|
| | | 14 | }↵
|
| | | 15 | ↵
|
| | | 16 | /**↵
|
| | | 17 | * Returns the clazz.↵
|
| | | 18 | * @return Class↵
|
| | | 19 | */↵
|
| | | 20 | public Class getClazz() {↵
|
| | | 21 | return clazz;↵
|
| | | 22 | }↵
|
| | | 23 | ↵
|
| | | 24 | /**↵
|
| | | 25 | * Returns the id.↵
|
| | | 26 | * @return String↵
|
| | | 27 | */↵
|
6 | public Long getId() {↵ | | 28 | public String getId() {↵
|
7 | return id;↵ | | 29 | return id;↵
|
8 | }↵ | | 30 | }↵
|
|
9 | public void setId(Long id) {↵ | | |
|
10 | this.id = id↵ | | 31 | ↵
|
| | | 32 | /**↵
|
| | | 33 | * Sets the clazz.↵
|
| | | 34 | * @param clazz The clazz to set↵
|
| | | 35 | */↵
|
| | | 36 | public void setClazz(Class clazz) {↵
|
11 | ;↵ | | 37 | this.clazz = clazz;↵
|
12 | }↵ | | 38 | }↵
|
| | | 39 | ↵
|
13 | public Stock getStock() {↵ | | 40 | ↵
|
14 | return stock;↵ | | |
|
15 | }↵ | | |
|
|
16 | public void setStock(Stock stock) {↵ | | |
|
17 | this.stock = stock;↵ | | |
|
18 | }↵ | | |
|
|
19 | public Date getValuationDate() {↵ | | |
|
20 | return valuationDate;↵ | | |
|
21 | }↵ | | |
|
|
22 | public void setValuationDate(Date valuationDate) {↵ | | |
|
23 | this.valuationDate = valuationDate;↵ | | |
|
24 | }↵ | | |
|
|
25 | public Double getValue() {↵ | | |
|
26 | return value;↵ | | |
|
27 | }↵ | | |
|
|
28 | public void setValue(Double value↵ | | 41 | /**↵
|
| | | 42 | * Sets the id.↵
|
| | | 43 | * @param id The id to set↵
|
| | | 44 | */↵
|
| | | 45 | public void setId(String id) {↵
|
| | | 46 | this.id = id;↵
|
| | | 47 | }↵
|
| | | 48 | ↵
|
| | | 49 | /**↵
|
| | | 50 | * Returns the other.↵
|
| | | 51 | * @return Circular↵
|
| | | 52 | */↵
|
| | | 53 | public Circular getOther() {↵
|
| | | 54 | return other;↵
|
| | | 55 | }↵
|
| | | 56 | ↵
|
| | | 57 | /**↵
|
| | | 58 | * Sets the other.↵
|
| | | 59 | * @param other The other to set↵
|
| | | 60 | */↵
|
| | | 61 | public void setOther(Circular other) {↵
|
| | | 62 | this.other = other;↵
|
| | | 63 | }↵
|
| | | 64 | ↵
|
| | | 65 | /**↵
|
| | | 66 | * Returns the anyEntity.↵
|
| | | 67 | * @return Object↵
|
| | | 68 | */↵
|
| | | 69 | public Object getAnyEntity() {↵
|
| | | 70 | return anyEntity;↵
|
| | | 71 | }↵
|
| | | 72 | ↵
|
| | | 73 | /**↵
|
| | | 74 | * Sets the anyEntity.↵
|
| | | 75 | * @param anyEntity The anyEntity to set↵
|
| | | 76 | */↵
|
29 | ) {↵ | | 77 | public void setAnyEntity(Object anyEntity) {↵
|
30 | this.value = value | | 78 | this.anyEntity = anyEntity
|