edu.sampleu.travel.approval.dataobject
Class TravelerDetail

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by edu.sampleu.travel.approval.dataobject.TravelerDetail
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, PersistableBusinessObject

@Entity
public class TravelerDetail
extends PersistableBusinessObjectBase

See Also:
Serialized Form

Field Summary
protected  boolean active
           
protected  String citizenship
           
protected  String cityName
           
protected  String countryCode
           
protected  String customerNumber
           
protected  Date dateOfBirth
           
protected  String documentNumber
           
protected  Date driversLicenseExpDate
           
protected  String driversLicenseNumber
           
protected  String driversLicenseState
           
protected  String emailAddress
           
protected  String firstName
           
protected  String gender
           
protected  Integer id
           
protected  String lastName
           
protected  boolean liabilityInsurance
           
protected  String middleName
           
protected  boolean motorVehicleRecordCheck
           
protected  boolean nonResidentAlien
           
protected  boolean notifyTAFinal
           
protected  boolean notifyTAStatusChange
           
protected  boolean notifyTERFinal
           
protected  boolean notifyTERStatusChange
           
protected  String phoneNumber
           
protected  String principalId
           
protected  String principalName
           
protected  String stateCode
           
protected  String streetAddressLine1
           
protected  String streetAddressLine2
           
protected  TravelerType travelerType
           
protected  String travelerTypeCode
           
protected  String zipCode
           
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
TravelerDetail()
           
 
Method Summary
 String getCitizenship()
          Gets the citizenship attribute.
 String getCityName()
           
 String getCountryCode()
           
 String getCustomerNumber()
          Gets the customerNumber attribute.
 Date getDateOfBirth()
          Gets the dateOfBirth attribute.
 String getDocumentNumber()
          This method returns the document number this TravelerDetail object is associated with
 Date getDriversLicenseExpDate()
          Gets the driversLicenseExpDate attribute.
 String getDriversLicenseNumber()
          Gets the driversLicenseNumber attribute.
 String getDriversLicenseState()
          Gets the driversLicenseState attribute.
 String getEmailAddress()
           
 List<TravelerDetailEmergencyContact> getEmergencyContacts()
           
 String getFirstName()
           
 String getGender()
          Gets the gender attribute.
 Integer getId()
           
 String getLastName()
           
 String getMiddleName()
          Gets the middleName attribute.
 String getName()
           
 boolean getNotifyTAFinal()
           
 boolean getNotifyTAStatusChange()
           
 boolean getNotifyTERFinal()
           
 boolean getNotifyTERStatusChange()
           
 String getPhoneNumber()
           
 String getPrincipalId()
          Gets the principalId attribute.
 String getPrincipalName()
          Gets the principalName attribute.
 String getStateCode()
           
 String getStreetAddressLine1()
           
 String getStreetAddressLine2()
           
 TravelerType getTravelerType()
           
 String getTravelerTypeCode()
           
 String getZipCode()
           
 boolean isActive()
          Gets the active attribute.
 boolean isLiabilityInsurance()
           
 boolean isMotorVehicleRecordCheck()
           
 boolean isNonResidentAlien()
          Gets the nonResIdentAlien attribute.
 boolean isNotifyTAFinal()
          Gets the notifyTAFinal attribute.
 boolean isNotifyTAStatusChange()
          Gets the notifyTAStatusChange attribute.
 boolean isNotifyTERFinal()
          Gets the notifyTERFinal attribute.
 boolean isNotifyTERStatusChange()
          Gets the notifyTERStatusChange attribute.
 void resetEmergencyContacts()
          Reset emergency contact lists when switching the traveler/tem profile
 void setActive(boolean active)
          Sets the active attribute value.
 void setCitizenship(String citizenship)
          Sets the citizenship attribute value.
 void setCityName(String cityName)
           
 void setCountryCode(String countryCode)
           
 void setCustomerNumber(String customerNumber)
          Sets the customerNumber attribute value.
 void setDateOfBirth(Date dateOfBirth)
          Sets the dateOfBirth attribute value.
 void setDocumentNumber(String documentNumber)
          This method sets the document number this TravelerDetail object will be associated with
 void setDriversLicenseExpDate(Date driversLicenseExpDate)
          Sets the driversLicenseExpDate attribute value.
 void setDriversLicenseNumber(String driversLicenseNumber)
          Sets the driversLicenseNumber attribute value.
 void setDriversLicenseState(String driversLicenseState)
          Sets the driversLicenseState attribute value.
 void setEmailAddress(String emailAddress)
           
 void setEmergencyContacts(List<TravelerDetailEmergencyContact> emergencyContacts)
           
 void setFirstName(String firstName)
           
 void setGender(String gender)
          Sets the gender attribute value.
 void setId(Integer id)
           
 void setLastName(String lastName)
           
 void setLiabilityInsurance(boolean liabilityInsurance)
           
 void setMiddleName(String middleName)
          Sets the middleName attribute value.
 void setMotorVehicleRecordCheck(boolean motorVehicleRecordCheck)
           
 void setNonResidentAlien(boolean nonResidentAlien)
          Sets the nonResIdentAlien attribute value.
 void setNotifyTAFinal(boolean notifyTAFinal)
          Sets the notifyTAFinal attribute value.
 void setNotifyTAStatusChange(boolean notifyTAStatusChange)
          Sets the notifyTAStatusChange attribute value.
 void setNotifyTERFinal(boolean notifyTERFinal)
          Sets the notifyTERFinal attribute value.
 void setNotifyTERStatusChange(boolean notifyTERStatusChange)
          Sets the notifyTERStatusChange attribute value.
 void setPhoneNumber(String phoneNumber)
           
 void setPrincipalId(String principalId)
          Sets the principalId attribute value.
 void setPrincipalName(String principalName)
          Sets the principalName attribute value.
 void setStateCode(String stateCode)
           
 void setStreetAddressLine1(String streetAddressLine1)
           
 void setStreetAddressLine2(String streetAddressLine2)
           
 void setTravelerType(TravelerType travelerType)
           
 void setTravelerTypeCode(String travelerTypeCode)
           
 void setZipCode(String zipCode)
           
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Field Detail

