/** * Convert and move string to this field. * Data is already in string format, so just move it! * @param bState the state to set the data to. * @param bDisplayOption Display the data on the screen if true. * @param iMoveMode INIT, SCREEN, or READ move mode. * @return The error code. */ public int setString(String strString, boolean bDisplayOption, int iMoveMode) // init this field override for other value { int iMaxLength = this.getMaxLength(); if (strString != null) if (strString.length() > iMaxLength) strString = strString.substring(0, iMaxLength); if (strString == null) strString = Constants.BLANK; // To set a null internally, you must call setData directly return this.setData(strString, bDisplayOption, iMoveMode); } /**
/** * Convert and move string to this field. * Data is already in string format, so just move it! * @param bState the state to set the data to. * @param bDisplayOption Display the data on the screen if true. * @param iMoveMode INIT, SCREEN, or READ move mode. * @return The error code. */ public int setString(String strString, boolean bDisplayOption, int iMoveMode) // init this field override for other value { int iMaxLength = this.getMaxLength(); if (strString != null) if (strString.length() > iMaxLength) strString = strString.substring(0, iMaxLength); if (strString == null) strString = Constants.BLANK; // To set a null internally, you must call setData directly return this.setData(strString, bDisplayOption, iMoveMode); } /**
/** * Convert and move string to this field. * Data is already in string format, so just move it! * @param bState the state to set the data to. * @param bDisplayOption Display the data on the screen if true. * @param iMoveMode INIT, SCREEN, or READ move mode. * @return The error code. */ public int setString(String strString, boolean bDisplayOption, int iMoveMode) // init this field override for other value { int iMaxLength = this.getMaxLength(); if (strString != null) if (strString.length() > iMaxLength) strString = strString.substring(0, iMaxLength); if (strString == null) strString = Constants.BLANK; // To set a null internally, you must call setData directly return this.setData(strString, bDisplayOption, iMoveMode); } /**