Record Class ViewBreadcrumbs.ViewInfo
java.lang.Object
java.lang.Record
io.jmix.tabbedmode.component.breadcrumbs.ViewBreadcrumbs.ViewInfo
- Record Components:
view- theViewinstancelocation- theLocationassociated with theViewinstance
- Enclosing class:
- ViewBreadcrumbs
public static record ViewBreadcrumbs.ViewInfo(View<?> view, com.vaadin.flow.router.Location location)
extends Record
Represents the information about a
View and its associated Location.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.vaadin.flow.router.Locationlocation()Returns the value of thelocationrecord component.final StringtoString()Returns a string representation of this record class.View<?>view()Returns the value of theviewrecord component.
-
Constructor Details
-
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). -
view
Returns the value of theviewrecord component.- Returns:
- the value of the
viewrecord component
-
location
public com.vaadin.flow.router.Location location()Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-