id

protected Integer id

documentNumber

protected String documentNumber

principalId

protected String principalId

principalName

protected String principalName

firstName

protected String firstName

middleName

protected String middleName

lastName

protected String lastName

streetAddressLine1

protected String streetAddressLine1

streetAddressLine2

protected String streetAddressLine2

cityName

protected String cityName

stateCode

protected String stateCode

zipCode

protected String zipCode

countryCode

protected String countryCode

citizenship

protected String citizenship

emailAddress

protected String emailAddress

dateOfBirth

protected Date dateOfBirth

gender

protected String gender

phoneNumber

protected String phoneNumber

travelerTypeCode

protected String travelerTypeCode

travelerType

protected TravelerType travelerType

customerNumber

protected String customerNumber

liabilityInsurance

protected boolean liabilityInsurance

driversLicenseNumber

protected String driversLicenseNumber

driversLicenseState

protected String driversLicenseState

driversLicenseExpDate

protected Date driversLicenseExpDate

notifyTAFinal

protected boolean notifyTAFinal

notifyTAStatusChange

protected boolean notifyTAStatusChange

notifyTERFinal

protected boolean notifyTERFinal

notifyTERStatusChange

protected boolean notifyTERStatusChange

active

protected boolean active

nonResidentAlien

protected boolean nonResidentAlien

motorVehicleRecordCheck

protected boolean motorVehicleRecordCheck
Constructor Detail

TravelerDetail

public TravelerDetail()
Method Detail

resetEmergencyContacts

public void resetEmergencyContacts()
Reset emergency contact lists when switching the traveler/tem profile


