protected boolean isValidDefaultValue(String defaultSpec,int typeCode){
  return (defaultSpec != null) && ((defaultSpec.length() > 0) || (!TypeMap.isNumericType(typeCode) && !TypeMap.isDateTimeType(typeCode)));
}

protected boolean isValidDefaultValue ( String defaultSpec , int typeCode ) { return ( defaultSpec != null ) && ( ( defaultSpec . length ( ) > 0 ) || ( ! TypeMap . isNumericType ( typeCode ) && ! TypeMap . isDateTimeType ( typeCode ) ) ) ; }
determines whether the given default spec is a non - empty spec that shall be used in a default expression . e . g . if the spec is an empty string and the type is a numeric type , then it is no valid default value whereas if it is a string type , then it is valid .
