_bookId = NULL; $this->_title = NULL; $this->_ISBN = NULL; $this->_authorId = NULL; $this->_publisherId = NULL; $this->_status = NULL; $this->_numCopies = NULL; } // ResultSet constructor function setFromRow($row){ $this->_bookId = $row[0]; $this->_title = $row[1]; $this->_ISBN = $row[2]; $this->_authorId = $row[3]; $this->_publisherId = $row[4]; $this->_status = $row[5]; $this->_numCopies = $row[6]; } // member variable getters and setters function getBookId() { return $this->_bookId; } function setBookId($bookId){ $this->_bookId = $bookId; } function getTitle() { return $this->_title; } function setTitle($title){ $this->_title = $title; } function getISBN() { return $this->_ISBN; } function setISBN($ISBN){ $this->_ISBN = $ISBN; } function getAuthorId() { return $this->_authorId; } function setAuthorId($authorId){ $this->_authorId = $authorId; } function getPublisherId() { return $this->_publisherId; } function setPublisherId($publisherId){ $this->_publisherId = $publisherId; } function getStatus() { return $this->_status; } function setStatus($status){ $this->_status = $status; } function getNumCopies() { return $this->_numCopies; } function setNumCopies($numCopies){ $this->_numCopies = $numCopies; } } // // ================================================================== // // WARNING : Do not edit this file by hand. This file was created // by SoProMach. Edit the definition files and re-generate to make // modifications. Making modifications to this file directly will // result in loss of work when the file is re-generated. // // ================================================================== ?>