org.wicketopia.example.domain.entity
Class Person

java.lang.Object
  extended by org.wicketopia.example.domain.entity.BaseEntity
      extended by org.wicketopia.example.domain.entity.Person
All Implemented Interfaces:
Serializable

@Entity
public class Person
extends BaseEntity

See Also:
Serialized Form

Field Summary
static int FIVE_PM
           
static int NINE_AM
           
 
Constructor Summary
Person()
           
 
Method Summary
static Person createDummy()
           
 org.joda.time.LocalDate getDob()
           
 String getEmail()
           
 String getFirstName()
           
 Gender getGender()
           
 String getLastName()
           
 Person getMother()
           
 String getSsn()
           
 org.joda.time.LocalTime getWorkDayBegin()
           
 org.joda.time.LocalTime getWorkDayEnd()
           
 boolean isSmoker()
           
 void setDob(org.joda.time.LocalDate dob)
           
 void setEmail(String email)
           
 void setFirstName(String firstName)
           
 void setGender(Gender gender)
           
 void setLastName(String lastName)
           
 void setMother(Person mother)
           
 void setSmoker(boolean smoker)
           
 void setSsn(String ssn)
           
 void setWorkDayBegin(org.joda.time.LocalTime workDayBegin)
           
 void setWorkDayEnd(org.joda.time.LocalTime workDayEnd)
           
 String toString()
           
 
Methods inherited from class org.wicketopia.example.domain.entity.BaseEntity
equals, getId, hashCode, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NINE_AM

public static final int NINE_AM
See Also:
Constant Field Values

FIVE_PM

public static final int FIVE_PM
See Also:
Constant Field Values
Constructor Detail

Person

public Person()
Method Detail

createDummy

public static Person createDummy()

getDob

public org.joda.time.LocalDate getDob()

setDob

public void setDob(org.joda.time.LocalDate dob)

getEmail

public String getEmail()

setEmail

public void setEmail(String email)

getFirstName

public String getFirstName()

setFirstName

public void setFirstName(String firstName)

getGender

public Gender getGender()

setGender

public void setGender(Gender gender)

getLastName

public String getLastName()

setLastName

public void setLastName(String lastName)

getMother

public Person getMother()

setMother

public void setMother(Person mother)

getSsn

public String getSsn()

setSsn

public void setSsn(String ssn)

getWorkDayBegin

public org.joda.time.LocalTime getWorkDayBegin()

setWorkDayBegin

public void setWorkDayBegin(org.joda.time.LocalTime workDayBegin)

getWorkDayEnd

public org.joda.time.LocalTime getWorkDayEnd()

setWorkDayEnd

public void setWorkDayEnd(org.joda.time.LocalTime workDayEnd)

isSmoker

public boolean isSmoker()

setSmoker

public void setSmoker(boolean smoker)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010-2013. All Rights Reserved.