📄 type.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -