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