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!