📄 treeviewform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.yuanchung.organize.treeview;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
/**
* MyEclipse Struts
* Creation date: 02-19-2008
*
* XDoclet definition:
* @struts.form name="treeViewForm"
*/
public class TreeViewForm extends ActionForm {
/*
* Generated fields
*/
/** id property */
private int id;
/** parentId property */
private int parentId;
/** activeFlag property */
private int activeFlag;//设为岗位级别
/** name property */
private String name;
private int isLeader;
//��������
private Integer node_protery;
/*
* Generated Methods
*/
public Integer getNode_protery() {
return node_protery;
}
public void setNode_protery(Integer node_protery) {
this.node_protery = node_protery;
}
public int getIsLeader() {
return isLeader;
}
public void setIsLeader(int isLeader) {
this.isLeader = isLeader;
}
/**
* Method validate
* @param mapping
* @param request
* @return ActionErrors
*/
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) {
// TODO Auto-generated method stub
return null;
}
/**
* Method reset
* @param mapping
* @param request
*/
public void reset(ActionMapping mapping, HttpServletRequest request) {
// TODO Auto-generated method stub
}
/**
* Returns the id.
* @return int
*/
public int getId() {
return id;
}
/**
* Set the id.
* @param id The id to set
*/
public void setId(int id) {
this.id = id;
}
/**
* Returns the parentId.
* @return int
*/
public int getParentId() {
return parentId;
}
/**
* Set the parentId.
* @param parentId The parentId to set
*/
public void setParentId(int parentId) {
this.parentId = parentId;
}
/**
* Returns the activeFlag.
* @return int
*/
public int getActiveFlag() {
return activeFlag;
}
/**
* Set the activeFlag.
* @param activeFlag The activeFlag to set
*/
public void setActiveFlag(int activeFlag) {
this.activeFlag = activeFlag;
}
/**
* Returns the name.
* @return String
*/
public String getName() {
return name;
}
/**
* Set the name.
* @param name The name to set
*/
public void setName(String name) {
this.name = name;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -