1 package org.srinivas.siteworks.dbrestserver.utilities;
2
3 import javax.xml.bind.annotation.XmlRootElement;
4
5
6
7
8 @XmlRootElement(name = "firework",namespace="urn:firework")
9 public class FireWork {
10
11 private int id;
12 private String name;
13 private String category;
14 private String description;
15
16
17
18
19 public FireWork() {
20 }
21
22
23
24
25
26
27
28
29
30 public FireWork(int id, String Category, String name, String description) {
31 this.id = id;
32 this.name = name;
33 this.category = Category;
34 this.description = description;
35 }
36
37
38
39
40
41
42 public int getId() {
43 return id;
44 }
45
46
47
48
49
50
51 public void setId(int id) {
52 this.id = id;
53 }
54
55
56
57
58
59
60 public String getName() {
61 return name;
62 }
63
64
65
66
67
68
69 public void setName(String name) {
70 this.name = name;
71 }
72
73
74
75
76
77
78 public String getCategory() {
79 return category;
80 }
81
82
83
84
85
86
87 public void setCategory(String category) {
88 this.category = category;
89 }
90
91
92
93
94
95
96 public String getDescription() {
97 return description;
98 }
99
100
101
102
103
104
105 public void setDescription(String description) {
106 this.description = description;
107 }
108 }