Record Class ViewBreadcrumbs.ViewInfo
java.lang.Object
java.lang.Record
io.jmix.tabbedmode.component.breadcrumbs.ViewBreadcrumbs.ViewInfo
- Enclosing class:
- ViewBreadcrumbs
-
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
-
ViewInfo
Creates an instance of aViewInforecord class.- Parameters:
view- the value for theviewrecord componentlocation- the value for thelocationrecord 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). -
view
Returns the value of theviewrecord component.- Returns:
- the value of the
viewrecord component
-
location
@Nullable public com.vaadin.flow.router.Location location()Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-