1 | public class Stock {↵ | | 1 | public class Circular {↵
|
| | | 2 | ↵
|
2 | private Long id;↵ | | 3 | private String id;↵
|
3 | private String tradeSymbol;↵ | | 4 | private ↵
|
4 | private Valuation currentValuation;↵ | | |
|
5 | private Set valuations = new HashSet();↵ | | |
|
| | | 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 String getTradeSymbol() {↵ | | 40 | ↵
|
14 | return tradeSymbol;↵ | | |
|
15 | }↵ | | |
|
| | | 41 | /**↵
|
| | | 42 | * Sets the id.↵
|
| | | 43 | * @param id The id to set↵
|
| | | 44 | */↵
|
16 | public void setTradeSymbol(String tradeSymbol) {↵ | | 45 | public void set↵
|
17 | this.tradeSymbol = tradeSymbol↵ | | 46 | Id(String id) {↵
|
18 | ;↵ | | 47 | this.id = id;↵
|
19 | }↵ | | 48 | }↵
|
| | | 49 | ↵
|
20 | public Valuation getCurrentValuation() {↵ | | 50 | ↵
|
21 | return currentValuation;↵ | | |
|
22 | }↵ | | |
|
|
23 | public void setCurrentValuation(Valuation currentValuation) {↵ | | |
|
24 | this.currentValuation = currentValuation;↵ | | |
|
25 | }↵ | | |
|
|
26 | public Set getValuations() {↵ | | |
|
27 | return valuations;↵ | | |
|
28 | }↵ | | |
|
| | | 51 | /**↵
|
| | | 52 | * Returns the other.↵
|
| | | 53 | * @return Circular↵
|
| | | 54 | */↵
|
| | | 55 | public Circular getOther() {↵
|
| | | 56 | return other;↵
|
| | | 57 | }↵
|
| | | 58 | ↵
|
| | | 59 | /**↵
|
| | | 60 | * Sets the other.↵
|
| | | 61 | * @param other The other to set↵
|
| | | 62 | */↵
|
| | | 63 | public void setOther(Circular other) {↵
|
| | | 64 | this.other = other;↵
|
| | | 65 | }↵
|
| | | 66 | ↵
|
| | | 67 | /**↵
|
| | | 68 | * Returns the anyEntity.↵
|
| | | 69 | * @return Object↵
|
| | | 70 | */↵
|
| | | 71 | public Object getAnyEntity() {↵
|
| | | 72 | return anyEntity;↵
|
| | | 73 | }↵
|
| | | 74 | ↵
|
| | | 75 | /**↵
|
| | | 76 | * Sets the anyEntity.↵
|
| | | 77 | * @param anyEntity The anyEntity to set↵
|
| | | 78 | */↵
|
29 | public void setValuations(Set valuations) {↵ | | 79 | public void setAnyEntity(Object anyEntity) {↵
|
30 | this.valuations = valuations | | 80 | this.anyEntity = anyEntity
|