project35.util
Class Parameter

java.lang.Object
  extended by project35.util.Parameter

public class Parameter
extends java.lang.Object

holds name-value pairs; comes in handy processing configuration file parameters


Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.

Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net), code contributions from 2002 - September 30, 2007.

Constructor Summary
Parameter(java.lang.String name, java.lang.String value)
           
Parameter(java.lang.String name, java.lang.String description, java.lang.String value)
           
 
Method Summary
 java.lang.String getDescription()
          Get the value of description.
 java.lang.String getName()
          Get the value of name.
 java.lang.String getValue()
          Get the value of value.
 void setDescription(java.lang.String description)
          Set the value of description.
 void setName(java.lang.String name)
          Set the value of name.
 void setValue(java.lang.String value)
          Set the value of value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter(java.lang.String name,
                 java.lang.String value)

Parameter

public Parameter(java.lang.String name,
                 java.lang.String description,
                 java.lang.String value)
Method Detail

getName

public java.lang.String getName()
Get the value of name.

Returns:
value of name.

getDescription

public java.lang.String getDescription()
Get the value of description.

Returns:
value of description.

getValue

public java.lang.String getValue()
Get the value of value.

Returns:
value of value.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setName

public void setName(java.lang.String name)
Set the value of name.

Parameters:
name - Value to assign to name.

setDescription

public void setDescription(java.lang.String description)
Set the value of description.

Parameters:
description - Value to assign to description.

setValue

public void setValue(java.lang.String value)
Set the value of value.

Parameters:
value - Value to assign to value.