1 /**
2 * Copyright 2005-2006 the original author or authors.
3 *
4 * Licensed under the Gnu General Pubic License, Version 2.0 (the
5 * "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/gpl-license.php
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the Gnu General Public License for more details.
14 */
15 package org.figure8.join.services.remoting.beans;
16
17 import java.io.Serializable;
18 /**
19 * This is a thin bean used for representing a configuration Parameter. Such
20 * parameters may be used by {@link org.figure8.join.core.Configurable} objects.
21 * @author <a href="mailto:laurent.broudoux@free.fr">Laurent Broudoux</a>
22 * @version $Revision: 1.1 $
23 */
24 public class RemoteParameter implements Serializable{
25
26
27
28 /** The name of this parameter. */
29 private String name;
30 /** The value of this parameter. s*/
31 private String value;
32
33
34
35
36 /**
37 * Creates a new instance of RemoteParameter with mandatory attributes.
38 * @param name The name of this parameter
39 * @param value The value of this parameter
40 */
41 public RemoteParameter(String name, String value){
42 this.name = name;
43 this.value = value;
44 }
45
46
47
48
49 /** @return The name of this parameter. */
50 public String getName(){
51 return name;
52 }
53 /** @return The value of this parameter. */
54 public String getValue(){
55 return value;
56 }
57 }