class ImageDB {

  public void setImageMapping(ImageDBKey imageKey, long imageID, ImageSize imageSize) {
    if (imageKey == null) {
      log.error("The supplied image key is null.");
      throw new NullPointerException("The supplied image key is null.");
    }

    if (imageKey.isProductKey()) {
      setImageMapping(imageKey.getProductID(), imageID, imageSize);
    } else {
      setImageMapping(imageKey.getWebUIName(), imageID, imageSize);
    }
  }

  public  ImageDB();
  public  ImageDB(ImageDB copy);

}