| Total Complexity | 4 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | /* |
||
| 8 | public class Item implements ItemInterface{ |
||
| 9 | |||
| 10 | private final String name; |
||
| 11 | private final int price; |
||
| 12 | private final String description; |
||
| 13 | |||
| 14 | public Item(String name, int price, String description) { |
||
| 15 | this.name = name; |
||
| 16 | this.price = price; |
||
| 17 | this.description = description; |
||
| 18 | } |
||
| 19 | |||
| 20 | public String getName() { |
||
| 21 | return name; |
||
| 22 | } |
||
| 23 | |||
| 24 | public int getPrice() { |
||
| 25 | return price; |
||
| 26 | } |
||
| 27 | |||
| 28 | public String getDescription() { |
||
| 29 | return description; |
||
| 30 | } |
||
| 32 |