bottleneck testcase based on rubbos
[bottlenecks.git] / rubbos / app / tomcat-connectors-1.2.32-src / jkstatus / src / share / org / apache / jk / status / JkBalancerMapping.java
1 /*
2  *  Licensed to the Apache Software Foundation (ASF) under one or more
3  *  contributor license agreements.  See the NOTICE file distributed with
4  *  this work for additional information regarding copyright ownership.
5  *  The ASF licenses this file to You under the Apache License, Version 2.0
6  *  (the "License"); you may not use this file except in compliance with
7  *  the License.  You may obtain a copy of the License at
8  *
9  *      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.jk.status;
18
19 import java.io.Serializable;
20
21 /**
22  * @author Peter Rossbach
23  * @version $Revision: 485242 $ $Date: 2006-12-10 20:45:39 +0100 (Sun, 10 Dec 2006) $
24  * @see org.apache.jk.status.JkStatusParser
25  */
26 public class JkBalancerMapping implements Serializable {
27     int id =-1 ;
28         String type ;
29     String uri;
30     String context ;
31     String source ;
32     
33     /**
34          * @return the id
35          */
36         public int getId() {
37                 return id;
38         }
39         /**
40          * @param id the id to set
41          */
42         public void setId(int id) {
43                 this.id = id;
44         }
45         /**
46      * @return Returns the context.
47      * @deprecated mod_jk 1.2.20
48      */
49     public String getContext() {
50         return context;
51     }
52     /**
53      * @param context The context to set.
54      * @deprecated mod_jk 1.2.20
55      */
56     public void setContext(String context) {
57         this.context = context;
58     }
59     /**
60      * @return Returns the type.
61      */
62     public String getType() {
63         return type;
64     }
65     /**
66      * @param type The type to set.
67      */
68     public void setType(String type) {
69         this.type = type;
70     }
71     /**
72      * @return Returns the uri.
73      */
74     public String getUri() {
75         return uri;
76     }
77     /**
78      * @param uri The uri to set.
79      */
80     public void setUri(String uri) {
81         this.uri = uri;
82     }
83         /**
84          * @return the source
85      * @since mod_jk 1.2.20
86          */
87         public String getSource() {
88                 return source;
89         }
90         /**
91          * @param source the source to set
92          * @since mod_jk 1.2.20
93      */
94         public void setSource(String source) {
95                 this.source = source;
96         }
97     
98  }