1 | public class Department {↵ | | 1 | public static final class Ternary {↵
|
2 | private Long id;↵ | | 2 | private String name;↵
|
3 | private String name;↵ | | 3 | private Foo foo;↵
|
4 | private Set salespersons = new HashSet();↵ | | 4 | private ↵
|
|
| | | 5 | Glarch glarch;↵
|
| | | 6 | /**↵
|
| | | 7 | * Returns the foo.↵
|
| | | 8 | * @return Foo↵
|
| | | 9 | */↵
|
5 | public Long getId() {↵ | | 10 | public Foo getFoo() {↵
|
6 | return id;↵ | | 11 | return foo;↵
|
7 | }↵ | | 12 | }↵
|
|
8 | public void setId(Long id) {↵ | | |
|
9 | this.id = id;↵ | | |
|
10 | }↵ | | |
|
|
| | | 13 | ↵
|
| | | 14 | /**↵
|
| | | 15 | * Returns the glarch.↵
|
| | | 16 | * @return Glarch↵
|
| | | 17 | */↵
|
| | | 18 | public Glarch getGlarch() {↵
|
| | | 19 | return glarch;↵
|
| | | 20 | }↵
|
| | | 21 | ↵
|
| | | 22 | /**↵
|
| | | 23 | * Returns the name.↵
|
| | | 24 | * @return String↵
|
| | | 25 | */↵
|
11 | public String getName() {↵ | | 26 | public String getName() {↵
|
12 | return name;↵ | | 27 | return name;↵
|
13 | }↵ | | 28 | }↵
|
|
14 | public void setName(String name↵ | | 29 | ↵
|
| | | 30 | /**↵
|
| | | 31 | * Sets the foo.↵
|
| | | 32 | * @param foo The foo to set↵
|
| | | 33 | */↵
|
15 | ) {↵ | | 34 | public void setFoo(Foo foo) {↵
|
16 | this.name = name;↵ | | 35 | this.foo = foo;↵
|
17 | }↵ | | 36 | }↵
|
|
18 | public Set getSalespersons() {↵ | | |
|
19 | return salespersons;↵ | | |
|
20 | }↵ | | |
|
|
| | | 37 | ↵
|
| | | 38 | /**↵
|
| | | 39 | * Sets the glarch.↵
|
| | | 40 | * @param glarch The glarch to set↵
|
| | | 41 | */↵
|
| | | 42 | public void setGlarch(Glarch glarch) {↵
|
| | | 43 | this.glarch = glarch;↵
|
| | | 44 | }↵
|
| | | 45 | ↵
|
| | | 46 | /**↵
|
| | | 47 | * Sets the name.↵
|
| | | 48 | * @param name The name to set↵
|
| | | 49 | */↵
|
21 | public void setSalespersons(Set salespersons) {↵ | | 50 | public void setName(String name) {↵
|
22 | this.salespersons = salespersons;↵ | | 51 | this.name = name;↵
|
23 | | | 52 |
|