org.hibernate.test.sql.hand
Class Employment
java.lang.Object
org.hibernate.test.sql.hand.Employment
public class Employment
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Employment
public Employment()
Employment
public Employment(Person employee,
Organization employer,
String regionCode)
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.