KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > dd > api > common > MessageDestinationRef


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.modules.j2ee.dd.api.common;
21
22 /**
23  * Generated interface for MessageDestinationRef element.
24  *
25  *<p><b><font color="red"><em>Important note: Do not provide an implementation of this interface unless you are a DD API provider!</em></font></b>
26  *</p>
27  */

28 public interface MessageDestinationRef extends CommonDDBean, DescriptionInterface {
29
30     public static final String JavaDoc MESSAGE_DESTINATION_REF_NAME = "MessageDestinationRefName"; // NOI18N
31
public static final String JavaDoc MESSAGE_DESTINATION_TYPE = "MessageDestinationType"; // NOI18N
32
public static final String JavaDoc MESSAGE_DESTINATION_USAGE = "MessageDestinationUsage"; // NOI18N
33
public static final String JavaDoc MESSAGE_DESTINATION_LINK = "MessageDestinationLink"; // NOI18N
34
public static final String JavaDoc MESSAGE_DESTINATION_USAGE_CONSUMES = "Consumes"; // NOI18N
35
public static final String JavaDoc MESSAGE_DESTINATION_USAGE_PRODUCES = "Produces"; // NOI18N
36
public static final String JavaDoc MESSAGE_DESTINATION_USAGE_CONSUMESPRODUCES = "ConsumesProduces"; // NOI18N
37

38     /** Setter for message-destination-ref-name property.
39      * @param value property value
40      */

41     public void setMessageDestinationRefName(String JavaDoc value);
42     /** Getter for message-destination-ref-name property.
43      * @return property value
44      */

45     public String JavaDoc getMessageDestinationRefName();
46     /** Setter for message-destination-type property.
47      * @param value property value
48      */

49     public void setMessageDestinationType(String JavaDoc value);
50     /** Getter for message-destination-type property.
51      * @return property value
52      */

53     public String JavaDoc getMessageDestinationType();
54     /** Setter for message-destination-usage property.
55      * @param value property value
56      */

57     public void setMessageDestinationUsage(String JavaDoc value);
58     /** Getter for message-destination-usage property.
59      * @return property value
60      */

61     public String JavaDoc getMessageDestinationUsage();
62     /** Setter for message-destination-link property.
63      * @param value property value
64      */

65     public void setMessageDestinationLink(String JavaDoc value);
66     /** Getter for message-destination-link property.
67      * @return property value
68      */

69     public String JavaDoc getMessageDestinationLink();
70
71     // Java EE 5
72

73     void setMappedName(String JavaDoc value) throws VersionNotSupportedException;
74     String JavaDoc getMappedName() throws VersionNotSupportedException;
75     void setInjectionTarget(int index, InjectionTarget valueInterface) throws VersionNotSupportedException;
76     InjectionTarget getInjectionTarget(int index) throws VersionNotSupportedException;
77     int sizeInjectionTarget() throws VersionNotSupportedException;
78     void setInjectionTarget(InjectionTarget[] value) throws VersionNotSupportedException;
79     InjectionTarget[] getInjectionTarget() throws VersionNotSupportedException;
80     int addInjectionTarget(InjectionTarget valueInterface) throws VersionNotSupportedException;
81     int removeInjectionTarget(InjectionTarget valueInterface) throws VersionNotSupportedException;
82     InjectionTarget newInjectionTarget() throws VersionNotSupportedException;
83
84 }
85
Popular Tags