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 aProjectOverviewDTO
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationDeadline
record component.callofproject.dev.data.project.entity.enums.EDegree
degree()
Returns the value of thedegree
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theexpectedCompletionDate
record component.callofproject.dev.data.project.entity.enums.EFeedbackTimeRange
Returns the value of thefeedbackTimeRange
record component.final int
hashCode()
Returns a hash code value for this object.callofproject.dev.data.project.entity.enums.EInterviewType
Returns the value of theinterviewType
record component.int
Returns the value of themaxParticipant
record component.callofproject.dev.data.project.entity.enums.EProjectProfessionLevel
Returns the value of theprofessionLevel
record component.Returns the value of theprojectAim
record component.Returns the value of theprojectId
record component.Returns the value of theprojectImagePath
record component.callofproject.dev.data.project.entity.enums.EProjectLevel
Returns the value of theprojectLevel
record component.Returns the value of theprojectOwnerName
record component.callofproject.dev.data.project.entity.enums.EProjectStatus
Returns the value of theprojectStatus
record component.Returns the value of theprojectSummary
record component.List<callofproject.dev.nosql.entity.ProjectTag>
Returns the value of theprojectTags
record component.Returns the value of theprojectTitle
record component.Returns the value of thespecialRequirements
record component.Returns the value of thestartDate
record component.Returns the value of thetechnicalRequirements
record component.final String
toString()
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 aProjectOverviewDTO
record class.- Parameters:
projectId
- the value for theprojectId
record componentprojectImagePath
- the value for theprojectImagePath
record componentprojectTitle
- the value for theprojectTitle
record componentprojectSummary
- the value for theprojectSummary
record componentprojectAim
- the value for theprojectAim
record componentapplicationDeadline
- the value for theapplicationDeadline
record componentexpectedCompletionDate
- the value for theexpectedCompletionDate
record componentstartDate
- the value for thestartDate
record componentmaxParticipant
- the value for themaxParticipant
record componenttechnicalRequirements
- the value for thetechnicalRequirements
record componentspecialRequirements
- the value for thespecialRequirements
record componentprofessionLevel
- the value for theprofessionLevel
record componentdegree
- the value for thedegree
record componentprojectLevel
- the value for theprojectLevel
record componentinterviewType
- the value for theinterviewType
record componentprojectOwnerName
- the value for theprojectOwnerName
record componentfeedbackTimeRange
- the value for thefeedbackTimeRange
record componentprojectStatus
- the value for theprojectStatus
record componentprojectTags
- the value for theprojectTags
record 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 theprojectId
record component.- Returns:
- the value of the
projectId
record component
-
projectImagePath
Returns the value of theprojectImagePath
record component.- Returns:
- the value of the
projectImagePath
record component
-
projectTitle
Returns the value of theprojectTitle
record component.- Returns:
- the value of the
projectTitle
record component
-
projectSummary
Returns the value of theprojectSummary
record component.- Returns:
- the value of the
projectSummary
record component
-
projectAim
Returns the value of theprojectAim
record component.- Returns:
- the value of the
projectAim
record component
-
applicationDeadline
Returns the value of theapplicationDeadline
record component.- Returns:
- the value of the
applicationDeadline
record component
-
expectedCompletionDate
Returns the value of theexpectedCompletionDate
record component.- Returns:
- the value of the
expectedCompletionDate
record component
-
startDate
Returns the value of thestartDate
record component.- Returns:
- the value of the
startDate
record component
-
maxParticipant
public int maxParticipant()Returns the value of themaxParticipant
record component.- Returns:
- the value of the
maxParticipant
record component
-
technicalRequirements
Returns the value of thetechnicalRequirements
record component.- Returns:
- the value of the
technicalRequirements
record component
-
specialRequirements
Returns the value of thespecialRequirements
record component.- Returns:
- the value of the
specialRequirements
record component
-
professionLevel
public callofproject.dev.data.project.entity.enums.EProjectProfessionLevel professionLevel()Returns the value of theprofessionLevel
record component.- Returns:
- the value of the
professionLevel
record component
-
degree
public callofproject.dev.data.project.entity.enums.EDegree degree()Returns the value of thedegree
record component.- Returns:
- the value of the
degree
record component
-
projectLevel
public callofproject.dev.data.project.entity.enums.EProjectLevel projectLevel()Returns the value of theprojectLevel
record component.- Returns:
- the value of the
projectLevel
record component
-
interviewType
public callofproject.dev.data.project.entity.enums.EInterviewType interviewType()Returns the value of theinterviewType
record component.- Returns:
- the value of the
interviewType
record component
-
projectOwnerName
Returns the value of theprojectOwnerName
record component.- Returns:
- the value of the
projectOwnerName
record component
-
feedbackTimeRange
public callofproject.dev.data.project.entity.enums.EFeedbackTimeRange feedbackTimeRange()Returns the value of thefeedbackTimeRange
record component.- Returns:
- the value of the
feedbackTimeRange
record component
-
projectStatus
public callofproject.dev.data.project.entity.enums.EProjectStatus projectStatus()Returns the value of theprojectStatus
record component.- Returns:
- the value of the
projectStatus
record component
-
projectTags
Returns the value of theprojectTags
record component.- Returns:
- the value of the
projectTags
record component
-