Record Class GuideDestination
java.lang.Object
java.lang.Record
ke.ric.api.guide.GuideDestination
-
Constructor Summary
ConstructorsConstructorDescriptionGuideDestination(String guideId, String route) Creates an instance of aGuideDestinationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.guideId()Returns the value of theguideIdrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of thepageIndexrecord component.route()Returns the value of therouterecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GuideDestination
-
GuideDestination
Creates an instance of aGuideDestinationrecord class.- Parameters:
guideId- the value for theguideIdrecord componentroute- the value for therouterecord componentpageIndex- the value for thepageIndexrecord componentstate- the value for thestaterecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
guideId
Returns the value of theguideIdrecord component.- Returns:
- the value of the
guideIdrecord component
-
route
Returns the value of therouterecord component.- Returns:
- the value of the
routerecord component
-
pageIndex
public int pageIndex()Returns the value of thepageIndexrecord component.- Returns:
- the value of the
pageIndexrecord component
-
state
-