KickJava   Java API By Example, From Geeks To Geeks.

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


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 ResourceEnvRef 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 ResourceEnvRef extends CommonDDBean, DescriptionInterface {
29
30
31     public static final String JavaDoc RESOURCE_ENV_REF_NAME = "ResourceEnvRefName"; // NOI18N
32
public static final String JavaDoc RESOURCE_ENV_REF_TYPE = "ResourceEnvRefType"; // NOI18N
33

34     /** Setter for resource-env-ref-name property
35      * @param value property value
36      */

37     public void setResourceEnvRefName(String JavaDoc value);
38     /** Getter for resource-env-ref-name property.
39      * @return property value
40      */

41     public String JavaDoc getResourceEnvRefName();
42     /** Setter for resource-env-ref-type property.
43      * @param value property value
44      */

45     public void setResourceEnvRefType(String JavaDoc value);
46     /** Getter for resource-env-ref-type property.
47      * @return property value
48      */

49     public String JavaDoc getResourceEnvRefType();
50
51     // Java EE 5
52

53     void setMappedName(String JavaDoc value) throws VersionNotSupportedException;
54     String JavaDoc getMappedName() throws VersionNotSupportedException;
55     void setInjectionTarget(int index, InjectionTarget valueInterface) throws VersionNotSupportedException;
56     InjectionTarget getInjectionTarget(int index) throws VersionNotSupportedException;
57     int sizeInjectionTarget() throws VersionNotSupportedException;
58     void setInjectionTarget(InjectionTarget[] value) throws VersionNotSupportedException;
59     InjectionTarget[] getInjectionTarget() throws VersionNotSupportedException;
60     int addInjectionTarget(InjectionTarget valueInterface) throws VersionNotSupportedException;
61     int removeInjectionTarget(InjectionTarget valueInterface) throws VersionNotSupportedException;
62     InjectionTarget newInjectionTarget() throws VersionNotSupportedException;
63
64 }
65
Popular Tags