source:
src/main/java/negotiator/onetomany/Product.java@
210
Last change on this file since 210 was 207, checked in by , 6 years ago | |
---|---|
File size: 256 bytes |
Line | |
---|---|
1 | package negotiator.onetomany; |
2 | |
3 | /** |
4 | * A product, such as Paracetamol, or a Red Dot |
5 | */ |
6 | public class Product |
7 | { |
8 | String id; |
9 | |
10 | public Product(String id) |
11 | { |
12 | this.id = id; |
13 | } |
14 | |
15 | @Override |
16 | public String toString() |
17 | { |
18 | return id; |
19 | } |
20 | } |
Note:
See TracBrowser
for help on using the repository browser.