KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > dd > api > web > 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.modules.j2ee.dd.api.web;
21
22 import org.netbeans.modules.j2ee.dd.api.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  */

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

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

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

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

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

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

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

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

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

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

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

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