@Override protected Change configureCacheObject(SubEquipment subEquipment,Properties properties){
  SubEquipmentCacheObject subEquipmentCacheObject=(SubEquipmentCacheObject)subEquipment;
  EquipmentConfigurationUpdate update=setCommonProperties(subEquipment,properties);
  String tmpStr=properties.getProperty("equipmentId");
  if (tmpStr == null) {
    tmpStr=properties.getProperty("parent_equip_id");
  }
  if (tmpStr != null) {
    try {
      subEquipmentCacheObject.setParentId(Long.valueOf(tmpStr));
    }
 catch (    NumberFormatException e) {
      throw new ConfigurationException(ConfigurationException.INVALID_PARAMETER_VALUE,"NumberFormatException: Unable to convert parameter \"parentId\" to Long: " + tmpStr);
    }
  }
  return update;
}

@ Override protected Change configureCacheObject ( SubEquipment subEquipment , Properties properties ) { SubEquipmentCacheObject subEquipmentCacheObject = ( SubEquipmentCacheObject ) subEquipment ; EquipmentConfigurationUpdate update = setCommonProperties ( subEquipment , properties ) ; String tmpStr = properties . getProperty ( "equipmentId" ) ; if ( tmpStr == null ) { tmpStr = properties . getProperty ( "parent_equip_id" ) ; } if ( tmpStr != null ) { try { subEquipmentCacheObject . setParentId ( Long . valueOf ( tmpStr ) ) ; } catch ( NumberFormatException e ) { throw new ConfigurationException ( ConfigurationException . INVALID_PARAMETER_VALUE , "NumberFormatException: Unable to convert parameter \"parentId\" to Long: " + tmpStr ) ; } } return update ; }
sets the fields particular for subequipment from the properties object .
