KickJava   Java API By Example, From Geeks To Geeks.

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


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  * ConstraintField.java
21  *
22  * Created on November 15, 2004, 4:26 PM
23  */

24 package org.netbeans.modules.j2ee.sun.dd.api.web;
25
26 public interface ConstraintField extends org.netbeans.modules.j2ee.sun.dd.api.CommonDDBean {
27
28         public static final String JavaDoc NAME = "Name"; // NOI18N
29
public static final String JavaDoc SCOPE = "Scope"; // NOI18N
30
public static final String JavaDoc CACHEONMATCH = "CacheOnMatch"; // NOI18N
31
public static final String JavaDoc CACHEONMATCHFAILURE = "CacheOnMatchFailure"; // NOI18N
32
public static final String JavaDoc CONSTRAINT_FIELD_VALUE = "ConstraintFieldValue"; // NOI18N
33
public static final String JavaDoc CONSTRAINTFIELDVALUEMATCHEXPR = "ConstraintFieldValueMatchExpr"; // NOI18N
34
public static final String JavaDoc CONSTRAINTFIELDVALUECACHEONMATCH = "ConstraintFieldValueCacheOnMatch"; // NOI18N
35
public static final String JavaDoc CONSTRAINTFIELDVALUECACHEONMATCHFAILURE = "ConstraintFieldValueCacheOnMatchFailure"; // NOI18N
36

37         /** Setter for name attribute
38          * @param value attribute value
39          */

40     public void setName(java.lang.String JavaDoc value);
41         /** Getter for name attribute
42          * @return attribute value
43          */

44     public java.lang.String JavaDoc getName();
45         /** Setter for scope attribute
46          * @param value attribute value
47          */

48     public void setScope(java.lang.String JavaDoc value);
49         /** Getter for scope attribute
50          * @return attribute value
51          */

52     public java.lang.String JavaDoc getScope();
53         /** Setter for cache-on-match attribute
54          * @param value attribute value
55          */

56     public void setCacheOnMatch(java.lang.String JavaDoc value);
57         /** Getter for cache-on-match attribute
58          * @return attribute value
59          */

60     public java.lang.String JavaDoc getCacheOnMatch();
61         /** Setter for cache-on-match-failure attribute
62          * @param value attribute value
63          */

64     public void setCacheOnMatchFailure(java.lang.String JavaDoc value);
65         /** Getter for cache-on-match-failure attribute
66          * @return attribute value
67          */

68     public java.lang.String JavaDoc getCacheOnMatchFailure();
69
70     public void setConstraintFieldValue(int index, String JavaDoc value);
71     public String JavaDoc getConstraintFieldValue(int index);
72     public int sizeConstraintFieldValue();
73     public void setConstraintFieldValue(String JavaDoc[] value);
74     public String JavaDoc[] getConstraintFieldValue();
75     public int addConstraintFieldValue(String JavaDoc value);
76     public int removeConstraintFieldValue(String JavaDoc value);
77
78         /** Setter for match-expr attribute of constraint-field-value
79          * @param value attribute value
80          */

81         public void setConstraintFieldValueMatchExpr(int index, java.lang.String JavaDoc value);
82         /** Getter for match-expr attribute of constraint-field-value
83          * @return attribute value
84          */

85     public java.lang.String JavaDoc getConstraintFieldValueMatchExpr(int index);
86
87     public int sizeConstraintFieldValueMatchExpr();
88         /** Setter for cache-on-match attribute of constraint-field-value
89          * @param value attribute value
90          */

91     public void setConstraintFieldValueCacheOnMatch(int index, java.lang.String JavaDoc value);
92         /** Getter for cache-on-match attribute of constraint-field-value
93          * @return attribute value
94          */

95     public java.lang.String JavaDoc getConstraintFieldValueCacheOnMatch(int index);
96
97     public int sizeConstraintFieldValueCacheOnMatch();
98         /** Setter for cache-on-match-failure attribute of constraint-field-value
99          * @param value attribute value
100          */

101     public void setConstraintFieldValueCacheOnMatchFailure(int index, java.lang.String JavaDoc value);
102         /** Getter for cache-on-match-failure attribute of constraint-field-value
103          * @return attribute value
104          */

105     public java.lang.String JavaDoc getConstraintFieldValueCacheOnMatchFailure(int index);
106
107     public int sizeConstraintFieldValueCacheOnMatchFailure();
108
109 }
110
Popular Tags