Class ParamDTO

java.lang.Object
  extended by ParamDTO

public class ParamDTO
extends java.lang.Object

ParamDTO defines a pair of data, namely the parameter and its value. The object is used define an input parameter.

Version:
1.0

Field Summary
private  java.lang.String param
          name of the parameter
private  java.lang.String val
          value of the parameter
 
Constructor Summary
ParamDTO(java.lang.String parameter, java.lang.String value)
          Constructor method
 
Method Summary
 java.lang.String getParam()
          Returns the name of the parameter
 java.lang.String getVal()
          Returns the value of the parameter
 void setParam(java.lang.String str)
          Sets the name of the parameter
 void setVal(java.lang.String val)
          Sets the value of the parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

param

private java.lang.String param
name of the parameter


val

private java.lang.String val
value of the parameter

See Also:
param
Constructor Detail

ParamDTO

public ParamDTO(java.lang.String parameter,
                java.lang.String value)
Constructor method

Parameters:
parameter - a parameter
value - the value of the parameter
Method Detail

setParam

public void setParam(java.lang.String str)
Sets the name of the parameter

Parameters:
str - name of the parameter

setVal

public void setVal(java.lang.String val)
Sets the value of the parameter

Parameters:
val - value of the parameter

getParam

public java.lang.String getParam()
Returns the name of the parameter

Returns:
name of the parameter

getVal

public java.lang.String getVal()
Returns the value of the parameter

Returns:
value of the parameter