Record Class ProjectOverviewDTO
java.lang.Object
java.lang.Record
callofproject.dev.project.dto.overview.ProjectOverviewDTO
public record ProjectOverviewDTO(String projectId, String projectImagePath, String projectTitle, String projectSummary, String projectAim, LocalDate applicationDeadline, LocalDate expectedCompletionDate, LocalDate startDate, int maxParticipant, String technicalRequirements, String specialRequirements, callofproject.dev.data.project.entity.enums.EProjectProfessionLevel professionLevel, callofproject.dev.data.project.entity.enums.EDegree degree, callofproject.dev.data.project.entity.enums.EProjectLevel projectLevel, callofproject.dev.data.project.entity.enums.EInterviewType interviewType, String projectOwnerName, callofproject.dev.data.project.entity.enums.EFeedbackTimeRange feedbackTimeRange, callofproject.dev.data.project.entity.enums.EProjectStatus projectStatus, List<callofproject.dev.nosql.entity.ProjectTag> projectTags)
extends Record
ProjectOverviewDTO
-
Constructor Summary
ConstructorsConstructorDescriptionProjectOverviewDTO(String projectId, String projectImagePath, String projectTitle, String projectSummary, String projectAim, LocalDate applicationDeadline, LocalDate expectedCompletionDate, LocalDate startDate, int maxParticipant, String technicalRequirements, String specialRequirements, callofproject.dev.data.project.entity.enums.EProjectProfessionLevel professionLevel, callofproject.dev.data.project.entity.enums.EDegree degree, callofproject.dev.data.project.entity.enums.EProjectLevel projectLevel, callofproject.dev.data.project.entity.enums.EInterviewType interviewType, String projectOwnerName, callofproject.dev.data.project.entity.enums.EFeedbackTimeRange feedbackTimeRange, callofproject.dev.data.project.entity.enums.EProjectStatus projectStatus, List<callofproject.dev.nosql.entity.ProjectTag> projectTags) Creates an instance of aProjectOverviewDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationDeadlinerecord component.callofproject.dev.data.project.entity.enums.EDegreedegree()Returns the value of thedegreerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpectedCompletionDaterecord component.callofproject.dev.data.project.entity.enums.EFeedbackTimeRangeReturns the value of thefeedbackTimeRangerecord component.final inthashCode()Returns a hash code value for this object.callofproject.dev.data.project.entity.enums.EInterviewTypeReturns the value of theinterviewTyperecord component.intReturns the value of themaxParticipantrecord component.callofproject.dev.data.project.entity.enums.EProjectProfessionLevelReturns the value of theprofessionLevelrecord component.Returns the value of theprojectAimrecord component.Returns the value of theprojectIdrecord component.Returns the value of theprojectImagePathrecord component.callofproject.dev.data.project.entity.enums.EProjectLevelReturns the value of theprojectLevelrecord component.Returns the value of theprojectOwnerNamerecord component.callofproject.dev.data.project.entity.enums.EProjectStatusReturns the value of theprojectStatusrecord component.Returns the value of theprojectSummaryrecord component.List<callofproject.dev.nosql.entity.ProjectTag>Returns the value of theprojectTagsrecord component.Returns the value of theprojectTitlerecord component.Returns the value of thespecialRequirementsrecord component.Returns the value of thestartDaterecord component.Returns the value of thetechnicalRequirementsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProjectOverviewDTO
public ProjectOverviewDTO(String projectId, String projectImagePath, String projectTitle, String projectSummary, String projectAim, LocalDate applicationDeadline, LocalDate expectedCompletionDate, LocalDate startDate, int maxParticipant, String technicalRequirements, String specialRequirements, callofproject.dev.data.project.entity.enums.EProjectProfessionLevel professionLevel, callofproject.dev.data.project.entity.enums.EDegree degree, callofproject.dev.data.project.entity.enums.EProjectLevel projectLevel, callofproject.dev.data.project.entity.enums.EInterviewType interviewType, String projectOwnerName, callofproject.dev.data.project.entity.enums.EFeedbackTimeRange feedbackTimeRange, callofproject.dev.data.project.entity.enums.EProjectStatus projectStatus, List<callofproject.dev.nosql.entity.ProjectTag> projectTags) Creates an instance of aProjectOverviewDTOrecord class.- Parameters:
projectId- the value for theprojectIdrecord componentprojectImagePath- the value for theprojectImagePathrecord componentprojectTitle- the value for theprojectTitlerecord componentprojectSummary- the value for theprojectSummaryrecord componentprojectAim- the value for theprojectAimrecord componentapplicationDeadline- the value for theapplicationDeadlinerecord componentexpectedCompletionDate- the value for theexpectedCompletionDaterecord componentstartDate- the value for thestartDaterecord componentmaxParticipant- the value for themaxParticipantrecord componenttechnicalRequirements- the value for thetechnicalRequirementsrecord componentspecialRequirements- the value for thespecialRequirementsrecord componentprofessionLevel- the value for theprofessionLevelrecord componentdegree- the value for thedegreerecord componentprojectLevel- the value for theprojectLevelrecord componentinterviewType- the value for theinterviewTyperecord componentprojectOwnerName- the value for theprojectOwnerNamerecord componentfeedbackTimeRange- the value for thefeedbackTimeRangerecord componentprojectStatus- the value for theprojectStatusrecord componentprojectTags- the value for theprojectTagsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
projectId
Returns the value of theprojectIdrecord component.- Returns:
- the value of the
projectIdrecord component
-
projectImagePath
Returns the value of theprojectImagePathrecord component.- Returns:
- the value of the
projectImagePathrecord component
-
projectTitle
Returns the value of theprojectTitlerecord component.- Returns:
- the value of the
projectTitlerecord component
-
projectSummary
Returns the value of theprojectSummaryrecord component.- Returns:
- the value of the
projectSummaryrecord component
-
projectAim
Returns the value of theprojectAimrecord component.- Returns:
- the value of the
projectAimrecord component
-
applicationDeadline
Returns the value of theapplicationDeadlinerecord component.- Returns:
- the value of the
applicationDeadlinerecord component
-
expectedCompletionDate
Returns the value of theexpectedCompletionDaterecord component.- Returns:
- the value of the
expectedCompletionDaterecord component
-
startDate
Returns the value of thestartDaterecord component.- Returns:
- the value of the
startDaterecord component
-
maxParticipant
public int maxParticipant()Returns the value of themaxParticipantrecord component.- Returns:
- the value of the
maxParticipantrecord component
-
technicalRequirements
Returns the value of thetechnicalRequirementsrecord component.- Returns:
- the value of the
technicalRequirementsrecord component
-
specialRequirements
Returns the value of thespecialRequirementsrecord component.- Returns:
- the value of the
specialRequirementsrecord component
-
professionLevel
public callofproject.dev.data.project.entity.enums.EProjectProfessionLevel professionLevel()Returns the value of theprofessionLevelrecord component.- Returns:
- the value of the
professionLevelrecord component
-
degree
public callofproject.dev.data.project.entity.enums.EDegree degree()Returns the value of thedegreerecord component.- Returns:
- the value of the
degreerecord component
-
projectLevel
public callofproject.dev.data.project.entity.enums.EProjectLevel projectLevel()Returns the value of theprojectLevelrecord component.- Returns:
- the value of the
projectLevelrecord component
-
interviewType
public callofproject.dev.data.project.entity.enums.EInterviewType interviewType()Returns the value of theinterviewTyperecord component.- Returns:
- the value of the
interviewTyperecord component
-
projectOwnerName
Returns the value of theprojectOwnerNamerecord component.- Returns:
- the value of the
projectOwnerNamerecord component
-
feedbackTimeRange
public callofproject.dev.data.project.entity.enums.EFeedbackTimeRange feedbackTimeRange()Returns the value of thefeedbackTimeRangerecord component.- Returns:
- the value of the
feedbackTimeRangerecord component
-
projectStatus
public callofproject.dev.data.project.entity.enums.EProjectStatus projectStatus()Returns the value of theprojectStatusrecord component.- Returns:
- the value of the
projectStatusrecord component
-
projectTags
Returns the value of theprojectTagsrecord component.- Returns:
- the value of the
projectTagsrecord component
-