Class Recruiter
java.lang.Object
me.josephsf.jobportaljosephsfeir.model.Recruiter
Represents a recruiter profile in the Job Portal application.
This class is mapped to the "recruiters" collection in MongoDB using the
Spring Data MongoDB Document annotation. It extends the basic user
account with recruiter-specific information, including company details,
professional information, and verification status.
Each recruiter is associated with a user account and can post jobs, review applications, and manage their company profile. Recruiters may need to be verified before they can fully use the platform.
- Since:
- 2025-05-15
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the detailed description of the company.Gets the name of the company the recruiter represents.Gets the size of the company the recruiter represents.Gets the URL to the company's website.Gets the date and time when the recruiter profile was created.Gets the department the recruiter works for.getId()Gets the unique identifier of the recruiter profile.Gets the industry sector the company operates in.Checks if the recruiter profile has been verified.Gets the URL to the recruiter's LinkedIn profile.Gets the location of the company.Gets the recruiter's contact phone number.Gets the recruiter's position within the company.Gets the date and time when the recruiter profile was last updated.Gets the user ID associated with this recruiter profile.voidsetCompanyDescription(String companyDescription) Sets the detailed description of the company.voidsetCompanyName(String companyName) Sets the name of the company the recruiter represents.voidsetCompanySize(String companySize) Sets the size of the company the recruiter represents.voidsetCompanyWebsite(String companyWebsite) Sets the URL to the company's website.voidsetCreatedAt(LocalDateTime createdAt) Sets the date and time when the recruiter profile was created.voidsetDepartment(String department) Sets the department the recruiter works for.voidSets the unique identifier of the recruiter profile.voidsetIndustry(String industry) Sets the industry sector the company operates in.voidsetIsVerified(Boolean isVerified) Sets whether the recruiter profile has been verified.voidsetLinkedInUrl(String linkedInUrl) Sets the URL to the recruiter's LinkedIn profile.voidsetLocation(String location) Sets the location of the company.voidsetPhoneNumber(String phoneNumber) Sets the recruiter's contact phone number.voidsetPosition(String position) Sets the recruiter's position within the company.voidsetUpdatedAt(LocalDateTime updatedAt) Sets the date and time when the recruiter profile was last updated.voidSets the user ID associated with this recruiter profile.
-
Constructor Details
-
Recruiter
public Recruiter()Constructs a new Recruiter instance with default values. Sets creation and update timestamps to the current time, and sets the verification status to false by default.
-
-
Method Details
-
getId
Gets the unique identifier of the recruiter profile.- Returns:
- the recruiter profile ID
-
setId
Sets the unique identifier of the recruiter profile.- Parameters:
id- the recruiter profile ID to set
-
getUserId
Gets the user ID associated with this recruiter profile.- Returns:
- the user ID
-
setUserId
Sets the user ID associated with this recruiter profile.- Parameters:
userId- the user ID to set
-
getCompanyName
Gets the name of the company the recruiter represents.- Returns:
- the company name
-
setCompanyName
Sets the name of the company the recruiter represents.- Parameters:
companyName- the company name to set
-
getCompanySize
Gets the size of the company the recruiter represents.- Returns:
- the company size category
-
setCompanySize
Sets the size of the company the recruiter represents.- Parameters:
companySize- the company size category to set
-
getLocation
Gets the location of the company.- Returns:
- the company location
-
setLocation
Sets the location of the company.- Parameters:
location- the company location to set
-
getIndustry
Gets the industry sector the company operates in.- Returns:
- the industry sector
-
setIndustry
Sets the industry sector the company operates in.- Parameters:
industry- the industry sector to set
-
getDepartment
Gets the department the recruiter works for.- Returns:
- the department name
-
setDepartment
Sets the department the recruiter works for.- Parameters:
department- the department name to set
-
getPosition
Gets the recruiter's position within the company.- Returns:
- the position title
-
setPosition
Sets the recruiter's position within the company.- Parameters:
position- the position title to set
-
getPhoneNumber
Gets the recruiter's contact phone number.- Returns:
- the phone number
-
setPhoneNumber
Sets the recruiter's contact phone number.- Parameters:
phoneNumber- the phone number to set
-
getLinkedInUrl
Gets the URL to the recruiter's LinkedIn profile.- Returns:
- the LinkedIn profile URL
-
setLinkedInUrl
Sets the URL to the recruiter's LinkedIn profile.- Parameters:
linkedInUrl- the LinkedIn profile URL to set
-
getCompanyWebsite
Gets the URL to the company's website.- Returns:
- the company website URL
-
setCompanyWebsite
Sets the URL to the company's website.- Parameters:
companyWebsite- the company website URL to set
-
getCompanyDescription
Gets the detailed description of the company.- Returns:
- the company description
-
setCompanyDescription
Sets the detailed description of the company.- Parameters:
companyDescription- the company description to set
-
getIsVerified
Checks if the recruiter profile has been verified.- Returns:
- true if the profile is verified, false otherwise
-
setIsVerified
Sets whether the recruiter profile has been verified.- Parameters:
isVerified- the verification status to set
-
getCreatedAt
Gets the date and time when the recruiter profile was created.- Returns:
- the creation timestamp
-
setCreatedAt
Sets the date and time when the recruiter profile was created.- Parameters:
createdAt- the creation timestamp to set
-
getUpdatedAt
Gets the date and time when the recruiter profile was last updated.- Returns:
- the update timestamp
-
setUpdatedAt
Sets the date and time when the recruiter profile was last updated.- Parameters:
updatedAt- the update timestamp to set
-