public int setState ( boolean bState , boolean bDisplayOption , int iMoveMode ) { Boolean objData = new Boolean ( bState ) ; if ( this . getDataClass ( ) == Boolean . class ) return this . setData ( objData , bDisplayOption , iMoveMode ) ; else if ( Number . class . isAssignableFrom ( this . getDataClass ( ) ) ) return this . setValue ( objData . booleanValue ( ) ? 1 : 0 , bDisplayOption , iMoveMode ) ; else if ( this . getDataClass ( ) == String . class ) return this . setString ( objData . booleanValue ( ) ? Constants . TRUE : Constants . FALSE , bDisplayOption , iMoveMode ) ; return super . setState ( bState , bDisplayOption , iMoveMode ) ; }
Set the data in this field to true or false .