01: package org.concern.controller;
02:
03: /**
04: * @author hengels
05: * @version $Revision: 503 $
06: */
07: public class AssignmentNotification {
08: Integer id;
09: String subjectId;
10: String process;
11: String activity;
12: int level;
13: String assignee;
14:
15: public AssignmentNotification() {
16: }
17:
18: public Integer getId() {
19: return id;
20: }
21:
22: public void setId(Integer id) {
23: this .id = id;
24: }
25:
26: public String getSubjectId() {
27: return subjectId;
28: }
29:
30: public void setSubjectId(String subjectId) {
31: this .subjectId = subjectId;
32: }
33:
34: public String getProcess() {
35: return process;
36: }
37:
38: public void setProcess(String process) {
39: this .process = process;
40: }
41:
42: public String getActivity() {
43: return activity;
44: }
45:
46: public void setActivity(String activity) {
47: this .activity = activity;
48: }
49:
50: public int getLevel() {
51: return level;
52: }
53:
54: public void setLevel(int level) {
55: this .level = level;
56: }
57:
58: public String getAssignee() {
59: return assignee;
60: }
61:
62: public void setAssignee(String assignee) {
63: this .assignee = assignee;
64: }
65:
66: public boolean equals(Object o) {
67: if (this == o)
68: return true;
69: if (o == null || getClass() != o.getClass())
70: return false;
71:
72: final Ensignment that = (Ensignment) o;
73:
74: if (!id.equals(that.id))
75: return false;
76:
77: return true;
78: }
79:
80: public int hashCode() {
81: return id.hashCode();
82: }
83: }
|