validates the given string . validation passes only if the given value is not null and it 's length 's larger than 0 concode_field_sep String errorMessage concode_field_sep placeholderType placeHolder
IStatus function ( Object arg0 ) { if ( ! ( ( arg0 instanceof String ) && ( ( String ) arg0 ) . length ( ) > 0 ) ) { return ValidationStatus . error ( errorMessage ) ; } return ValidationStatus . ok ( ) ; }