public void setOptDUpper(boolean optDUpper) {
    checkCanSetDeleteOption("-D");
    if (optDLower && optDUpper) {
      throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000120")
          + "  -D cannot be used with -d.");
    } 
    this.optDUpper = optDUpper;
  }
public void setOptDUpper(boolean optDUpper) {
    checkCanSetDeleteOption("-D");
    if (optDLower && optDUpper) {
      throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000120")
          + "  -D cannot be used with -d.");
    } 
    this.optDUpper = optDUpper;
  }
public void setOptDUpper ( boolean optDUpper ) { checkCanSetDeleteOption ( "-D" ) ; if ( optDLower && optDUpper ) { throw new IllegalArgumentException ( ExceptionMessageMap . getMessage ( "000120" ) + "  -D cannot be used with -d." ) ; } this . optDUpper = optDUpper ; }
Checks whether the -D option should be set and sets it.

@param optDUpper True if the -D option should be used, false otherwise.
Checks whether the - D option should be set and sets it .