01: package org.contineo.core.communication;
02:
03: /**
04: * SystemMessages are messages which an user only can send to other system
05: * users.
06: *
07: * @author Michael Scholz
08: * @author Marco Meschieri
09: * @version 1.0
10: */
11: public class SystemMessage extends Message {
12:
13: private String recipient = "";
14:
15: private int dateScope = 0;
16:
17: private int prio = 0;
18:
19: private int confirmation = 0; // 0 - false; 1 - true
20:
21: public SystemMessage() {
22: }
23:
24: public String getRecipient() {
25: return recipient;
26: }
27:
28: public int getDateScope() {
29: return dateScope;
30: }
31:
32: public int getPrio() {
33: return prio;
34: }
35:
36: public int getConfirmation() {
37: return confirmation;
38: }
39:
40: public void setRecipient(String rec) {
41: recipient = rec;
42: }
43:
44: public void setDateScope(int scope) {
45: dateScope = scope;
46: }
47:
48: public void setPrio(int pri) {
49: prio = pri;
50: }
51:
52: public void setConfirmation(int conf) {
53: confirmation = conf;
54: }
55:
56: }
|