?? 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 + -