KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > openedit > util > strainer > FilterConfig


1 /*
2  * Created on Oct 9, 2004
3  */

4 package com.openedit.util.strainer;
5
6 import java.util.List JavaDoc;
7
8 /**
9  * @author Matthew Avery, mavery@einnovation.com
10  */

11 public class FilterConfig
12 {
13     protected List JavaDoc fieldChildren;
14     protected String JavaDoc fieldFilterName;
15     protected String JavaDoc fieldName;
16     protected String JavaDoc fieldEquals;
17     
18
19     protected List JavaDoc getChildren()
20     {
21         return fieldChildren;
22     }
23     protected void setChildren( List JavaDoc children )
24     {
25         fieldChildren = children;
26     }
27     protected String JavaDoc getEquals()
28     {
29         return fieldEquals;
30     }
31     protected void setEquals( String JavaDoc equals )
32     {
33         fieldEquals = equals;
34     }
35     protected String JavaDoc getFilterName()
36     {
37         return fieldFilterName;
38     }
39     protected void setFilterName( String JavaDoc filterName )
40     {
41         fieldFilterName = filterName;
42     }
43     protected String JavaDoc getName()
44     {
45         return fieldName;
46     }
47     protected void setName( String JavaDoc name )
48     {
49         fieldName = name;
50     }
51     public FilterConfig getChildFilter( int i )
52     {
53         return (FilterConfig) getChildren().get(i);
54     }
55 }
56
Popular Tags