protected EquipmentConfigurationUpdate configureCacheObject(Equipment equipment,Properties properties){
  EquipmentCacheObject equipmentCacheObject=(EquipmentCacheObject)equipment;
  EquipmentConfigurationUpdate configurationUpdate=setCommonProperties(equipmentCacheObject,properties);
  String tmpStr=properties.getProperty("address");
  if (tmpStr != null) {
    equipmentCacheObject.setAddress(tmpStr);
    configurationUpdate.setEquipmentAddress(tmpStr);
  }
  if ((tmpStr=properties.getProperty("processId")) != null) {
    try {
      equipmentCacheObject.setProcessId(Long.valueOf(tmpStr));
    }
 catch (    NumberFormatException e) {
      throw new ConfigurationException(ConfigurationException.INVALID_PARAMETER_VALUE,"NumberFormatException: Unable to convert parameter \"processId\" to Long: " + tmpStr);
    }
  }
  return configurationUpdate;
}

protected EquipmentConfigurationUpdate configureCacheObject ( Equipment equipment , Properties properties ) { EquipmentCacheObject equipmentCacheObject = ( EquipmentCacheObject ) equipment ; EquipmentConfigurationUpdate configurationUpdate = setCommonProperties ( equipmentCacheObject , properties ) ; String tmpStr = properties . getProperty ( "address" ) ; if ( tmpStr != null ) { equipmentCacheObject . setAddress ( tmpStr ) ; configurationUpdate . setEquipmentAddress ( tmpStr ) ; } if ( ( tmpStr = properties . getProperty ( "processId" ) ) != null ) { try { equipmentCacheObject . setProcessId ( Long . valueOf ( tmpStr ) ) ; } catch ( NumberFormatException e ) { throw new ConfigurationException ( ConfigurationException . INVALID_PARAMETER_VALUE , "NumberFormatException: Unable to convert parameter \"processId\" to Long: " + tmpStr ) ; } } return configurationUpdate ; }
sets the equipment fields from the passed properties .
