FileDocCategorySizeDatePackage
Sortable.javaAPI DocHibernate 3.2.5473Sun Sep 26 00:18:28 BST 2004org.hibernate.test.legacy

Sortable

public class Sortable extends Object implements Comparable

Fields Summary
private int
id
private String
name
Constructors Summary
private Sortable()

Sortable(String name)

		this.name = name;
	
Methods Summary
public intcompareTo(java.lang.Object o)

		return name.compareTo( ( (Sortable) o).name );
	
public intgetId()

		return id;
	
public java.lang.StringgetName()

		return name;
	
public voidsetId(int i)

		id = i;
	
public voidsetName(java.lang.String string)

		name = string;