View Javadoc

1   /**
2    * $Id: BaseIncludeDefImpl.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  //log
23  import org.apache.commons.logging.Log;
24  import org.apache.commons.logging.LogFactory;
25  //tubo-configuration
26  import org.tubo.configuration.def.IncludeDef;
27  
28  /**
29   * <p></p>
30   * <p>
31   * Created: Jun 27, 2005 1:24:40 AM <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 BaseIncludeDefImpl extends BaseDefinitionImpl implements IncludeDef {
39      public static final String RCS_ID = "$Id: BaseIncludeDefImpl.java 58 2006-11-08 14:52:38Z maldito_orco $";
40      private static Log log = LogFactory.getLog(BaseIncludeDefImpl.class);
41  
42      private String resource = null;
43      private boolean loaded = false;
44  
45      public String getResource() { return resource; }
46      public void setResource(String resource) {
47          this.resource = resource;
48      }
49  
50      public boolean isLoaded() { return loaded; }
51      public void setLoaded(boolean loaded) {
52          this.loaded = loaded;
53      }
54  
55  }