Last change
on this file since 6964 was
6964,
checked in by mlg, 14 years ago
|
Tag management :
Add Service and dao for the tags management (adding and listing tags)
|
File size:
616 bytes
|
Line | |
---|
1 | package fr.mael.jiwigo.om; |
---|
2 | |
---|
3 | import org.jdom.Element; |
---|
4 | |
---|
5 | public class Tag { |
---|
6 | /** |
---|
7 | * Name of the tag |
---|
8 | */ |
---|
9 | String nom; |
---|
10 | |
---|
11 | /** |
---|
12 | * Empty constructor |
---|
13 | */ |
---|
14 | public Tag() { |
---|
15 | } |
---|
16 | |
---|
17 | /** |
---|
18 | * @param element the element in the RPC response |
---|
19 | */ |
---|
20 | public Tag(Element element) { |
---|
21 | |
---|
22 | } |
---|
23 | |
---|
24 | /** |
---|
25 | * @param nom the name of the tag |
---|
26 | */ |
---|
27 | public Tag(String nom) { |
---|
28 | this.nom = nom; |
---|
29 | } |
---|
30 | |
---|
31 | /** |
---|
32 | * @return the nom |
---|
33 | */ |
---|
34 | public String getNom() { |
---|
35 | return nom; |
---|
36 | } |
---|
37 | |
---|
38 | /** |
---|
39 | * @param nom the nom to set |
---|
40 | */ |
---|
41 | public void setNom(String nom) { |
---|
42 | this.nom = nom; |
---|
43 | } |
---|
44 | |
---|
45 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.