type.java
来自「ajax实战之tree java代码」· Java 代码 · 共 71 行
JAVA
71 行
package model;
import java.util.HashSet;
import java.util.Set;
import org.apache.struts.action.ActionForm;
/**
* Type generated by MyEclipse - Hibernate Tools
*/
public class Type extends ActionForm implements java.io.Serializable {
// Fields
private Integer id;
private String typeName;
private Set subtypes = new HashSet(0);
// Constructors
/** default constructor */
public Type() {
}
/** full constructor */
public Type(String typeName, Set subtypes) {
this.typeName = typeName;
this.subtypes = subtypes;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getTypeName() {
return this.typeName;
}
public void setTypeName(String typeName) {
this.typeName = typeName;
}
public Set getSubtypes() {
return this.subtypes;
}
public void setSubtypes(Set subtypes) {
this.subtypes = subtypes;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?