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