userpreferencecommand.java
来自「Java的框架」· Java 代码 · 共 82 行
JAVA
82 行
package mcaps.core.preference.webapp.command;
import java.io.Serializable;
/**
* Command bean for user preference editing. Currently only page size
* preference. Need to edit this to add new preference.
* @author Tan Beng Suang
* @date 01-Sep-2005
* @version 1.0.1.0
*/
public class UserPreferenceCommand implements Serializable {
private static final long serialVersionUID = 7685259568613855725L;
private Integer pageSize;
private String locale;
private String theme;
private String menu;
/**
* Returns the pageSize.
* @return int
*/
public Integer getPageSize () {
return pageSize;
}
/**
* Sets the pageSize.
* @param pageSize The pageSize to set.
*/
public void setPageSize (Integer pageSize) {
this.pageSize = pageSize;
}
/**
* Returns the locale.
* @return String.
*/
public String getLocale () {
return locale;
}
/**
* Sets the locale.
* @param locale The locale to set.
*/
public void setLocale (String locale) {
this.locale = locale;
}
/**
* @return the menu
*/
public String getMenu() {
return menu;
}
/**
* @param menu the menu to set
*/
public void setMenu(String menu) {
this.menu = menu;
}
/**
* @return the theme
*/
public String getTheme() {
return theme;
}
/**
* @param theme the theme to set
*/
public void setTheme(String theme) {
this.theme = theme;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?