sortview.java

来自「openblog是一个博客管理系统」· Java 代码 · 共 77 行

JAVA
77
字号
package org.openblog.hibernate;

import java.util.HashSet;
import java.util.Set;

/**
 * Sort entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class SortView implements java.io.Serializable {

	// Fields

	private Integer sortId;
	private String sortName;
	private Integer sortParent;
	private Set articles = new HashSet(0);

	// Constructors

	/** default constructor */
	public SortView() {
	}

	/** minimal constructor */
	public SortView(Integer sortId, String sortName, Integer sortParent) {
		this.sortId = sortId;
		this.sortName = sortName;
		this.sortParent = sortParent;
	}

	/** full constructor */
	public SortView(Integer sortId, String sortName, Integer sortParent,
			Set articles) {
		this.sortId = sortId;
		this.sortName = sortName;
		this.sortParent = sortParent;
		this.articles = articles;
	}

	// Property accessors

	public Integer getSortId() {
		return this.sortId;
	}

	public void setSortId(Integer sortId) {
		this.sortId = sortId;
	}

	public String getSortName() {
		return this.sortName;
	}

	public void setSortName(String sortName) {
		this.sortName = sortName;
	}

	public Integer getSortParent() {
		return this.sortParent;
	}

	public void setSortParent(Integer sortParent) {
		this.sortParent = sortParent;
	}

	public Set getArticles() {
		return this.articles;
	}

	public void setArticles(Set articles) {
		this.articles = articles;
	}

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?