Class ApplicantData
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.hr.ApplicantData
- All Implemented Interfaces:
Serializable
,Comparable<Object>
,AuthoredBean
,ComboAlias
,IDBean
,Cacheable
- Direct Known Subclasses:
Application
,Profile
A bean to store job applicant information.
- Since:
- 3.4
- Version:
- 7.0
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the Author of this bean.getBody()
Returns the profile body.Returns the alias to use in the HTML <OPTION> element.Returns the visible name to use in the HTML <OPTION> element.Returns the creation date of this profile.Returns the user's first name.Returns the user's last (family) name.getName()
Returns the user's full name.void
setAuthorID
(int id) Updates the author of this bean.void
Updates the profile body.void
setCreatedOn
(Instant dt) Updates the date this profile was updated.void
setFirstName
(String fName) Updates the user's first name.void
setLastName
(String lName) Updates the user's last (family) name.Methods inherited from class org.deltava.beans.DatabaseBean
cacheKey, compareTo, equals, getHexID, getID, hashCode, setID, validateID, validateID
-
Constructor Details
-
ApplicantData
public ApplicantData(int authorID) Creates the Resume bean.- Parameters:
authorID
- the JobPosting database ID
-
-
Method Details
-
getCreatedOn
Returns the creation date of this profile.- Returns:
- the creation date/time
-
getBody
-
getFirstName
-
getLastName
-
getName
-
getAuthorID
public int getAuthorID()Description copied from interface:AuthoredBean
Returns the Author of this bean.- Specified by:
getAuthorID
in interfaceAuthoredBean
- Returns:
- the author's database ID
- See Also:
-
getComboName
Description copied from interface:ComboAlias
Returns the visible name to use in the HTML <OPTION> element.- Specified by:
getComboName
in interfaceComboAlias
- Returns:
- The visible name for this entry
-
getComboAlias
Description copied from interface:ComboAlias
Returns the alias to use in the HTML <OPTION> element.- Specified by:
getComboAlias
in interfaceComboAlias
- Returns:
- The alias for this entry
-
setAuthorID
public void setAuthorID(int id) Description copied from interface:AuthoredBean
Updates the author of this bean.- Specified by:
setAuthorID
in interfaceAuthoredBean
- Parameters:
id
- the author's database ID.- See Also:
-
setCreatedOn
Updates the date this profile was updated.- Parameters:
dt
- the creation date/time
-
setBody
-
setFirstName
Updates the user's first name.- Parameters:
fName
- the first name
-
setLastName
Updates the user's last (family) name.- Parameters:
lName
- the last name
-