org.hibernate.test.sql.hand
Class Employment

java.lang.Object
  extended by org.hibernate.test.sql.hand.Employment

public class Employment
extends Object


Constructor Summary
Employment()
           
Employment(Person employee, Organization employer, String regionCode)
           
 
Method Summary
 Person getEmployee()
           
 Organization getEmployer()
           
 long getEmploymentId()
           
 Date getEndDate()
           
 String getRegionCode()
           
 MonetaryAmount getSalary()
           
 Date getStartDate()
           
 void setEmployee(Person employee)
           
 void setEmployer(Organization employer)
           
 void setEmploymentId(long id)
           
 void setEndDate(Date endDate)
           
 void setRegionCode(String regionCode)
           
 void setSalary(MonetaryAmount salary)
           
 void setStartDate(Date startDate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Employment

public Employment()

Employment

public Employment(Person employee,
                  Organization employer,
                  String regionCode)
Method Detail

getEmployee

public Person getEmployee()
Returns:
Returns the employee.

setEmployee

public void setEmployee(Person employee)
Parameters:
employee - The employee to set.

getEmployer

public Organization getEmployer()
Returns:
Returns the employer.

setEmployer

public void setEmployer(Organization employer)
Parameters:
employer - The employer to set.

getEndDate

public Date getEndDate()
Returns:
Returns the endDate.

setEndDate

public void setEndDate(Date endDate)
Parameters:
endDate - The endDate to set.

getEmploymentId

public long getEmploymentId()
Returns:
Returns the id.

setEmploymentId

public void setEmploymentId(long id)
Parameters:
id - The id to set.

getStartDate

public Date getStartDate()
Returns:
Returns the startDate.

setStartDate

public void setStartDate(Date startDate)
Parameters:
startDate - The startDate to set.

getRegionCode

public String getRegionCode()
Returns:
Returns the regionCode.

setRegionCode

public void setRegionCode(String regionCode)
Parameters:
regionCode - The regionCode to set.

getSalary

public MonetaryAmount getSalary()

setSalary

public void setSalary(MonetaryAmount salary)


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.