Record Class SearchProjectCond
java.lang.Object
java.lang.Record
inha.git.project.api.controller.dto.request.SearchProjectCond
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecategoryIdx
record component.Returns the value of thecollegeIdx
record component.Returns the value of thedepartmentIdx
record component.final boolean
Indicates whether some other object is "equal to" this one.fieldIdx()
Returns the value of thefieldIdx
record component.final int
hashCode()
Returns a hash code value for this object.isPatent()
Returns the value of theisPatent
record component.Returns the value of thesemesterIdx
record component.subject()
Returns the value of thesubject
record component.title()
Returns the value of thetitle
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
SearchProjectCond
public SearchProjectCond(Integer collegeIdx, Integer departmentIdx, Integer semesterIdx, Integer categoryIdx, Integer fieldIdx, String subject, String title, Boolean isPatent) Creates an instance of aSearchProjectCond
record class.- Parameters:
collegeIdx
- the value for thecollegeIdx
record componentdepartmentIdx
- the value for thedepartmentIdx
record componentsemesterIdx
- the value for thesemesterIdx
record componentcategoryIdx
- the value for thecategoryIdx
record componentfieldIdx
- the value for thefieldIdx
record componentsubject
- the value for thesubject
record componenttitle
- the value for thetitle
record componentisPatent
- the value for theisPatent
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
collegeIdx
Returns the value of thecollegeIdx
record component.- Returns:
- the value of the
collegeIdx
record component
-
departmentIdx
Returns the value of thedepartmentIdx
record component.- Returns:
- the value of the
departmentIdx
record component
-
semesterIdx
Returns the value of thesemesterIdx
record component.- Returns:
- the value of the
semesterIdx
record component
-
categoryIdx
Returns the value of thecategoryIdx
record component.- Returns:
- the value of the
categoryIdx
record component
-
fieldIdx
Returns the value of thefieldIdx
record component.- Returns:
- the value of the
fieldIdx
record component
-
subject
Returns the value of thesubject
record component.- Returns:
- the value of the
subject
record component
-
title
Returns the value of thetitle
record component.- Returns:
- the value of the
title
record component
-
isPatent
Returns the value of theisPatent
record component.- Returns:
- the value of the
isPatent
record component
-