ValueString sVal = new ValueString( val ); return sVal.getBoolean() ? throwable : suppressableResult;
/** * Sets the Value to a String text * * @param str * The StringBuffer to get the text from */ public void setValue( StringBuffer str ) { if ( value == null || value.getType() != VALUE_TYPE_STRING ) { value = new ValueString( str.toString() ); } else { value.setString( str.toString() ); } setNull( str == null ); }
/** * Sets the Value to a String text * * @param str * The StringBuilder to get the text from */ public void setValue( StringBuilder str ) { if ( value == null || value.getType() != VALUE_TYPE_STRING ) { value = new ValueString( str.toString() ); } else { value.setString( str.toString() ); } setNull( str == null ); }
/** * Sets the Value to a String text * * @param str * The String to get the text from */ public void setValue( String str ) { if ( value == null || value.getType() != VALUE_TYPE_STRING ) { value = new ValueString( str ); } else { value.setString( str ); } setNull( str == null ); }
break; case VALUE_TYPE_STRING: value = new ValueString(); break; case VALUE_TYPE_DATE:
break; case VALUE_TYPE_STRING: value = new ValueString( value.getString() ); break; case VALUE_TYPE_DATE: