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

    Constructors
    Constructor
    Description
    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 a ProjectOverviewDTO record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the applicationDeadline record component.
    callofproject.dev.data.project.entity.enums.EDegree
    Returns the value of the degree record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    Returns the value of the expectedCompletionDate record component.
    callofproject.dev.data.project.entity.enums.EFeedbackTimeRange
    Returns the value of the feedbackTimeRange record component.
    final int
    Returns a hash code value for this object.
    callofproject.dev.data.project.entity.enums.EInterviewType
    Returns the value of the interviewType record component.
    int
    Returns the value of the maxParticipant record component.
    callofproject.dev.data.project.entity.enums.EProjectProfessionLevel
    Returns the value of the professionLevel record component.
    Returns the value of the projectAim record component.
    Returns the value of the projectId record component.
    Returns the value of the projectImagePath record component.
    callofproject.dev.data.project.entity.enums.EProjectLevel
    Returns the value of the projectLevel record component.
    Returns the value of the projectOwnerName record component.
    callofproject.dev.data.project.entity.enums.EProjectStatus
    Returns the value of the projectStatus record component.
    Returns the value of the projectSummary record component.
    List<callofproject.dev.nosql.entity.ProjectTag>
    Returns the value of the projectTags record component.
    Returns the value of the projectTitle record component.
    Returns the value of the specialRequirements record component.
    Returns the value of the startDate record component.
    Returns the value of the technicalRequirements record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 a ProjectOverviewDTO record class.
      Parameters:
      projectId - the value for the projectId record component
      projectImagePath - the value for the projectImagePath record component
      projectTitle - the value for the projectTitle record component
      projectSummary - the value for the projectSummary record component
      projectAim - the value for the projectAim record component
      applicationDeadline - the value for the applicationDeadline record component
      expectedCompletionDate - the value for the expectedCompletionDate record component
      startDate - the value for the startDate record component
      maxParticipant - the value for the maxParticipant record component
      technicalRequirements - the value for the technicalRequirements record component
      specialRequirements - the value for the specialRequirements record component
      professionLevel - the value for the professionLevel record component
      degree - the value for the degree record component
      projectLevel - the value for the projectLevel record component
      interviewType - the value for the interviewType record component
      projectOwnerName - the value for the projectOwnerName record component
      feedbackTimeRange - the value for the feedbackTimeRange record component
      projectStatus - the value for the projectStatus record component
      projectTags - the value for the projectTags record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • projectId

      public String projectId()
      Returns the value of the projectId record component.
      Returns:
      the value of the projectId record component
    • projectImagePath

      public String projectImagePath()
      Returns the value of the projectImagePath record component.
      Returns:
      the value of the projectImagePath record component
    • projectTitle

      public String projectTitle()
      Returns the value of the projectTitle record component.
      Returns:
      the value of the projectTitle record component
    • projectSummary

      public String projectSummary()
      Returns the value of the projectSummary record component.
      Returns:
      the value of the projectSummary record component
    • projectAim

      public String projectAim()
      Returns the value of the projectAim record component.
      Returns:
      the value of the projectAim record component
    • applicationDeadline

      public LocalDate applicationDeadline()
      Returns the value of the applicationDeadline record component.
      Returns:
      the value of the applicationDeadline record component
    • expectedCompletionDate

      public LocalDate expectedCompletionDate()
      Returns the value of the expectedCompletionDate record component.
      Returns:
      the value of the expectedCompletionDate record component
    • startDate

      public LocalDate startDate()
      Returns the value of the startDate record component.
      Returns:
      the value of the startDate record component
    • maxParticipant

      public int maxParticipant()
      Returns the value of the maxParticipant record component.
      Returns:
      the value of the maxParticipant record component
    • technicalRequirements

      public String technicalRequirements()
      Returns the value of the technicalRequirements record component.
      Returns:
      the value of the technicalRequirements record component
    • specialRequirements

      public String specialRequirements()
      Returns the value of the specialRequirements record component.
      Returns:
      the value of the specialRequirements record component
    • professionLevel

      public callofproject.dev.data.project.entity.enums.EProjectProfessionLevel professionLevel()
      Returns the value of the professionLevel record component.
      Returns:
      the value of the professionLevel record component
    • degree

      public callofproject.dev.data.project.entity.enums.EDegree degree()
      Returns the value of the degree record component.
      Returns:
      the value of the degree record component
    • projectLevel

      public callofproject.dev.data.project.entity.enums.EProjectLevel projectLevel()
      Returns the value of the projectLevel record component.
      Returns:
      the value of the projectLevel record component
    • interviewType

      public callofproject.dev.data.project.entity.enums.EInterviewType interviewType()
      Returns the value of the interviewType record component.
      Returns:
      the value of the interviewType record component
    • projectOwnerName

      public String projectOwnerName()
      Returns the value of the projectOwnerName record component.
      Returns:
      the value of the projectOwnerName record component
    • feedbackTimeRange

      public callofproject.dev.data.project.entity.enums.EFeedbackTimeRange feedbackTimeRange()
      Returns the value of the feedbackTimeRange record component.
      Returns:
      the value of the feedbackTimeRange record component
    • projectStatus

      public callofproject.dev.data.project.entity.enums.EProjectStatus projectStatus()
      Returns the value of the projectStatus record component.
      Returns:
      the value of the projectStatus record component
    • projectTags

      public List<callofproject.dev.nosql.entity.ProjectTag> projectTags()
      Returns the value of the projectTags record component.
      Returns:
      the value of the projectTags record component