org.hibernate.test.annotations.manytomany
Class Employee
java.lang.Object
org.hibernate.test.annotations.manytomany.Employee
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- Contractor
@Entity
public class Employee
- extends Object
- implements Serializable
Employee in an Employer-Employee relationship
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Employee
public Employee()
getContactInfo
public ContactInfo getContactInfo()
setContactInfo
public void setContactInfo(ContactInfo contactInfo)
getJobInfo
public JobInfo getJobInfo()
setJobInfo
public void setJobInfo(JobInfo jobInfo)
getName
public String getName()
setName
public void setName(String name)
getId
public Integer getId()
setId
public void setId(Integer integer)
getEmployers
public Collection<Employer> getEmployers()
setEmployers
public void setEmployers(Collection<Employer> employers)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.