getEmergencyContacts

public List<TravelerDetailEmergencyContact> getEmergencyContacts()

setEmergencyContacts

public void setEmergencyContacts(List<TravelerDetailEmergencyContact> emergencyContacts)

getDocumentNumber

public String getDocumentNumber()
This method returns the document number this TravelerDetail object is associated with

Returns:
document number

setDocumentNumber

public void setDocumentNumber(String documentNumber)
This method sets the document number this TravelerDetail object will be associated with

Parameters:
documentNumber -

getId

public Integer getId()

setId

public void setId(Integer id)

getFirstName

public String getFirstName()

setFirstName

public void setFirstName(String firstName)

getLastName

public String getLastName()

setLastName

public void setLastName(String lastName)

getMiddleName

public String getMiddleName()
Gets the middleName attribute.

Returns:
Returns the middleName.

setMiddleName

public void setMiddleName(String middleName)
Sets the middleName attribute value.

Parameters:
middleName - The middleName to set.

getName

public String getName()

getStreetAddressLine1

public String getStreetAddressLine1()

setStreetAddressLine1

public void setStreetAddressLine1(String streetAddressLine1)

getStreetAddressLine2

public String getStreetAddressLine2()

setStreetAddressLine2

public void setStreetAddressLine2(String streetAddressLine2)

getCityName

public String getCityName()

setCityName

public void setCityName(String cityName)

getStateCode

public String getStateCode()

setStateCode

public void setStateCode(String stateCode)

getZipCode

public String getZipCode()

setZipCode

public void setZipCode(String zipCode)

getCountryCode

public String getCountryCode()

setCountryCode

public void setCountryCode(String countryCode)

getEmailAddress

public String getEmailAddress()

setEmailAddress

public void setEmailAddress(String emailAddress)

getPhoneNumber

public String getPhoneNumber()

setPhoneNumber

public void setPhoneNumber(String phoneNumber)

getTravelerTypeCode

public String getTravelerTypeCode()

setTravelerTypeCode

public void setTravelerTypeCode(String travelerTypeCode)

getTravelerType

public TravelerType getTravelerType()

setTravelerType

public void setTravelerType(TravelerType travelerType)

getPrincipalId

public String getPrincipalId()
Gets the principalId attribute.

Returns:
Returns the principalId.

setPrincipalId

public void setPrincipalId(String principalId)
Sets the principalId attribute value.

Parameters:
principalId - The principalId to set.

getPrincipalName

public String getPrincipalName()
Gets the principalName attribute.

Returns:
Returns the principalName.

setPrincipalName

public void setPrincipalName(String principalName)
Sets the principalName attribute value.

Parameters:
principalName - The principalName to set.

getCustomerNumber

public String getCustomerNumber()
Gets the customerNumber attribute.

Returns:
Returns the customerNumber.

setCustomerNumber

public void setCustomerNumber(String customerNumber)
Sets the customerNumber attribute value.

Parameters:
customerNumber - The customerNumber to set.

toStringMapper

protected LinkedHashMap toStringMapper()

isLiabilityInsurance

public boolean isLiabilityInsurance()

setLiabilityInsurance

public void setLiabilityInsurance(boolean liabilityInsurance)

getDriversLicenseNumber

public String getDriversLicenseNumber()
Gets the driversLicenseNumber attribute.

Returns:
Returns the driversLicenseNumber.

setDriversLicenseNumber

public void setDriversLicenseNumber(String driversLicenseNumber)
Sets the driversLicenseNumber attribute value.

Parameters:
driversLicenseNumber - The driversLicenseNumber to set.

getDriversLicenseState

public String getDriversLicenseState()
Gets the driversLicenseState attribute.

Returns:
Returns the driversLicenseState.

setDriversLicenseState

public void setDriversLicenseState(String driversLicenseState)
Sets the driversLicenseState attribute value.

