01: /**
02: * JOnAS: Java(TM) Open Application Server
03: * Copyright (C) 1999 Bull S.A.
04: * Contact: jonas-team@objectweb.org
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or any later version.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: * You should have received a copy of the GNU Lesser General Public
17: * License along with this library; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19: * USA
20: *
21: * Initial developer(s): Xavier Delplanque
22: * --------------------------------------------------------------------------
23: * $Id: VcInitParam.java 4932 2004-06-08 12:57:27Z sauthieg $
24: * --------------------------------------------------------------------------
25: */package org.objectweb.jonas_ws.wsgen.generator.axis;
26:
27: /**
28: * Member of a VelocityContext. Contains information about an InitParameter
29: * (basically a name/value pair).
30: *
31: * @author Xavier Delplanque
32: */
33: public class VcInitParam {
34:
35: /** parameter name */
36: private String name;
37:
38: /** parameter value */
39: private String value;
40:
41: /**
42: * Construct a VcInitParam from a couple name/value.
43: *
44: * @param name init param name
45: * @param value init param value
46: */
47: public VcInitParam(String name, String value) {
48: this .name = name;
49: this .value = value;
50: }
51:
52: /**
53: * @return Returns the name.
54: */
55: public String getName() {
56: return name;
57: }
58:
59: /**
60: * @return Returns the value.
61: */
62: public String getValue() {
63: return value;
64: }
65: }
|