/**
  * Gets an instance of this object by index "bug_when"
  *
  * @param   util.Date bug_when
  * @return  &BugzillaLongDescs[] object
  * @throws  rdbms.SQLException in case an error occurs
  */
 public function getByBug_when($bug_when)
 {
     $peer = BugzillaLongDescs::getPeer();
     return $peer->doSelect(new Criteria(array('bug_when', $bug_when, EQUAL)));
 }