KickJava   Java API By Example, From Geeks To Geeks.

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


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
21 package org.netbeans.api.web.dd;
22 import org.netbeans.api.web.dd.common.*;
23 /**
24  * Generated interface for AuthConstraint 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 AuthConstraint extends CommonDDBean, DescriptionInterface {
31         /** Setter for role-name property.
32          * @param index index of role-name element
33          * @param value value for role-name element
34          */

35     public void setRoleName(int index, java.lang.String JavaDoc value);
36         /** Getter for role-name property.
37          * @param index index of role-name element
38          * @return role-name element value
39          */

40     public java.lang.String JavaDoc getRoleName(int index);
41         /** Setter for role-name property.
42          * @param value array of role-name values
43          */

44     public void setRoleName(java.lang.String JavaDoc[] value);
45         /** Getter for role-name property.
46          * @return string array of role-name elements
47          */

48     public java.lang.String JavaDoc[] getRoleName();
49         /** Returns size of role-name elements.
50          * @return size of role-names
51          */

52     public int sizeRoleName();
53         /** Adds role-name element.
54          * @param value value for role-name element
55          * @return index of new role-name
56          */

57     public int addRoleName(java.lang.String JavaDoc value);
58         /** Removes role-name element.
59          * @param value role-name to be removed
60          * @return index of the removed role-name
61          */

62     public int removeRoleName(java.lang.String JavaDoc value);
63
64 }
65
Popular Tags