org.peace_tools.workspace
Class Param

java.lang.Object
  extended by org.peace_tools.workspace.Param

public class Param
extends java.lang.Object

A simple class to encapsulate a pair that is used to describe parameters. These parameters are are supplied to heuristics and filters to fine tune their operations. This class is primarily designed to be used in the Heuristic and Job classes.


Field Summary
private  java.lang.String name
          The name set for this parameter.
private  java.lang.String value
          The value set for this parameter.
 
Constructor Summary
Param(java.lang.String name, java.lang.String value)
          The constructor merely initializes the pair encapsulated by this object.
 
Method Summary
 java.lang.String getName()
          The name set for this parameter.
 java.lang.String getValue()
          The value associated with this parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private final java.lang.String name
The name set for this parameter. This value is set when this parameter object is instantiated.


value

private final java.lang.String value
The value set for this parameter. This value is set when this parameter object is instantiated.

Constructor Detail

Param

public Param(java.lang.String name,
             java.lang.String value)
The constructor merely initializes the pair encapsulated by this object.

Parameters:
name - The name of the parameter.
value - The value set for the parameter.
Method Detail

getName

public java.lang.String getName()
The name set for this parameter.

Returns:
This method returns the name set for this parameter.

getValue

public java.lang.String getValue()
The value associated with this parameter.

Returns:
The value associated with this parameter.