/**
  * @see SubmissionFileDAODelegate::fromRow()
  * @return ArtworkFile
  */
 function &fromRow(&$row)
 {
     $artworkFile =& parent::fromRow($row);
     $artworkFile->setCredit($row['credit']);
     $artworkFile->setCaption($row['caption']);
     $artworkFile->setPlacement($row['placement']);
     $artworkFile->setChapterId(is_null($row['chapter_id']) ? null : (int) $row['chapter_id']);
     $artworkFile->setContactAuthor($row['contact_author']);
     $artworkFile->setCopyrightOwner($row['copyright_owner']);
     $artworkFile->setPermissionTerms($row['permission_terms']);
     $artworkFile->setPermissionFileId(is_null($row['permission_file_id']) ? null : (int) $row['permission_file_id']);
     $artworkFile->setCopyrightOwnerContactDetails($row['copyright_owner_contact']);
     return $artworkFile;
 }