KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > ejb3 > dd > MessageDestinationRef


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.ejb3.dd;
8
9 import javax.annotation.AuthenticationType;
10
11 /**
12  * Represents a <message-destination-ref> element of the ejb-jar.xml deployment descriptor for the
13  * 1.4 schema
14  *
15  * @version <tt>$Revision: 1.3.2.1 $</tt>
16  * @author <a HREF="mailto:bdecoste@jboss.com">William DeCoste</a>
17  */

18 public class MessageDestinationRef
19 {
20
21    private String JavaDoc description;
22
23    private String JavaDoc messageDestinationRefName;
24
25    private String JavaDoc messageDestinationType;
26
27    private String JavaDoc messageDestinationUsage;
28    
29    private String JavaDoc messageDestinationLink;
30    
31    private String JavaDoc injectionTarget;
32    
33    public String JavaDoc getInjectionTarget()
34    {
35       return injectionTarget;
36    }
37
38    public void setInjectionTarget(String JavaDoc injectionTarget)
39    {
40       this.injectionTarget = injectionTarget;
41    }
42    
43    public String JavaDoc getDescription()
44    {
45       return description;
46    }
47
48    public void setDescription(String JavaDoc description)
49    {
50       this.description = description;
51    }
52    
53    public String JavaDoc getMessageDestinationRefName()
54    {
55       return messageDestinationRefName;
56    }
57
58    public void setMessageDestinationRefName(String JavaDoc messageDestinationRefName)
59    {
60       this.messageDestinationRefName = messageDestinationRefName;
61    }
62
63    public String JavaDoc getMessageDestinationType()
64    {
65       return messageDestinationType;
66    }
67
68    public void setMessageDestinationType(String JavaDoc messageDestinationType)
69    {
70       this.messageDestinationType = messageDestinationType;
71    }
72
73    public String JavaDoc getMessageDestinationUsage()
74    {
75       return messageDestinationUsage;
76    }
77
78    public void setMessageDestinationUsage(String JavaDoc messageDestinationUsage)
79    {
80       this.messageDestinationUsage = messageDestinationUsage;
81    }
82
83    public String JavaDoc getMessageDestinationLink()
84    {
85       return messageDestinationLink;
86    }
87
88    public void setMessageDestinationLink(String JavaDoc messageDestinationLink)
89    {
90       this.messageDestinationLink = messageDestinationLink;
91    }
92
93    public String JavaDoc toString()
94    {
95       StringBuffer JavaDoc sb = new StringBuffer JavaDoc(100);
96       sb.append("[");
97       sb.append("messageDestinationRefName=").append(messageDestinationRefName);
98       sb.append("]");
99       return sb.toString();
100    }
101 }
102
Popular Tags