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.util.HashSet;
06: import java.util.Set;
07:
08: /**
09: * MessageQueue generated by hbm2java
10: */
11: public class MessageQueue implements java.io.Serializable {
12:
13: // Fields
14:
15: /**
16: * auto_increment
17: *
18: */
19: private Integer id;
20: private String messageQueueName;
21: private Integer named;
22: private Set<Message> messages = new HashSet<Message>(0);
23: private Set<MessageQueueService> messageQueueServices = new HashSet<MessageQueueService>(
24: 0);
25:
26: // Constructors
27:
28: /** default constructor */
29: public MessageQueue() {
30: }
31:
32: /** minimal constructor */
33: public MessageQueue(String messageQueueName) {
34: this .messageQueueName = messageQueueName;
35: }
36:
37: /** full constructor */
38: public MessageQueue(String messageQueueName, Integer named,
39: Set<Message> messages,
40: Set<MessageQueueService> messageQueueServices) {
41: this .messageQueueName = messageQueueName;
42: this .named = named;
43: this .messages = messages;
44: this .messageQueueServices = messageQueueServices;
45: }
46:
47: // Property accessors
48: /**
49: * * auto_increment
50: *
51: */
52: public Integer getId() {
53: return this .id;
54: }
55:
56: public void setId(Integer id) {
57: this .id = id;
58: }
59:
60: public String getMessageQueueName() {
61: return this .messageQueueName;
62: }
63:
64: public void setMessageQueueName(String messageQueueName) {
65: this .messageQueueName = messageQueueName;
66: }
67:
68: public Integer getNamed() {
69: return this .named;
70: }
71:
72: public void setNamed(Integer named) {
73: this .named = named;
74: }
75:
76: public Set<Message> getMessages() {
77: return this .messages;
78: }
79:
80: public void setMessages(Set<Message> messages) {
81: this .messages = messages;
82: }
83:
84: public Set<MessageQueueService> getMessageQueueServices() {
85: return this .messageQueueServices;
86: }
87:
88: public void setMessageQueueServices(
89: Set<MessageQueueService> messageQueueServices) {
90: this.messageQueueServices = messageQueueServices;
91: }
92:
93: }
|