protected void injectIntoVolumeCharactersticContainer(Map<String,String> volumeCharacterstic,String charactersticKey,String altCharKey,CIMInstance volumeInstance){
  Object value=getCIMPropertyValue(volumeInstance,charactersticKey);
  if (null == value) {
    value=getCIMPropertyValue(volumeInstance,altCharKey);
  }
  String charactersticName=SupportedVolumeCharacterstics.getVolumeCharacterstic(charactersticKey);
  if (null != value && null != charactersticName) {
    volumeCharacterstic.put(charactersticName,value.toString());
  }
}

protected void injectIntoVolumeCharactersticContainer ( Map < String , String > volumeCharacterstic , String charactersticKey , String altCharKey , CIMInstance volumeInstance ) { Object value = getCIMPropertyValue ( volumeInstance , charactersticKey ) ; if ( null == value ) { value = getCIMPropertyValue ( volumeInstance , altCharKey ) ; } String charactersticName = SupportedVolumeCharacterstics . getVolumeCharacterstic ( charactersticKey ) ; if ( null != value && null != charactersticName ) { volumeCharacterstic . put ( charactersticName , value . toString ( ) ) ; } }
extract value from provider for given volume info key , and then get its name and use that to inject to map .
