KickJava   Java API By Example, From Geeks To Geeks.

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


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
// This interface has all of the bean info accessor methods.
24

25 import org.netbeans.modules.j2ee.dd.api.common.CommonDDBean;
26 import org.netbeans.modules.j2ee.dd.api.common.DescriptionInterface;
27
28 /**
29  * Generated interface for EjbLocalRef element.
30  *
31  *<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>
32  *</p>
33  */

34 public interface EjbLocalRef extends CommonDDBean, DescriptionInterface {
35
36         public static final String JavaDoc EJB_REF_NAME = "EjbRefName"; // NOI18N
37
public static final String JavaDoc EJB_REF_TYPE = "EjbRefType"; // NOI18N
38
public static final String JavaDoc LOCAL_HOME = "LocalHome"; // NOI18N
39
public static final String JavaDoc LOCAL = "Local"; // NOI18N
40
public static final String JavaDoc EJB_LINK = "EjbLink"; // NOI18N
41
public static final String JavaDoc EJB_REF_TYPE_ENTITY = "Entity"; // NOI18N
42
public static final String JavaDoc EJB_REF_TYPE_SESSION = "Session"; // NOI18N
43
/** Setter for ejb-ref-name property.
44          * @param value property value
45          */

46     public void setEjbRefName(String JavaDoc value);
47         /** Getter for ejb-ref-name property.
48          * @return property value
49          */

50     public String JavaDoc getEjbRefName();
51         /** Setter for ejb-ref-type property.
52          * @param value property value
53          */

54     public void setEjbRefType(String JavaDoc value);
55         /** Getter for ejb-ref-type property.
56          * @return property value
57          */

58     public String JavaDoc getEjbRefType();
59         /** Setter for local-home property.
60          * @param value property value
61          */

62     public void setLocalHome(String JavaDoc value);
63         /** Getter for local-home property.
64          * @return property value
65          */

66     public String JavaDoc getLocalHome();
67         /** Setter for local property.
68          * @param value property value
69          */

70     public void setLocal(String JavaDoc value);
71         /** Getter for local property.
72          * @return property value
73          */

74     public String JavaDoc getLocal();
75         /** Setter for ejb-link property.
76          * @param value property value
77          */

78     public void setEjbLink(String JavaDoc value);
79         /** Getter for ejb-link property.
80          * @return property value
81          */

82     public String JavaDoc getEjbLink();
83
84         // Java EE 5
85

86         void setMappedName(String JavaDoc value) throws VersionNotSupportedException;
87     String JavaDoc getMappedName() throws VersionNotSupportedException;
88     void setInjectionTarget(int index, InjectionTarget valueInterface) throws VersionNotSupportedException;
89     InjectionTarget getInjectionTarget(int index) throws VersionNotSupportedException;
90     int sizeInjectionTarget() throws VersionNotSupportedException;
91     void setInjectionTarget(InjectionTarget[] value) throws VersionNotSupportedException;
92     InjectionTarget[] getInjectionTarget() throws VersionNotSupportedException;
93     int addInjectionTarget(InjectionTarget valueInterface) throws VersionNotSupportedException;
94     int removeInjectionTarget(InjectionTarget valueInterface) throws VersionNotSupportedException;
95     InjectionTarget newInjectionTarget() throws VersionNotSupportedException;
96
97 }
98
99
Popular Tags