org.hibernate.test.annotations.fetch
Class Stay

java.lang.Object
  extended by org.hibernate.test.annotations.fetch.Stay
All Implemented Interfaces:
Serializable

@Entity
public class Stay
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Stay()
           
Stay(int id)
           
Stay(Person person, Date startDate, Date endDate, String vessel, String authoriser, String comments)
           
 
Method Summary
 String getAuthoriser()
           
 String getComments()
           
 Date getEndDate()
           
 int getId()
           
 Person getOldPerson()
           
 Person getPerson()
           
 Date getStartDate()
           
 Person getVeryOldPerson()
           
 String getVessel()
           
 void setAuthoriser(String authoriser)
           
 void setComments(String comments)
           
 void setEndDate(Date endDate)
           
 void setId(int id)
           
 void setOldPerson(Person oldPerson)
           
 void setPerson(Person person)
           
 void setStartDate(Date startDate)
           
 void setVeryOldPerson(Person veryOldPerson)
           
 void setVessel(String vessel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Stay

public Stay()

Stay

public Stay(int id)

Stay

public Stay(Person person,
            Date startDate,
            Date endDate,
            String vessel,
            String authoriser,
            String comments)
Method Detail

getAuthoriser

public String getAuthoriser()

setAuthoriser

public void setAuthoriser(String authoriser)

getComments

public String getComments()

setComments

public void setComments(String comments)

getEndDate

public Date getEndDate()

setEndDate

public void setEndDate(Date endDate)

getId

public int getId()

setId

public void setId(int id)

getPerson

public Person getPerson()

setPerson

public void setPerson(Person person)

getOldPerson

public Person getOldPerson()

setOldPerson

public void setOldPerson(Person oldPerson)

getVeryOldPerson

public Person getVeryOldPerson()

setVeryOldPerson

public void setVeryOldPerson(Person veryOldPerson)

getStartDate

public Date getStartDate()

setStartDate

public void setStartDate(Date startDate)

getVessel

public String getVessel()

setVessel

public void setVessel(String vessel)


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