KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > dd > api > web > WebResourceCollection


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.web;
21 import org.netbeans.modules.j2ee.dd.api.common.*;
22 /**
23  * Generated interface for WebResourceCollection 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 WebResourceCollection extends CommonDDBean, DescriptionInterface {
29         /** Setter for web-resource-name property.
30          * @param value property value
31          */

32     public void setWebResourceName(java.lang.String JavaDoc value);
33         /** Getter for web-resource-name property.
34          * @return property value
35          */

36     public java.lang.String JavaDoc getWebResourceName();
37         /** Setter for url-pattern property.
38          * @param index position in the array of url-patterns
39          * @param value property value
40          */

41     public void setUrlPattern(int index, java.lang.String JavaDoc value);
42         /** Getter for url-pattern property.
43          * @param index position in the array of url-patterns
44          * @return property value
45          */

46     public java.lang.String JavaDoc getUrlPattern(int index);
47         /** Setter for url-pattern property.
48          * @param index position in the array of url-patterns
49          * @param value array of url-pattern properties
50          */

51     public void setUrlPattern(java.lang.String JavaDoc[] value);
52         /** Getter for url-pattern property.
53          * @return array of url-pattern properties
54          */

55     public java.lang.String JavaDoc[] getUrlPattern();
56         /** Returns size of url-pattern properties.
57          * @return number of url-pattern properties
58          */

59     public int sizeUrlPattern();
60         /** Adds url-pattern property.
61          * @param value url-pattern property
62          * @return index of new url-pattern
63          */

64     public int addUrlPattern(java.lang.String JavaDoc value);
65         /** Removes url-pattern property.
66          * @param value url-pattern property
67          * @return index of the removed url-pattern
68          */

69     public int removeUrlPattern(java.lang.String JavaDoc value);
70         /** Setter for http-method property.
71          * @param index position in the array of http-methods
72          * @param value property value
73          */

74     public void setHttpMethod(int index, java.lang.String JavaDoc value);
75         /** Getter for http-method property.
76          * @param index position in the array of http-methods
77          * @return property value
78          */

79     public java.lang.String JavaDoc getHttpMethod(int index);
80         /** Setter for http-method property.
81          * @param index position in the array of http-methods
82          * @param value array of http-method properties
83          */

84     public void setHttpMethod(java.lang.String JavaDoc[] value);
85         /** Getter for http-method property.
86          * @return array of http-method properties
87          */

88     public java.lang.String JavaDoc[] getHttpMethod();
89         /** Returns size of http-method properties.
90          * @return number of http-method properties
91          */

92     public int sizeHttpMethod();
93         /** Adds http-method property.
94          * @param value http-method property
95          * @return index of new http-method
96          */

97     public int addHttpMethod(java.lang.String JavaDoc value);
98         /** Removes http-method property.
99          * @param value http-method property
100          * @return index of the removed http-method
101          */

102     public int removeHttpMethod(java.lang.String JavaDoc value);
103
104 }
105
Popular Tags