KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > server > FilterData


1 package org.enhydra.server;
2
3 import java.util.ArrayList JavaDoc;
4 /**
5  * <p>Title: </p>
6  * <p>Description: </p>
7  * <p>Copyright: Copyright (c) 2002</p>
8  * <p>Company: </p>
9  * @author unascribed
10  * @version 1.0
11  */

12
13 public class FilterData {
14
15     private String JavaDoc name = null;
16     private String JavaDoc smallIcon = null;
17     private String JavaDoc largeIcon = null;
18     private String JavaDoc filterClass = null;
19     private String JavaDoc displayName = null;
20     private String JavaDoc description = null;
21     private ArrayList JavaDoc initParams = null;
22     private String JavaDoc mappingServletName = null;
23     private String JavaDoc mappingURLPattern = null;
24 // private WebAppXML webXML = null;
25

26     public FilterData(String JavaDoc filterName) {
27         name = filterName;
28 // webXML = filtersEdit.getWebAppXML();
29

30     }
31
32 // Bean info:
33
public String JavaDoc getName() {
34         return name;
35     }
36     public void setName(String JavaDoc name) {
37         this.name = name;
38     }
39     public void setSmallIcon(String JavaDoc smallIcon) {
40         this.smallIcon = smallIcon;
41     }
42     public String JavaDoc getSmallIcon() {
43         return smallIcon;
44     }
45     public void setLargeIcon(String JavaDoc largeIcon) {
46         this.largeIcon = largeIcon;
47     }
48     public String JavaDoc getLargeIcon() {
49         return largeIcon;
50     }
51     public void setFilterClass(String JavaDoc filterClass) {
52         this.filterClass = filterClass;
53     }
54     public String JavaDoc getFilterClass() {
55         return filterClass;
56     }
57     public void setDisplayName(String JavaDoc displayName) {
58         this.displayName = displayName;
59     }
60     public String JavaDoc getDisplayName() {
61         return displayName;
62     }
63     public void setDescription(String JavaDoc description) {
64         this.description = description;
65     }
66     public String JavaDoc getDescription() {
67         return description;
68     }
69
70     /**
71      * Data in initParams are ArrayLists with three Strings (paramName, paramValue, description).
72      *
73      * @param initParams
74      */

75     public void setInitParams(java.util.ArrayList JavaDoc initParams) {
76         this.initParams = initParams;
77     }
78
79     /**
80      *
81      * @return Data in initParams are ArrayLists with three Strings (paramName, paramValue, description).
82      */

83     public java.util.ArrayList JavaDoc getInitParams() {
84         return initParams;
85     }
86     public void setMappingURLPattern(String JavaDoc mappingURLPattern) {
87         this.mappingURLPattern = mappingURLPattern;
88     }
89     public String JavaDoc getMappingURLPattern() {
90         return mappingURLPattern;
91     }
92     public void setMappingServletName(String JavaDoc mappingServletName) {
93         this.mappingServletName = mappingServletName;
94     }
95     public String JavaDoc getMappingServletName() {
96         return mappingServletName;
97     }
98 }
Popular Tags