KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > cocoon > portal > pluto > om > ServletMapping


1 /*
2  * Copyright 2004,2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.cocoon.portal.pluto.om;
17
18
19 /**
20  *
21  *
22  * @author <a HREF="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
23  *
24  * @version CVS $Id: ServletMapping.java 123407 2004-12-27 13:51:59Z cziegeler $
25  */

26 public class ServletMapping implements java.io.Serializable JavaDoc {
27
28     private String JavaDoc id;
29     private String JavaDoc servletName;
30     private String JavaDoc urlPattern;
31
32     public ServletMapping() {
33         // nothing to do
34
}
35
36     // additional methods.
37

38     public String JavaDoc getId() {
39         return id;
40     }
41
42     public void setId(String JavaDoc id) {
43         this.id = id;
44     }
45
46     public String JavaDoc getServletName() {
47         return servletName;
48     }
49
50     public void setServletName(String JavaDoc servletName) {
51         this.servletName = servletName;
52     }
53
54     public String JavaDoc getUrlPattern() {
55         return urlPattern;
56     }
57
58     public void setUrlPattern(String JavaDoc urlPattern) {
59         this.urlPattern = urlPattern;
60     }
61
62 }
63
Popular Tags