KickJava   Java API By Example, From Geeks To Geeks.

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


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  * Generated interface for EnvEntry element.
23  *
24  *<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>
25  *</p>
26  */

27 public interface EnvEntry extends CommonDDBean, DescriptionInterface {
28
29     public static final String JavaDoc ENV_ENTRY_NAME = "EnvEntryName"; // NOI18N
30
public static final String JavaDoc ENV_ENTRY_TYPE = "EnvEntryType"; // NOI18N
31
public static final String JavaDoc ENV_ENTRY_VALUE = "EnvEntryValue"; // NOI18N
32

33         /** Setter for env-entry-name property.
34          * @param value property value
35          */

36     public void setEnvEntryName(String JavaDoc value);
37         /** Getter for env-entry-name property.
38          * @return property value
39          */

40     public String JavaDoc getEnvEntryName();
41         /** Setter for env-entry-type property.
42          * @param value property value
43          */

44     public void setEnvEntryType(String JavaDoc value);
45         /** Getter for env-entry-type property.
46          * @return property value
47          */

48     public String JavaDoc getEnvEntryType();
49         /** Setter for env-entry-value property.
50          * @param value property value
51          */

52     public void setEnvEntryValue(String JavaDoc value);
53         /** Getter for env-entry-value property.
54          * @return property value
55          */

56     public String JavaDoc getEnvEntryValue();
57
58         // Java EE 5
59

60         void setMappedName(String JavaDoc value) throws VersionNotSupportedException;
61     String JavaDoc getMappedName() throws VersionNotSupportedException;
62     void setInjectionTarget(int index, InjectionTarget valueInterface) throws VersionNotSupportedException;
63     InjectionTarget getInjectionTarget(int index) throws VersionNotSupportedException;
64     int sizeInjectionTarget() throws VersionNotSupportedException;
65     void setInjectionTarget(InjectionTarget[] value) throws VersionNotSupportedException;
66     InjectionTarget[] getInjectionTarget() throws VersionNotSupportedException;
67     int addInjectionTarget(InjectionTarget valueInterface) throws VersionNotSupportedException;
68     int removeInjectionTarget(InjectionTarget valueInterface) throws VersionNotSupportedException;
69     InjectionTarget newInjectionTarget() throws VersionNotSupportedException;
70
71 }
72
Popular Tags