FileDocCategorySizeDatePackage
Department.javaAPI DocHibernate 3.2.5667Fri Aug 27 21:29:06 BST 2004org.hibernate.test.filter

Department.java

// $Id: Department.java 4448 2004-08-28 02:29:05Z steveebersole $
package org.hibernate.test.filter;

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

/**
 * Implementation of Department.
 *
 * @author Steve
 */
public class Department {
	private Long id;
	private String name;
	private Set salespersons = new HashSet();

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set getSalespersons() {
		return salespersons;
	}

	public void setSalespersons(Set salespersons) {
		this.salespersons = salespersons;
	}
}