View Javadoc

1   /*
2    * Copyright 2005 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.pluto.descriptors.servlet;
17  
18  import java.util.List;
19  import java.util.ArrayList;
20  
21  /***
22   * Web Resource Collection configuration.
23   * 
24   * @author <a href="ddewolf@apache.org">David H. DeWolf</a>
25   * @version $Id: WebResourceCollectionDD.java 157475 2005-03-14 22:13:18Z ddewolf $
26   * @since Mar 4, 2005
27   */
28  public class WebResourceCollectionDD {
29  
30      private String webResourceName;
31      private String description;
32      private List httpMethods = new ArrayList();
33      private List urlPatterns = new ArrayList();
34  
35      public WebResourceCollectionDD() {
36  
37      }
38  
39      public String getWebResourceName() {
40          return webResourceName;
41      }
42  
43      public void setWebResourceName(String webResourceName) {
44          this.webResourceName = webResourceName;
45      }
46  
47      public String getDescription() {
48          return description;
49      }
50  
51      public void setDescription(String description) {
52          this.description = description;
53      }
54  
55      public List getHttpMethods() {
56          return httpMethods;
57      }
58  
59      public void setHttpMethods(List httpMethods) {
60          this.httpMethods = httpMethods;
61      }
62  
63      public List getUrlPatterns() {
64          return urlPatterns;
65      }
66  
67      public void setUrlPatterns(List urlPatterns) {
68          this.urlPatterns = urlPatterns;
69      }
70  
71  
72  }
73