?? abstracttype.java
字號:
package com.nitpro.vo;
import java.util.HashSet;
import java.util.Set;
/**
* AbstractType
* @author 鄧錦溏
* @version 1.0
*/
public abstract class AbstractType implements java.io.Serializable {
// Fields
private Integer typeid;
private Type type;
private String typename;
private Set types = new HashSet(0);
private Set materials = new HashSet(0);
// Constructors
/** default constructor */
public AbstractType() {
}
/** minimal constructor */
public AbstractType(String typename) {
this.typename = typename;
}
/** full constructor */
public AbstractType(Type type, String typename, Set types, Set materials) {
this.type = type;
this.typename = typename;
this.types = types;
this.materials = materials;
}
// Property accessors
public Integer getTypeid() {
return this.typeid;
}
public void setTypeid(Integer typeid) {
this.typeid = typeid;
}
public Type getType() {
return this.type;
}
public void setType(Type type) {
this.type = type;
}
public String getTypename() {
return this.typename;
}
public void setTypename(String typename) {
this.typename = typename;
}
public Set getTypes() {
return this.types;
}
public void setTypes(Set types) {
this.types = types;
}
public Set getMaterials() {
return this.materials;
}
public void setMaterials(Set materials) {
this.materials = materials;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -