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: /**
06: * MessagePrincipal generated by hbm2java
07: */
08: public class MessagePrincipal implements java.io.Serializable {
09:
10: // Fields
11:
12: /**
13: * auto_increment
14: *
15: */
16: private Integer id;
17: private String principalValue;
18: private Message message;
19:
20: // Constructors
21:
22: /** default constructor */
23: public MessagePrincipal() {
24: }
25:
26: /** minimal constructor */
27: public MessagePrincipal(String principalValue) {
28: this .principalValue = principalValue;
29: }
30:
31: /** full constructor */
32: public MessagePrincipal(String principalValue, Message message) {
33: this .principalValue = principalValue;
34: this .message = message;
35: }
36:
37: // Property accessors
38: /**
39: * * auto_increment
40: *
41: */
42: public Integer getId() {
43: return this .id;
44: }
45:
46: public void setId(Integer id) {
47: this .id = id;
48: }
49:
50: public String getPrincipalValue() {
51: return this .principalValue;
52: }
53:
54: public void setPrincipalValue(String principalValue) {
55: this .principalValue = principalValue;
56: }
57:
58: public Message getMessage() {
59: return this .message;
60: }
61:
62: public void setMessage(Message message) {
63: this.message = message;
64: }
65:
66: }
|