public String format(){
  s_logger.info("formatting claimed volume name " + _volumeNativeId);
  String volumeName=assembleDefaultName(_storageSystemSerialNumber,_volumeNativeId);
  if (volumeName.length() <= VPlexApiConstants.MAX_VOL_NAME_LENGTH) {
    return volumeName;
  }
 else {
    int shortenBy=volumeName.length() - VPlexApiConstants.MAX_VOL_NAME_LENGTH;
    return shortenName(shortenBy);
  }
}

public String format ( ) { s_logger . info ( "formatting claimed volume name " + _volumeNativeId ) ; String volumeName = assembleDefaultName ( _storageSystemSerialNumber , _volumeNativeId ) ; if ( volumeName . length ( ) <= VPlexApiConstants . MAX_VOL_NAME_LENGTH ) { return volumeName ; } else { int shortenBy = volumeName . length ( ) - VPlexApiConstants . MAX_VOL_NAME_LENGTH ; return shortenName ( shortenBy ) ; } }
generates a claimed volume name string based on the properties of the supplied volumeinfo object . can be overridden by child classes to return a custom name format for a non - default storage system type .
