FileDocCategorySizeDatePackage
Task.javaAPI DocHibernate 3.2.5724Fri Jul 29 01:27:10 BST 2005org.hibernate.test.version

Task.java

//$Id: Task.java 7676 2005-07-29 06:27:10Z oneovthafew $
package org.hibernate.test.version;

public class Task {
	private String description;
	private Person person;
	private int version;
	
	public int getVersion() {
		return version;
	}
	public void setVersion(int version) {
		this.version = version;
	}
	Task() {}
	public Task(String description, Person person) {
		this.description = description;
		this.person = person;
		person.getTasks().add(this);
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Person getPerson() {
		return person;
	}
	public void setPerson(Person person) {
		this.person = person;
	}
}