1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 package net.smartlab.web.shop;
25
26 import java.util.Set;
27
28 import net.smartlab.web.BusinessObject;
29 import net.smartlab.web.registry.Locality;
30
31 /**
32 * @TODO documentation
33 * @author rlogiacco@smartlab.net
34 */
35 public class Store extends BusinessObject {
36
37 private static final long serialVersionUID = -4659457153200971907L;
38
39 /**
40 * @TODO documentation
41 */
42 private long id;
43 /**
44 * @TODO documentation
45 */
46 private String display;
47 /**
48 * @TODO documentation
49 */
50 private double capacity;
51 /**
52 * @TODO documentation
53 */
54 private Locality location;
55
56 /**
57 * @TODO documentation
58 * @associates <{net.smartlab.web.shop.Stock}>
59 * @directed directed
60 * @link aggregation
61 * @supplierCardinality 0..*
62 */
63 private Set goods;
64
65 /**
66 * @TODO documentation
67 * @return returns the <code>id</code>.
68 */
69 public long getId() {
70 return id;
71 }
72
73 /**
74 * @TODO documentation
75 * @param id the <code>id</code> to set.
76 */
77 public void setId(long id) {
78 this.id = id;
79 }
80
81 /**
82 * @TODO documentation
83 * @return returns the <code>display</code>.
84 */
85 public String getDisplay() {
86 return display;
87 }
88
89 /**
90 * @TODO documentation
91 * @param display the <code>display</code> to set.
92 */
93 public void setDisplay(String display) {
94 this.display = display;
95 }
96
97 /**
98 * @TODO documentation
99 * @return returns the <code>capacity</code>.
100 */
101 public double getCapacity() {
102 return capacity;
103 }
104
105 /**
106 * @TODO documentation
107 * @param capacity the <code>capacity</code> to set.
108 */
109 public void setCapacity(double capacity) {
110 this.capacity = capacity;
111 }
112
113 /**
114 * @TODO documentation
115 * @return returns the <code>location</code>.
116 */
117 public Locality getLocation() {
118 return location;
119 }
120
121 /**
122 * @TODO documentation
123 * @param location the <code>location</code> to set.
124 */
125 public void setLocation(Locality location) {
126 this.location = location;
127 }
128 }