KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > sun > dd > api > serverresources > JdbcResource


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  * JdbcResourceInterface.java
21  *
22  * Created on November 21, 2004, 2:59 PM
23  */

24
25 package org.netbeans.modules.j2ee.sun.dd.api.serverresources;
26 /**
27  * @author Nitya Doraisamy
28  */

29 public interface JdbcResource {
30
31         public static final String JavaDoc JNDINAME = "JndiName"; // NOI18N
32
public static final String JavaDoc POOLNAME = "PoolName"; // NOI18N
33
public static final String JavaDoc OBJECTTYPE = "ObjectType"; // NOI18N
34
public static final String JavaDoc ENABLED = "Enabled"; // NOI18N
35
public static final String JavaDoc DESCRIPTION = "Description"; // NOI18N
36
public static final String JavaDoc PROPERTY = "PropertyElement"; // NOI18N
37

38     /** Setter for jndi-name property
39         * @param value property value
40         */

41     public void setJndiName(java.lang.String JavaDoc value);
42         /** Getter for jndi-name property
43         * @return property value
44         */

45     public java.lang.String JavaDoc getJndiName();
46         /** Setter for pool-name property
47         * @param value property value
48         */

49     public void setPoolName(java.lang.String JavaDoc value);
50         /** Getter for pool-name property
51         * @return property value
52         */

53     public java.lang.String JavaDoc getPoolName();
54         /** Setter for object-type property
55         * @param value property value
56         */

57     public void setObjectType(java.lang.String JavaDoc value);
58         /** Getter for object-type property
59         * @return property value
60         */

61     public java.lang.String JavaDoc getObjectType();
62         /** Setter for enabled property
63         * @param value property value
64         */

65     public void setEnabled(java.lang.String JavaDoc value);
66         /** Getter for enabled property
67         * @return property value
68         */

69     public java.lang.String JavaDoc getEnabled();
70         /** Setter for description attribute
71         * @param value attribute value
72         */

73     public void setDescription(String JavaDoc value);
74         /** Getter for description attribute
75         * @return attribute value
76         */

77     public String JavaDoc getDescription();
78
79     public void setPropertyElement(int index, PropertyElement value);
80     public PropertyElement getPropertyElement(int index);
81     public int sizePropertyElement();
82     public void setPropertyElement(PropertyElement[] value);
83     public PropertyElement[] getPropertyElement();
84     public int addPropertyElement(PropertyElement value);
85     public int removePropertyElement(PropertyElement value);
86     public PropertyElement newPropertyElement();
87
88 }
89
Popular Tags