FileDocCategorySizeDatePackage
Employee.javaAPI DocHibernate 3.2.5855Sat Feb 12 00:27:32 GMT 2005org.hibernate.test.lazyonetoone

Employee

public class Employee extends Object
author
Gavin King

Fields Summary
private String
personName
private Person
person
private Collection
employments
Constructors Summary
Employee()

 
	 
public Employee(Person p)

		this.person = p;
		this.personName = p.getName();
		p.setEmployee(this);
	
Methods Summary
public java.util.CollectiongetEmployments()

		return employments;
	
public PersongetPerson()

		return person;
	
public java.lang.StringgetPersonName()

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

		this.employments = employments;
	
public voidsetPerson(Person person)

		this.person = person;
	
public voidsetPersonName(java.lang.String personName)

		this.personName = personName;