FileDocCategorySizeDatePackage
IntegerVersioned.javaAPI DocHibernate 3.2.5574Wed Jul 06 12:04:46 BST 2005org.hibernate.test.hql

IntegerVersioned.java

// $Id: IntegerVersioned.java 7384 2005-07-06 17:04:45Z steveebersole $
package org.hibernate.test.hql;

/**
 * Implementation of IntegerVersioned.
 *
 * @author Steve Ebersole
 */
public class IntegerVersioned {
	private Long id;
	private int version = -1;
	private String name;

	public IntegerVersioned() {
	}

	public IntegerVersioned(String name) {
		this.name = name;
	}

	public Long getId() {
		return id;
	}

	public int getVersion() {
		return version;
	}

	public String getName() {
		return name;
	}

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