FileDocCategorySizeDatePackage
Organization.javaAPI DocHibernate 3.2.51082Tue May 08 16:56:00 BST 2007org.hibernate.test.sql.hand

Organization

public class Organization extends Object
author
Gavin King

Fields Summary
private long
id
private String
name
private Collection
employments
Constructors Summary
public Organization(String name)

		this.name = name;
		employments = new HashSet();
	
public Organization()

Methods Summary
public java.util.CollectiongetEmployments()

return
Returns the employments.

		return employments;
	
public longgetId()

return
Returns the id.

		return id;
	
public java.lang.StringgetName()

return
Returns the name.

		return name;
	
public voidsetEmployments(java.util.Collection employments)

param
employments The employments to set.

		this.employments = employments;
	
public voidsetId(long id)

param
id The id to set.

		this.id = id;
	
public voidsetName(java.lang.String name)

param
name The name to set.

		this.name = name;