Record Class ViewBreadcrumbs.BreadcrumbsNavigationContext
java.lang.Object
java.lang.Record
io.jmix.tabbedmode.component.breadcrumbs.ViewBreadcrumbs.BreadcrumbsNavigationContext
- Enclosing class:
- ViewBreadcrumbs
public static record ViewBreadcrumbs.BreadcrumbsNavigationContext(ViewBreadcrumbs breadcrumbs, View<?> view)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBreadcrumbsNavigationContext
(ViewBreadcrumbs breadcrumbs, View<?> view) Creates an instance of aBreadcrumbsNavigationContext
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebreadcrumbs
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.View<?>
view()
Returns the value of theview
record component.
-
Constructor Details
-
BreadcrumbsNavigationContext
Creates an instance of aBreadcrumbsNavigationContext
record class.- Parameters:
breadcrumbs
- the value for thebreadcrumbs
record componentview
- the value for theview
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)
. -
breadcrumbs
Returns the value of thebreadcrumbs
record component.- Returns:
- the value of the
breadcrumbs
record component
-
view
Returns the value of theview
record component.- Returns:
- the value of the
view
record component
-