public static boolean validSystemNameConfig(String systemName,char type){
  if (!validSystemNameFormat(systemName,type)) {
    return false;
  }
  int bit=getBitFromSystemName(systemName);
  if ((type == 'T') || (type == 'L')) {
    if ((bit <= 0) || (bit > OutputBits.getNumOutputBits())) {
      return false;
    }
  }
 else   if (type == 'S') {
    if ((bit <= 0) || (bit > InputBits.getNumInputBits())) {
      return false;
    }
  }
 else {
    log.error("Invalid type specification in validSystemNameConfig call");
    return false;
  }
  return true;
}

public static boolean validSystemNameConfig ( String systemName , char type ) { if ( ! validSystemNameFormat ( systemName , type ) ) { return false ; } int bit = getBitFromSystemName ( systemName ) ; if ( ( type == 'T' ) || ( type == 'L' ) ) { if ( ( bit <= 0 ) || ( bit > OutputBits . getNumOutputBits ( ) ) ) { return false ; } } else if ( type == 'S' ) { if ( ( bit <= 0 ) || ( bit > InputBits . getNumInputBits ( ) ) ) { return false ; } } else { log . error ( "Invalid type specification in validSystemNameConfig call" ) ; return false ; } return true ; }
public static method to validate system name for configuration returns ' true ' if system name has a valid meaning in current configuration , else returns ' false '
