KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > api > web > dd > SecurityConstraint


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.api.web.dd;
21
22 import org.netbeans.api.web.dd.common.*;
23 /**
24  * Generated interface for SecurityConstraint element.
25  *
26  *<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>
27  *</p>
28  * @deprecated Use the API for web module deployment descriptor in j2ee/ddapi module.
29  */

30 public interface SecurityConstraint extends CommonDDBean, DisplayNameInterface, CreateCapability, FindCapability {
31         /** Setter for web-resource-collection element.
32          * @param index position in the array of elements
33          * @param valueInterface web-resource-collection element (WebResourceCollection object)
34          */

35     public void setWebResourceCollection(int index, org.netbeans.api.web.dd.WebResourceCollection valueInterface);
36         /** Getter for web-resource-collection element.
37          * @param index position in the array of elements
38          * @return web-resource-collection element (WebResourceCollection object)
39          */

40     public org.netbeans.api.web.dd.WebResourceCollection getWebResourceCollection(int index);
41         /** Setter for web-resource-collection elements.
42          * @param value array of web-resource-collection elements (WebResourceCollection objects)
43          */

44     public void setWebResourceCollection(org.netbeans.api.web.dd.WebResourceCollection[] value);
45         /** Getter for web-resource-collection elements.
46          * @return array of web-resource-collection elements (WebResourceCollection objects)
47          */

48     public org.netbeans.api.web.dd.WebResourceCollection[] getWebResourceCollection();
49         /** Returns size of web-resource-collection elements.
50          * @return number of web-resource-collection elements
51          */

52     public int sizeWebResourceCollection();
53         /** Adds web-resource-collection element.
54          * @param valueInterface web-resource-collection element (WebResourceCollection object)
55          * @return index of new web-resource-collection
56          */

57     public int addWebResourceCollection(org.netbeans.api.web.dd.WebResourceCollection valueInterface);
58         /** Removes web-resource-collection element.
59          * @param valueInterface web-resource-collection element (WebResourceCollection object)
60          * @return index of the removed web-resource-collection
61          */

62     public int removeWebResourceCollection(org.netbeans.api.web.dd.WebResourceCollection valueInterface);
63         /** Setter for auth-constraint element.
64          * @param valueInterface auth-constraint element (AuthConstraint object)
65          */

66     public void setAuthConstraint(org.netbeans.api.web.dd.AuthConstraint valueInterface);
67         /** Getter for auth-constraint element.
68          * @return auth-constraint element (AuthConstraintobject)
69          */

70     public org.netbeans.api.web.dd.AuthConstraint getAuthConstraint();
71         /** Setter for user-data-constraint element.
72          * @param valueInterface user-data-constraint element (UserDataConstraint object)
73          */

74     public void setUserDataConstraint(org.netbeans.api.web.dd.UserDataConstraint valueInterface);
75         /** Getter for user-data-constraint element.
76          * @return user-data-constraint element (UserDataConstraint object)
77          */

78     public org.netbeans.api.web.dd.UserDataConstraint getUserDataConstraint();
79
80 }
81
Popular Tags