abstracttype.java

来自「本系统是新华社内部信息管理系统」· Java 代码 · 共 87 行

JAVA
87
字号
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 + =
减小字号Ctrl + -
显示快捷键?