01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.apache.pluto.descriptors.servlet;
18:
19: import java.util.List;
20: import java.util.ArrayList;
21:
22: /**
23: * Web Resource Collection configuration.
24: *
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: }
|