- package com.actionForm;
- import org.apache.struts.action.ActionForm;
- import org.apache.struts.action.ActionErrors;
- import org.apache.struts.action.ActionMapping;
- import javax.servlet.http.HttpServletRequest;
- public class BookForm extends ActionForm {
- private String author;
- private String barcode;
- private String bookName;
- private String bookcaseName;
- private Integer bookcaseid;
- private Integer days;
- private Integer del;
- private Integer id;
- private String inTime;
- private String isbn;
- private String operator;
- private Integer page;
- private Float price;
- private String publishing;
- private Integer storager;
- private String translator;
- private Integer typeId;
- private String typeName;
- public BookForm(){
- }
- public String getAuthor() {
- return author;
- }
- public void setAuthor(String author) {
- this.author = author;
- }
- public void setTypeName(String typeName) {
- this.typeName = typeName;
- }
- public void setTypeId(Integer typeId) {
- this.typeId = typeId;
- }
- public void setTranslator(String translator) {
- this.translator = translator;
- }
- public void setStorager(Integer storager) {
- this.storager = storager;
- }
- public void setPublishing(String publishing) {
- this.publishing = publishing;
- }
- public void setPrice(Float price) {
- this.price = price;
- }
- public void setPage(Integer page) {
- this.page = page;
- }
- public void setOperator(String operator) {
- this.operator = operator;
- }
- public void setIsbn(String isbn) {
- this.isbn = isbn;
- }
- public void setInTime(String inTime) {
- this.inTime = inTime;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- public void setDel(Integer del) {
- this.del = del;
- }
- public void setDays(Integer days) {
- this.days = days;
- }
- public void setBookcaseid(Integer bookcaseid) {
- this.bookcaseid = bookcaseid;
- }
- public void setBookcaseName(String bookcaseName) {
- this.bookcaseName = bookcaseName;
- }
- public void setBookName(String bookName) {
- this.bookName = bookName;
- }
- public void setBarcode(String barcode) {
- this.barcode = barcode;
- }
- public String getBarcode() {
- return barcode;
- }
- public String getBookName() {
- return bookName;
- }
- public String getBookcaseName() {
- return bookcaseName;
- }
- public Integer getBookcaseid() {
- return bookcaseid;
- }
- public Integer getDays() {
- return days;
- }
- public Integer getDel() {
- return del;
- }
- public Integer getId() {
- return id;
- }
- public String getInTime() {
- return inTime;
- }
- public String getIsbn() {
- return isbn;
- }
- public String getOperator() {
- return operator;
- }
- public Integer getPage() {
- return page;
- }
- public Float getPrice() {
- return price;
- }
- public String getPublishing() {
- return publishing;
- }
- public Integer getStorager() {
- return storager;
- }
- public String getTranslator() {
- return translator;
- }
- public Integer getTypeId() {
- return typeId;
- }
- public String getTypeName() {
- return typeName;
- }
- public ActionErrors validate(ActionMapping actionMapping,
- HttpServletRequest httpServletRequest) {
- /** @todo: finish this method, this is just the skeleton.*/
- return null;
- }
- public void reset(ActionMapping actionMapping,
- HttpServletRequest servletRequest) {
- }
- }