1 /*
2 * Licensed under the GPL License. You may not use this file except in compliance with the License.
3 * You may obtain a copy of the License at
4 *
5 * https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
6 *
7 * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
8 * WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
9 * PURPOSE.
10 */
11 package psiprobe.model;
12
13 /**
14 * A model class representing a filter mapping item.
15 */
16 public class FilterMapping {
17
18 /** The url. */
19 private String url;
20
21 /** The servlet name. */
22 private String servletName;
23
24 /** The filter name. */
25 private String filterName;
26
27 /** The dispatcher map. */
28 private String dispatcherMap;
29
30 /** The filter class. */
31 private String filterClass;
32
33 /**
34 * Gets the url.
35 *
36 * @return the url
37 */
38 public String getUrl() {
39 return url;
40 }
41
42 /**
43 * Sets the url.
44 *
45 * @param url the new url
46 */
47 public void setUrl(String url) {
48 this.url = url;
49 }
50
51 /**
52 * Gets the servlet name.
53 *
54 * @return the servlet name
55 */
56 public String getServletName() {
57 return servletName;
58 }
59
60 /**
61 * Sets the servlet name.
62 *
63 * @param servletName the new servlet name
64 */
65 public void setServletName(String servletName) {
66 this.servletName = servletName;
67 }
68
69 /**
70 * Gets the filter name.
71 *
72 * @return the filter name
73 */
74 public String getFilterName() {
75 return filterName;
76 }
77
78 /**
79 * Sets the filter name.
80 *
81 * @param filterName the new filter name
82 */
83 public void setFilterName(String filterName) {
84 this.filterName = filterName;
85 }
86
87 /**
88 * Gets the dispatcher map.
89 *
90 * @return the dispatcher map
91 */
92 public String getDispatcherMap() {
93 return dispatcherMap;
94 }
95
96 /**
97 * Sets the dispatcher map.
98 *
99 * @param dispatcherMap the new dispatcher map
100 */
101 public void setDispatcherMap(String dispatcherMap) {
102 this.dispatcherMap = dispatcherMap;
103 }
104
105 /**
106 * Gets the filter class.
107 *
108 * @return the filter class
109 */
110 public String getFilterClass() {
111 return filterClass;
112 }
113
114 /**
115 * Sets the filter class.
116 *
117 * @param filterClass the new filter class
118 */
119 public void setFilterClass(String filterClass) {
120 this.filterClass = filterClass;
121 }
122
123 }