Record Class SearchCond
java.lang.Object
java.lang.Record
inha.git.statistics.api.controller.dto.request.SearchCond
-
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.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SearchCond
public SearchCond(Integer collegeIdx, Integer departmentIdx, Integer semesterIdx, Integer fieldIdx, Integer categoryIdx) Creates an instance of aSearchCondrecord class.- Parameters:
collegeIdx- the value for thecollegeIdxrecord componentdepartmentIdx- the value for thedepartmentIdxrecord componentsemesterIdx- the value for thesemesterIdxrecord componentfieldIdx- the value for thefieldIdxrecord componentcategoryIdx- the value for thecategoryIdxrecord 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
-
fieldIdx
Returns the value of thefieldIdxrecord component.- Returns:
- the value of the
fieldIdxrecord component
-
categoryIdx
Returns the value of thecategoryIdxrecord component.- Returns:
- the value of the
categoryIdxrecord component
-