01: /*
02: * $Id: VarSetter.java,v 1.1 2004/12/03 21:17:37 spal Exp $
03: * $Source: /cvsroot/sqlunit/sqlunit/test/java/mock/VarSetter.java,v $
04: * SQLUnit - a test harness for unit testing database stored procedures.
05: * Copyright (C) 2003 The SQLUnit Team
06: *
07: * This program is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU General Public License
09: * as published by the Free Software Foundation; either version 2
10: * of the License, or (at your option) any later version.
11: *
12: * This program is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15: * GNU General Public License for more details.
16: *
17: * You should have received a copy of the GNU General Public License
18: * along with this program; if not, write to the Free Software
19: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20: */
21: package net.sourceforge.sqlunit.test.mock;
22:
23: /**
24: * Simple class whose method is called from the set tag.
25: * @author Sujit Pal (spal@users.sourceforge.net)
26: * @version $Revision: 1.1 $
27: */
28: public final class VarSetter {
29:
30: /**
31: * Constructor for VarSetter. Private, cannot instantiate.
32: */
33: private VarSetter() {
34: // private constructor, cannot instantiate
35: }
36:
37: /**
38: * Passes through the value passed in.
39: * @param value the value to pass through.
40: * @return the passed in value.
41: */
42: public static String setVar(final String value) {
43: return value;
44: }
45: }
|