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