Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.test.ejb3.fetch
Class Person  view Person download Person.java

java.lang.Object
  extended byorg.hibernate.test.ejb3.fetch.Person
All Implemented Interfaces:
java.io.Serializable

public class Person
extends java.lang.Object
implements java.io.Serializable

Copied over from annotations test suite...


Field Summary
private  java.lang.String companyName
           
private  java.lang.String firstName
           
private  java.lang.Long id
           
private  java.lang.String lastName
           
private  java.util.Collection oldStays
           
private  java.util.Collection stays
           
private  java.util.Collection veryOldStays
           
 
Constructor Summary
Person()
           
Person(java.lang.String firstName, java.lang.String lastName, java.lang.String companyName)
           
 
Method Summary
 void addOldStay(java.util.Date startDate, java.util.Date endDate, java.lang.String vessel, java.lang.String authoriser, java.lang.String comments)
           
 void addOldStay(Stay stay)
           
 void addStay(java.util.Date startDate, java.util.Date endDate, java.lang.String vessel, java.lang.String authoriser, java.lang.String comments)
           
 void addStay(Stay stay)
           
 void addVeryOldStay(java.util.Date startDate, java.util.Date endDate, java.lang.String vessel, java.lang.String authoriser, java.lang.String comments)
           
 void addVeryOldStay(Stay stay)
           
 java.lang.String getCompanyName()
           
 java.lang.String getFirstName()
           
 java.lang.Long getId()
           
 java.lang.String getLastName()
           
 java.util.Collection getOldStays()
           
 java.util.Collection getStays()
           
 java.util.Collection getVeryOldStays()
           
 void setCompanyName(java.lang.String companyName)
           
 void setFirstName(java.lang.String firstName)
           
 void setId(java.lang.Long id)
           
 void setLastName(java.lang.String lastName)
           
 void setOldStays(java.util.Collection oldStays)
           
 void setStays(java.util.Collection stays)
           
 void setVeryOldStays(java.util.Collection veryOldStays)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private java.lang.Long id

firstName

private java.lang.String firstName

lastName

private java.lang.String lastName

companyName

private java.lang.String companyName

stays

private java.util.Collection stays

oldStays

private java.util.Collection oldStays

veryOldStays

private java.util.Collection veryOldStays
Constructor Detail

Person

public Person()

Person

public Person(java.lang.String firstName,
              java.lang.String lastName,
              java.lang.String companyName)
Method Detail

getId

public java.lang.Long getId()

setId

public void setId(java.lang.Long id)

getFirstName

public java.lang.String getFirstName()

setFirstName

public void setFirstName(java.lang.String firstName)

getLastName

public java.lang.String getLastName()

setLastName

public void setLastName(java.lang.String lastName)

getCompanyName

public java.lang.String getCompanyName()

setCompanyName

public void setCompanyName(java.lang.String companyName)

getStays

public java.util.Collection getStays()

setStays

public void setStays(java.util.Collection stays)

getOldStays

public java.util.Collection getOldStays()

setOldStays

public void setOldStays(java.util.Collection oldStays)

getVeryOldStays

public java.util.Collection getVeryOldStays()

setVeryOldStays

public void setVeryOldStays(java.util.Collection veryOldStays)

addStay

public void addStay(java.util.Date startDate,
                    java.util.Date endDate,
                    java.lang.String vessel,
                    java.lang.String authoriser,
                    java.lang.String comments)

addStay

public void addStay(Stay stay)

addOldStay

public void addOldStay(java.util.Date startDate,
                       java.util.Date endDate,
                       java.lang.String vessel,
                       java.lang.String authoriser,
                       java.lang.String comments)

addOldStay

public void addOldStay(Stay stay)

addVeryOldStay

public void addVeryOldStay(java.util.Date startDate,
                           java.util.Date endDate,
                           java.lang.String vessel,
                           java.lang.String authoriser,
                           java.lang.String comments)

addVeryOldStay

public void addVeryOldStay(Stay stay)