KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > webdocwf > util > loader > task > Variable


1 /*
2
3      Loader - tool for transfering data from one JDBC source to another and
4      doing transformations during copy.
5
6     Copyright (C) 2002 Together
7
8     This library is free software; you can redistribute it and/or
9     modify it under the terms of the GNU Lesser General Public
10     License as published by the Free Software Foundation; either
11     version 2.1 of the License, or (at your option) any later version.
12
13     This library is distributed in the hope that it will be useful,
14     but WITHOUT ANY WARRANTY; without even the implied warranty of
15     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16     Lesser General Public License for more details.
17
18     You should have received a copy of the GNU Lesser General Public
19     License along with this library; if not, write to the Free Software
20     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
22  Variable.java
23  Date: 03.07.2002.
24  @version 1.0
25  @author:
26  Milosevic Sinisa sinisami@eunet.yu
27  Radeka Dusan diradeka@neobee.net
28  */

29
30
31 package org.webdocwf.util.loader.task;
32
33 import org.apache.tools.ant.Task;
34 /**
35 * Variable element represents variables used in variable columns
36 * in Loader input XML file (loaderJob).
37 */

38
39 public class Variable extends Task {
40   public String JavaDoc value;
41   public String JavaDoc name;
42
43
44   /**
45   * The setter for the "value" attribute
46   **/

47   public void setValue(String JavaDoc anInner) {
48     this.value = anInner;
49   }
50
51   /**
52   * The setter for the "name" attribute
53   **/

54   public void setName(String JavaDoc anInner) {
55     this.name = anInner;
56   }
57   
58 }
59
60
Popular Tags