private static String createPartialWwn(String wwn){
  if (wwn.length() < SUFFIX_LENGTH + PARTIAL_PREFIX_LENGTH) {
    return wwn;
  }
  String prefix=wwn.substring(wwn.length() - (SUFFIX_LENGTH + PARTIAL_PREFIX_LENGTH),wwn.length() - SUFFIX_LENGTH);
  String sufix=wwn.substring(wwn.length() - SUFFIX_LENGTH);
  return ("000" + prefix + "0000"+ sufix);
}

private static String createPartialWwn ( String wwn ) { if ( wwn . length ( ) < SUFFIX_LENGTH + PARTIAL_PREFIX_LENGTH ) { return wwn ; } String prefix = wwn . substring ( wwn . length ( ) - ( SUFFIX_LENGTH + PARTIAL_PREFIX_LENGTH ) , wwn . length ( ) - SUFFIX_LENGTH ) ; String sufix = wwn . substring ( wwn . length ( ) - SUFFIX_LENGTH ) ; return ( "000" + prefix + "0000" + sufix ) ; }
create vipr compatible 16 char wwn
