org.hibernate.test.annotations.fetch
Class Person
java.lang.Object
org.hibernate.test.annotations.fetch.Person
- All Implemented Interfaces:
- Serializable
@Entity
public class Person
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Method Summary |
void |
addOldStay(Date startDate,
Date endDate,
String vessel,
String authoriser,
String comments)
|
void |
addOldStay(Stay stay)
|
void |
addStay(Date startDate,
Date endDate,
String vessel,
String authoriser,
String comments)
|
void |
addStay(Stay stay)
|
void |
addVeryOldStay(Date startDate,
Date endDate,
String vessel,
String authoriser,
String comments)
|
void |
addVeryOldStay(Stay stay)
|
String |
getCompanyName()
|
String |
getFirstName()
|
int |
getId()
|
String |
getLastName()
|
Collection<Stay> |
getOldStays()
|
List<Stay> |
getOrderedStay()
|
Collection<Stay> |
getStays()
|
Collection<Stay> |
getVeryOldStays()
|
void |
setCompanyName(String companyName)
|
void |
setFirstName(String firstName)
|
void |
setId(int id)
|
void |
setLastName(String lastName)
|
void |
setOldStays(Collection<Stay> oldStays)
|
void |
setOrderedStay(List<Stay> orderedStay)
|
void |
setStays(List<Stay> stays)
|
void |
setVeryOldStays(Collection<Stay> veryOldStays)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Person
public Person()
Person
public Person(String firstName,
String lastName,
String companyName)
getCompanyName
public String getCompanyName()
setCompanyName
public void setCompanyName(String companyName)
getFirstName
public String getFirstName()
setFirstName
public void setFirstName(String firstName)
getId
public int getId()
setId
public void setId(int id)
getLastName
public String getLastName()
setLastName
public void setLastName(String lastName)
getStays
public Collection<Stay> getStays()
setStays
public void setStays(List<Stay> stays)
getOldStays
public Collection<Stay> getOldStays()
setOldStays
public void setOldStays(Collection<Stay> oldStays)
getVeryOldStays
public Collection<Stay> getVeryOldStays()
setVeryOldStays
public void setVeryOldStays(Collection<Stay> veryOldStays)
getOrderedStay
public List<Stay> getOrderedStay()
setOrderedStay
public void setOrderedStay(List<Stay> orderedStay)
addStay
public void addStay(Date startDate,
Date endDate,
String vessel,
String authoriser,
String comments)
addStay
public void addStay(Stay stay)
addOldStay
public void addOldStay(Date startDate,
Date endDate,
String vessel,
String authoriser,
String comments)
addOldStay
public void addOldStay(Stay stay)
addVeryOldStay
public void addVeryOldStay(Date startDate,
Date endDate,
String vessel,
String authoriser,
String comments)
addVeryOldStay
public void addVeryOldStay(Stay stay)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.