com.instantbank.component.parameter.util
Class ParameterValue

java.lang.Object
  |
  +--com.instantbank.component.parameter.util.ParameterValue
All Implemented Interfaces:
java.io.Serializable

public class ParameterValue
extends java.lang.Object
implements java.io.Serializable

Utility class allowing manipulation of set parameter values.

Author:
InstantBank (Jorge Cardenas, Roberto Contreras).
See Also:
Serialized Form

Field Summary
private  java.lang.String codeParameter
          Code of parameter.
private  java.lang.String parameterType
          Type of parameter, for all remaining types, this attribute is NULL.
private  java.util.Hashtable parmValue
          key Object: 'Coordinate' Class Notice that all coordinates of any of the form (level1, level2), (level1,*) (*,level2) (*.*) must exist in this HashTable value Object: String In case parameterType == 'set', parmValue is a ',' separated string of all items from possibleValues being part of the value in this Coordinate
 
Constructor Summary
ParameterValue(java.lang.String codeParameter, java.lang.String parameterType, java.util.Hashtable parmValue)
          Constructor .
 
Method Summary
 java.lang.String getValueCodeParameter()
          Getter method for code parameter.
 java.lang.String getValueParameterType()
          Getter method for type of parameter.
 java.util.Hashtable getValueParmValue()
          Getter method for the values for each point.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

codeParameter

private java.lang.String codeParameter
Code of parameter.

parameterType

private java.lang.String parameterType
Type of parameter, for all remaining types, this attribute is NULL. value: {numeric% | boolean | numeric_int | set | enum | string}

parmValue

private java.util.Hashtable parmValue
key Object: 'Coordinate' Class Notice that all coordinates of any of the form (level1, level2), (level1,*) (*,level2) (*.*) must exist in this HashTable value Object: String In case parameterType == 'set', parmValue is a ',' separated string of all items from possibleValues being part of the value in this Coordinate
Constructor Detail

ParameterValue

public ParameterValue(java.lang.String codeParameter,
                      java.lang.String parameterType,
                      java.util.Hashtable parmValue)
Constructor .

Parameters:
codeParameter - The code of parameter.
parameterType - The type of parameter.
parmValue - The HashTable of parameter values.
Method Detail

getValueCodeParameter

public java.lang.String getValueCodeParameter()
Getter method for code parameter.
Returns:
The code parameter value

getValueParameterType

public java.lang.String getValueParameterType()
Getter method for type of parameter.
Returns:
The type value

getValueParmValue

public java.util.Hashtable getValueParmValue()
Getter method for the values for each point.
Returns:
The parmValue values