com.instantbank.servicing.setParameterXValue.web
Class SetParameterXValueTranslator

java.lang.Object
  |
  +--com.instantbank.servicing.setParameterXValue.web.SetParameterXValueTranslator
All Implemented Interfaces:
java.io.Serializable

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

Set Parameter Values usecase: helper class for setParameterXValueMain.jsp

Author:
Instant-bank (Jorge Cardenas)
See Also:
Serialized Form

Field Summary
private  Debug debug
           
private  java.util.ArrayList point1
           
private  int point1Length
           
private  java.util.ArrayList point2
           
private  int point2Length
           
private  java.lang.String[] valuePoint1
           
private  java.lang.String[] valuePoint2
           
 
Constructor Summary
SetParameterXValueTranslator()
           
 
Method Summary
 java.lang.String getPoint1Array()
          extends the onLoad() javaScript method initializing itemsArrayPoint1 according to input data of the jsp
 java.lang.String getPoint2Array()
          extends the onLoad() javaScript method initializing itemsArrayPoint2 according to input data of the jsp
 void setData(javax.servlet.http.HttpServletRequest request)
          gets parameter values from request and creates input data for the jsp setting values are two itemsArray.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

point1

private java.util.ArrayList point1

point2

private java.util.ArrayList point2

valuePoint1

private java.lang.String[] valuePoint1

valuePoint2

private java.lang.String[] valuePoint2

point1Length

private int point1Length

point2Length

private int point2Length

debug

private Debug debug
Constructor Detail

SetParameterXValueTranslator

public SetParameterXValueTranslator()
Method Detail

setData

public void setData(javax.servlet.http.HttpServletRequest request)
gets parameter values from request and creates input data for the jsp setting values are two itemsArray.
Parameters:
request - of MainServlet

getPoint1Array

public java.lang.String getPoint1Array()
extends the onLoad() javaScript method initializing itemsArrayPoint1 according to input data of the jsp
Returns:
String to append to onLoad()

getPoint2Array

public java.lang.String getPoint2Array()
extends the onLoad() javaScript method initializing itemsArrayPoint2 according to input data of the jsp
Returns:
String to append to onLoad()