1 | public class Stock {↵ | | 1 | public class Eye {↵
|
2 | private Long id;↵ | | 2 | private long id;↵
|
3 | private String tradeSymbol;↵ | | 3 | private String ↵
|
4 | private Valuation currentValuation↵ | | 4 | name;↵
|
5 | ;↵ | | 5 | private Jay jay;↵
|
6 | private Set valuations = new HashSet();↵ | | 6 | private Set jays = new HashSet();↵
|
|
| | | 7 | /**↵
|
| | | 8 | * @return Returns the id.↵
|
| | | 9 | */↵
|
7 | public Long getId() {↵ | | 10 | public long getId() {↵
|
8 | return id;↵ | | 11 | return id;↵
|
9 | }↵ | | 12 | }↵
|
|
| | | 13 | /**↵
|
| | | 14 | * @param id The id to set.↵
|
| | | 15 | */↵
|
10 | public void setId(Long id) {↵ | | 16 | public void setId(long id) {↵
|
11 | this.id = id;↵ | | 17 | this.id = id;↵
|
12 | }↵ | | 18 | }↵
|
|
| | | 19 | /**↵
|
| | | 20 | * @return Returns the jay.↵
|
| | | 21 | */↵
|
13 | public String getTradeSymbol() {↵ | | 22 | public ↵
|
14 | return tradeSymbol;↵ | | |
|
15 | }↵ | | |
|
|
16 | public void setTradeSymbol(String tradeSymbol) {↵ | | |
|
17 | this.tradeSymbol = tradeSymbol;↵ | | |
|
18 | }↵ | | |
|
|
19 | public Valuation getCurrentValuation() {↵ | | |
|
20 | return currentValuation;↵ | | |
|
21 | }↵ | | |
|
|
22 | public void setCurrentValuation(Valuation currentValuation) {↵ | | |
|
23 | this.currentValuation = currentValuation;↵ | | |
|
24 | }↵ | | |
|
| | | 23 | Jay getJay() {↵
|
| | | 24 | return jay;↵
|
| | | 25 | }↵
|
|
| | | 26 | /**↵
|
| | | 27 | * @param jay The jay to set.↵
|
| | | 28 | */↵
|
| | | 29 | public void setJay(Jay jay) {↵
|
| | | 30 | this.jay = jay;↵
|
| | | 31 | }↵
|
|
| | | 32 | /**↵
|
| | | 33 | * @return Returns the jays.↵
|
| | | 34 | */↵
|
| | | 35 | public Set getJays() {↵
|
| | | 36 | return jays;↵
|
| | | 37 | }↵
|
|
| | | 38 | /**↵
|
| | | 39 | * @param jays The jays to set.↵
|
| | | 40 | */↵
|
| | | 41 | public void setJays(Set jays) {↵
|
| | | 42 | this.jays = jays;↵
|
| | | 43 | }↵
|
|
| | | 44 | /**↵
|
| | | 45 | * @return Returns the name.↵
|
| | | 46 | */↵
|
25 | public Set getValuations() {↵ | | 47 | public S↵
|
26 | return valuations;↵ | | |
|
27 | }↵ | | |
|
| | | 48 | tring getName() {↵
|
| | | 49 | return name;↵
|
| | | 50 | }↵
|
|
| | | 51 | /**↵
|
| | | 52 | * @param name The name to set.↵
|
| | | 53 | */↵
|
28 | public void setValuations(Set valuations) {↵ | | 54 | public void set↵
|
29 | this.valuations = valuations | | 55 | Name(String name) {↵
|
| | | 56 | this.name = name
|