Record Class SearchQuestionCond
java.lang.Object
java.lang.Record
inha.git.question.api.controller.dto.request.SearchQuestionCond
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecategoryIdxrecord component.Returns the value of thecollegeIdxrecord component.Returns the value of thedepartmentIdxrecord component.final booleanIndicates whether some other object is "equal to" this one.fieldIdx()Returns the value of thefieldIdxrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thesemesterIdxrecord component.subject()Returns the value of thesubjectrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SearchQuestionCond
public SearchQuestionCond(Integer collegeIdx, Integer departmentIdx, Integer semesterIdx, Integer categoryIdx, Integer fieldIdx, String subject, String title) Creates an instance of aSearchQuestionCondrecord class.- Parameters:
collegeIdx- the value for thecollegeIdxrecord componentdepartmentIdx- the value for thedepartmentIdxrecord componentsemesterIdx- the value for thesemesterIdxrecord componentcategoryIdx- the value for thecategoryIdxrecord componentfieldIdx- the value for thefieldIdxrecord componentsubject- the value for thesubjectrecord componenttitle- the value for thetitlerecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
collegeIdx
Returns the value of thecollegeIdxrecord component.- Returns:
- the value of the
collegeIdxrecord component
-
departmentIdx
Returns the value of thedepartmentIdxrecord component.- Returns:
- the value of the
departmentIdxrecord component
-
semesterIdx
Returns the value of thesemesterIdxrecord component.- Returns:
- the value of the
semesterIdxrecord component
-
categoryIdx
Returns the value of thecategoryIdxrecord component.- Returns:
- the value of the
categoryIdxrecord component
-
fieldIdx
Returns the value of thefieldIdxrecord component.- Returns:
- the value of the
fieldIdxrecord component
-
subject
Returns the value of thesubjectrecord component.- Returns:
- the value of the
subjectrecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-