Package io.meeds.task.model
Record Class TaskFilterSetting
java.lang.Object
java.lang.Record
io.meeds.task.model.TaskFilterSetting
-
Constructor Summary
ConstructorsConstructorDescriptionTaskFilterSetting(long projectId, String tabView, String groupBy, String orderBy) Creates an instance of aTaskFilterSettingrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.groupBy()Returns the value of thegroupByrecord component.final inthashCode()Returns a hash code value for this object.orderBy()Returns the value of theorderByrecord component.longReturns the value of theprojectIdrecord component.tabView()Returns the value of thetabViewrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TaskFilterSetting
Creates an instance of aTaskFilterSettingrecord class.- Parameters:
projectId- the value for theprojectIdrecord componenttabView- the value for thetabViewrecord componentgroupBy- the value for thegroupByrecord componentorderBy- the value for theorderByrecord 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
public long projectId()Returns the value of theprojectIdrecord component.- Returns:
- the value of the
projectIdrecord component
-
tabView
Returns the value of thetabViewrecord component.- Returns:
- the value of the
tabViewrecord component
-
groupBy
Returns the value of thegroupByrecord component.- Returns:
- the value of the
groupByrecord component
-
orderBy
Returns the value of theorderByrecord component.- Returns:
- the value of the
orderByrecord component
-