1 | public class Stock {↵ | | 1 | public class Single implements Serializable {↵
|
2 | private Long id;↵ | | 2 | private String id;↵
|
3 | private String tradeSymbol;↵ | | 3 | private String ↵
|
4 | private Valuation currentValuation;↵ | | |
|
5 | private Set valuations = new HashSet();↵ | | |
|
| | | 4 | prop;↵
|
| | | 5 | private String string;↵
|
| | | 6 | private Collection several = new HashSet();↵
|
| | | 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 String getTradeSymbol() {↵ | | |
|
13 | return tradeSymbol;↵ | | |
|
14 | }↵ | | |
|
| | | 14 | ↵
|
| | | 15 | /**↵
|
| | | 16 | * Returns the prop.↵
|
| | | 17 | * @return String↵
|
| | | 18 | */↵
|
| | | 19 | public String getProp() {↵
|
| | | 20 | return prop;↵
|
| | | 21 | }↵
|
| | | 22 | ↵
|
| | | 23 | /**↵
|
| | | 24 | * Returns the several.↵
|
| | | 25 | * @return Set↵
|
| | | 26 | */↵
|
| | | 27 | public Collection getSeveral() {↵
|
| | | 28 | return several;↵
|
| | | 29 | }↵
|
| | | 30 | ↵
|
| | | 31 | /**↵
|
| | | 32 | * Sets the id.↵
|
| | | 33 | * @param id The id to set↵
|
| | | 34 | */↵
|
15 | public void setTradeSymbol(String tradeSymbol) {↵ | | 35 | public void set↵
|
16 | this.tradeSymbol = tradeSymbol;↵ | | |
|
17 | }↵ | | |
|
|
18 | public Valuation getCurrentValuation() {↵ | | |
|
19 | return currentValuation;↵ | | |
|
20 | }↵ | | |
|
|
21 | public void setCurrentValuation(Valuation currentValuation) {↵ | | |
|
22 | this.currentValuation = currentValuation;↵ | | |
|
23 | }↵ | | |
|
|
24 | public Set getValuations() {↵ | | |
|
25 | return valuations;↵ | | |
|
26 | }↵ | | |
|
| | | 36 | Id(String id) {↵
|
| | | 37 | this.id = id;↵
|
| | | 38 | }↵
|
| | | 39 | ↵
|
| | | 40 | /**↵
|
| | | 41 | * Sets the prop.↵
|
| | | 42 | * @param prop The prop to set↵
|
| | | 43 | */↵
|
| | | 44 | public void setProp(String prop) {↵
|
| | | 45 | this.prop = prop;↵
|
| | | 46 | }↵
|
| | | 47 | ↵
|
| | | 48 | /**↵
|
| | | 49 | * Sets the several.↵
|
| | | 50 | * @param several The several to set↵
|
| | | 51 | */↵
|
| | | 52 | public void setSeveral(Collection several) {↵
|
| | | 53 | this.several = several;↵
|
| | | 54 | }↵
|
| | | 55 | ↵
|
| | | 56 | /**↵
|
| | | 57 | * Returns the string.↵
|
| | | 58 | * @return String↵
|
| | | 59 | */↵
|
| | | 60 | public String getString() {↵
|
| | | 61 | return string;↵
|
| | | 62 | }↵
|
| | | 63 | ↵
|
| | | 64 | /**↵
|
| | | 65 | * Sets the string.↵
|
| | | 66 | * @param string The string to set↵
|
| | | 67 | */↵
|
27 | public void setValuations(Set valuations) {↵ | | 68 | public void set↵
|
28 | this.valuations = valuations↵ | | 69 | String(String string) {↵
|
29 | ;↵ | | 70 | this.string = string;↵
|
30 | | | 71 |
|