1 package com.neidetcher.petunia.service;
2
3 public class CategoryImpl implements Category
4 {
5
6 private Integer id;
7 private String name;
8 private String description;
9 private Integer parentCategoryId;
10
11
12
13
14 public Integer getId()
15 {
16 return id;
17 }
18
19
20
21
22 public void setId(Integer id)
23 {
24 this.id = id;
25 }
26
27
28
29
30 public String getName()
31 {
32 return name;
33 }
34
35
36
37
38 public void setName(String name)
39 {
40 this.name = name;
41 }
42
43
44
45
46 public Integer getParentCategoryId()
47 {
48 return parentCategoryId;
49 }
50
51
52
53
54 public void setParentCategoryId(Integer parentCategoryId)
55 {
56 this.parentCategoryId = parentCategoryId;
57 }
58
59 @Override
60 public String getDescription()
61 {
62 return description;
63 }
64
65 @Override
66 public void setDescription(String description)
67 {
68 this.description = description;
69 }
70 }