question: protected boolean isValidDefaultValue ( String defaultSpec , int typeCode ) { return ( defaultSpec != null ) && ( ( defaultSpec . length ( ) > 0 ) || ( ! TypeMap . isNumericType ( typeCode ) && ! TypeMap . isDateTimeType ( typeCode ) ) ) ; }
target:  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.