📄 categoryform.java
字号:
package com.eline.wap.resource.struts;
import org.apache.struts.action.ActionForm;
/**
*
* @author Lucifer
*
*/
public class CategoryForm extends ActionForm {
/**
*
*/
private static final long serialVersionUID = -983355131343378567L;
private int indexId = -1;
private int parentId;
private int type;
private String name;
private boolean isSearchable;
private String searchKey;
private boolean isTopLevel;
private boolean isActive;
private String description;
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;//Encoder.encodeJspParameter(description);
System.out.println("description="+description);
System.out.println("this.description=" + this.description);
}
public int getIndexId() {
return indexId;
}
public void setIndexId(int indexId) {
this.indexId = indexId;
}
public boolean isActive() {
return isActive;
}
public void setActive(boolean isActive) {
this.isActive = isActive;
}
public boolean isSearchable() {
return isSearchable;
}
public void setSearchable(boolean isSearchable) {
this.isSearchable = isSearchable;
}
public boolean isTopLevel() {
return isTopLevel;
}
public void setTopLevel(boolean isTopLevel) {
this.isTopLevel = isTopLevel;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;//Encoder.encodeJspParameter(name);
System.out.println("name="+name);
System.out.println("this.name=" + this.name);
}
public int getParentId() {
return parentId;
}
public void setParentId(int parentId) {
this.parentId = parentId;
}
public String getSearchKey() {
return searchKey;
}
public void setSearchKey(String searchKey) {
this.searchKey = searchKey;//Encoder.encodeJspParameter(searchKey);
System.out.println("name="+searchKey);
System.out.println("this.searchKey=" + this.searchKey);
}
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -