01: package com.rift.coad.daemon.messageservice.db;
02:
03: // Generated Feb 19, 2007 7:55:38 AM by Hibernate Tools 3.2.0.beta6a
04:
05: import java.sql.Timestamp;
06:
07: /**
08: * MessageError generated by hbm2java
09: */
10: public class MessageError implements java.io.Serializable {
11:
12: // Fields
13:
14: /**
15: * auto_increment
16: *
17: */
18: private Integer id;
19: private int errorLevel;
20: private Timestamp errorDate;
21: private String msg;
22: private Message message;
23:
24: // Constructors
25:
26: /** default constructor */
27: public MessageError() {
28: }
29:
30: /** minimal constructor */
31: public MessageError(int errorLevel, String msg) {
32: this .errorLevel = errorLevel;
33: this .msg = msg;
34: }
35:
36: /** full constructor */
37: public MessageError(int errorLevel, Timestamp errorDate,
38: String msg, Message message) {
39: this .errorLevel = errorLevel;
40: this .errorDate = errorDate;
41: this .msg = msg;
42: this .message = message;
43: }
44:
45: // Property accessors
46: /**
47: * * auto_increment
48: *
49: */
50: public Integer getId() {
51: return this .id;
52: }
53:
54: public void setId(Integer id) {
55: this .id = id;
56: }
57:
58: public int getErrorLevel() {
59: return this .errorLevel;
60: }
61:
62: public void setErrorLevel(int errorLevel) {
63: this .errorLevel = errorLevel;
64: }
65:
66: public Timestamp getErrorDate() {
67: return this .errorDate;
68: }
69:
70: public void setErrorDate(Timestamp errorDate) {
71: this .errorDate = errorDate;
72: }
73:
74: public String getMsg() {
75: return this .msg;
76: }
77:
78: public void setMsg(String msg) {
79: this .msg = msg;
80: }
81:
82: public Message getMessage() {
83: return this .message;
84: }
85:
86: public void setMessage(Message message) {
87: this.message = message;
88: }
89:
90: }
|