FileDocCategorySizeDatePackage
Country.javaAPI DocHibernate 3.2.5673Mon May 09 11:09:38 BST 2005org.hibernate.test.stats

Country

public class Country extends Object
author
Emmanuel Bernard

Fields Summary
private Integer
id
private String
name
Constructors Summary
Methods Summary
public booleanequals(java.lang.Object o)

		if (this == o) return true;
		if (!(o instanceof Country)) return false;

		final Country country = (Country) o;

		if (!name.equals(country.name)) return false;

		return true;
	
public java.lang.IntegergetId()

		return id;
	
public java.lang.StringgetName()

		return name;
	
public inthashCode()

		return name.hashCode();
	
public voidsetId(java.lang.Integer id)

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

		this.name = name;