1 /**
2 * $Id: BaseConfigurableItemDefImpl.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.ConfigurableItemDef;
27
28 import java.util.Properties;
29
30 /**
31 * <p></p>
32 * <p>
33 * Created: Jun 27, 2005 5:09:55 AM <br>
34 * Last Modification Date: $Date: 2006-11-08 11:52:38 -0300 (Wed, 08 Nov 2006) $
35 * </p>
36 *
37 * @author maldito_orco (maldito_orco@users.sourceforge.net)
38 * @version $Revision: 58 $
39 */
40 public class BaseConfigurableItemDefImpl extends BaseDefinitionImpl implements ConfigurableItemDef {
41 public static final String RCS_ID = "$Id: BaseConfigurableItemDefImpl.java 58 2006-11-08 14:52:38Z maldito_orco $";
42 private static Log log = LogFactory.getLog(BaseConfigurableItemDefImpl.class);
43
44 private Properties properties = new Properties();
45
46 public Properties getProperties() { return properties; }
47 public void setProperties(Properties properties) {
48 this.properties = properties;
49 }
50
51 public String getProperty(String name) {
52 return properties.getProperty(name);
53 }
54
55 public void setProperty(String name, String value) {
56 properties.setProperty(name,value);
57 }
58 }