01: package net.sourceforge.squirrel_sql.plugins.hibernate.util;
02:
03: public class Message {
04: private Long id;
05: private String text;
06: private Message nextMessage;
07:
08: Message() {
09: }
10:
11: public Message(String text) {
12: this .text = text;
13: }
14:
15: public Long getId() {
16: return id;
17: }
18:
19: @SuppressWarnings("unused")
20: private void setId(long id) {
21: this .id = id;
22: }
23:
24: public String getText() {
25: return text;
26: }
27:
28: public void setText(String text) {
29: this .text = text;
30: }
31:
32: public Message getNextMessage() {
33: return nextMessage;
34: }
35:
36: public void setNextMessage(Message nextMessage) {
37: this.nextMessage = nextMessage;
38: }
39: }
|