1 16 17 package info.jtrac.domain; 18 19 import static info.jtrac.Constants.*; 20 21 import info.jtrac.util.XmlUtils; 22 23 import java.io.Serializable ; 24 import java.util.HashMap ; 25 import java.util.Map ; 26 import org.dom4j.Element; 27 28 32 public class Tag implements Serializable { 33 34 private long id; 35 private int type; 36 private String name; 37 private String description; 38 39 public long getId() { 40 return id; 41 } 42 43 public void setId(long id) { 44 this.id = id; 45 } 46 47 public int getType() { 48 return type; 49 } 50 51 public void setType(int type) { 52 this.type = type; 53 } 54 55 public String getName() { 56 return name; 57 } 58 59 public void setName(String name) { 60 this.name = name; 61 } 62 63 public String getDescription() { 64 return description; 65 } 66 67 public void setDescription(String description) { 68 this.description = description; 69 } 70 71 @Override 72 public int hashCode() { 73 return (int) id; 74 } 75 76 } 77 | Popular Tags |