Parameters:
driversLicenseState - The driversLicenseState to set.

getDriversLicenseExpDate

public Date getDriversLicenseExpDate()
Gets the driversLicenseExpDate attribute.

Returns:
Returns the driversLicenseExpDate.

setDriversLicenseExpDate

public void setDriversLicenseExpDate(Date driversLicenseExpDate)
Sets the driversLicenseExpDate attribute value.

Parameters:
driversLicenseExpDate - The driversLicenseExpDate to set.

getNotifyTAFinal

public boolean getNotifyTAFinal()

getNotifyTAStatusChange

public boolean getNotifyTAStatusChange()

getNotifyTERFinal

public boolean getNotifyTERFinal()

getNotifyTERStatusChange

public boolean getNotifyTERStatusChange()

getCitizenship

public String getCitizenship()
Gets the citizenship attribute.

Returns:
Returns the citizenship.

setCitizenship

public void setCitizenship(String citizenship)
Sets the citizenship attribute value.

Parameters:
citizenship - The citizenship to set.

isActive

public boolean isActive()
Gets the active attribute.

Returns:
Returns the active.

setActive

public void setActive(boolean active)
Sets the active attribute value.

Parameters:
active - The active to set.

isNotifyTAFinal

public boolean isNotifyTAFinal()
Gets the notifyTAFinal attribute.

Returns:
Returns the notifyTAFinal.

setNotifyTAFinal

public void setNotifyTAFinal(boolean notifyTAFinal)
Sets the notifyTAFinal attribute value.

Parameters:
notifyTAFinal - The notifyTAFinal to set.

isNotifyTAStatusChange

public boolean isNotifyTAStatusChange()
Gets the notifyTAStatusChange attribute.

Returns:
Returns the notifyTAStatusChange.

setNotifyTAStatusChange

public void setNotifyTAStatusChange(boolean notifyTAStatusChange)
Sets the notifyTAStatusChange attribute value.

Parameters:
notifyTAStatusChange - The notifyTAStatusChange to set.

isNotifyTERFinal

public boolean isNotifyTERFinal()
Gets the notifyTERFinal attribute.

Returns:
Returns the notifyTERFinal.

setNotifyTERFinal

public void setNotifyTERFinal(boolean notifyTERFinal)
Sets the notifyTERFinal attribute value.

Parameters:
notifyTERFinal - The notifyTERFinal to set.

isNotifyTERStatusChange

public boolean isNotifyTERStatusChange()
Gets the notifyTERStatusChange attribute.

Returns:
Returns the notifyTERStatusChange.

setNotifyTERStatusChange

public void setNotifyTERStatusChange(boolean notifyTERStatusChange)
Sets the notifyTERStatusChange attribute value.

Parameters:
notifyTERStatusChange - The notifyTERStatusChange to set.

isMotorVehicleRecordCheck

public boolean isMotorVehicleRecordCheck()

setMotorVehicleRecordCheck

public void setMotorVehicleRecordCheck(boolean motorVehicleRecordCheck)

isNonResidentAlien

public boolean isNonResidentAlien()
Gets the nonResIdentAlien attribute.

Returns:
Returns the nonResIdentAlien.

setNonResidentAlien

public void setNonResidentAlien(boolean nonResidentAlien)
Sets the nonResIdentAlien attribute value.

Parameters:
nonResIdentAlien - The nonResIdentAlien to set.

getDateOfBirth

public Date getDateOfBirth()
Gets the dateOfBirth attribute.

Returns:
Returns the dateOfBirth.

setDateOfBirth

public void setDateOfBirth(Date dateOfBirth)
Sets the dateOfBirth attribute value.

Parameters:
dateOfBirth - The dateOfBirth to set.

getGender

public String getGender()
Gets the gender attribute.

Returns:
Returns the gender.

setGender

public void setGender(String gender)
Sets the gender attribute value.

Parameters:
gender - The gender to set.


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.