1 /**
2 * $Id: BaseConsumerDefImpl.java 58 2006-11-08 14:52:38Z maldito_orco $
3 *
4 * =========================================================================
5 *
6 * Copyright 2005 Tubo
7 *
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 */
20 package org.tubo.configuration.def.baseimpl;
21
22
23 import org.apache.commons.logging.Log;
24 import org.apache.commons.logging.LogFactory;
25
26 import org.tubo.configuration.def.ConsumerDef;
27
28 /**
29 * <p></p>
30 * <p>
31 * Created: Jun 27, 2005 6:59:40 PM <br>
32 * Last Modification Date: $Date: 2006-11-08 11:52:38 -0300 (Wed, 08 Nov 2006) $
33 * </p>
34 *
35 * @author maldito_orco (maldito_orco@users.sourceforge.net)
36 * @version $Revision: 58 $
37 */
38 public class BaseConsumerDefImpl extends BaseReferenceableItemDefImpl implements ConsumerDef {
39 public static final String RCS_ID = "$Id: BaseConsumerDefImpl.java 58 2006-11-08 14:52:38Z maldito_orco $";
40 private static Log log = LogFactory.getLog(BaseConsumerDefImpl.class);
41
42 private String consumerClassname = null;
43 private String type = null;
44 private int minCapacity = -1;
45 private int maxCapacity = -1;
46
47 public String getConsumerClassname() { return consumerClassname; }
48 public void setConsumerClassname(String consumerClassname) {
49 this.consumerClassname = consumerClassname;
50 }
51
52 public String getType() { return type; }
53 public void setType(String type) {
54 this.type = type;
55 }
56
57 public int getMinCapacity() { return minCapacity; }
58 public void setMinCapacity(int minCapacity) {
59 this.minCapacity = minCapacity;
60 }
61
62 public int getMaxCapacity() { return maxCapacity; }
63 public void setMaxCapacity(int maxCapacity) {
64 this.maxCapacity = maxCapacity;
65 }
66 }