customersearchcriteriaform.java

来自「struts的一些用的书籍」· Java 代码 · 共 91 行

JAVA
91
字号
package app18b.form;

import org.apache.struts.action.ActionForm;

public final class CustomerSearchCriteriaForm extends ActionForm {
  private String name;
  private String address;
  private String phone;

	private int startRecord = 0;				
	private int endRecord = 0;					
	private int currentPage = 0;				
	private int nextPage;
	private int previousPage;
	private int highestPageNumber;
	
  private int cachedStartPage;

  public String getName() {   
   return name;
  }
  	
  public void setName(String name) {
    this.name = name;
  }
 
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public int getStartRecord() {
		return startRecord;   
	}
	
	public void setStartRecord (int startRecord) {
		this.startRecord = startRecord;    
	}
	
	public int getEndRecord () {
		return endRecord;
	}
	
	public void setEndRecord (int endRecord) {
		this.endRecord = endRecord;
	}
	
	public int getCurrentPage () {
	  return currentPage;
	}
	
	public void setCurrentPage (int currentPage) {
	  this.currentPage = currentPage;
	}
    public int getNextPage() {
        return nextPage;
    }
    public void setNextPage(int nextPage) {
        this.nextPage = nextPage;
    }
    public int getHighestPageNumber() {
        return highestPageNumber;
    }
    public void setHighestPageNumber(int highestPageNumber) {
        this.highestPageNumber = highestPageNumber;
    }
    public int getPreviousPage() {
        return previousPage;
    }
    public void setPreviousPage(int previousPage) {
        this.previousPage = previousPage;
    }
public int getCachedStartPage() {
    return cachedStartPage;
}
public void setCachedStartPage(int cachedStartPage) {
    this.cachedStartPage = cachedStartPage;
}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?