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

Employment

public class Employment extends Object implements Serializable
author
Gavin King

Fields Summary
private String
personName
private String
organizationName
private Date
startDate
private Date
endDate
Constructors Summary
Employment()

public Employment(Employee e, String org)

		this.personName = e.getPersonName();
		this.organizationName = org;
		startDate = new Date();
		e.getEmployments().add(this);
	
Methods Summary
public java.util.DategetEndDate()

		return endDate;
	
public java.lang.StringgetOrganizationName()

		return organizationName;
	
public java.lang.StringgetPersonName()

		return personName;
	
public java.util.DategetStartDate()

		return startDate;
	
public voidsetEndDate(java.util.Date endDate)

		this.endDate = endDate;
	
public voidsetOrganizationName(java.lang.String organizationName)

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

		this.personName = personName;
	
public voidsetStartDate(java.util.Date startDate)

		this.startDate = startDate;