Package overit.geocall.ux.platform
Record Class Route
java.lang.Object
java.lang.Record
overit.geocall.ux.platform.Route
- Record Components:
routeName- The name of the route to use into url to reach a specific pageresourcePathId- The specific page expressed by xml file's geocallian pathnodeIdentifier- The unique path that identify the menu node. from which retrieve its position inside the menu.isEmbedded- Define if the page is loaded internal from an xml definition or if is an external static resource that will be wrapped into an iFrame
public record Route(String routeName, String resourcePathId, String nodeIdentifier, boolean isEmbedded)
extends Record
A record class that basically is a pojo class for the Route object.
-
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.booleanReturns the value of theisEmbeddedrecord component.Returns the value of thenodeIdentifierrecord component.Returns the value of theresourcePathIdrecord component.Returns the value of therouteNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Route
-
Route
Creates an instance of aRouterecord class.- Parameters:
routeName- the value for therouteNamerecord componentresourcePathId- the value for theresourcePathIdrecord componentnodeIdentifier- the value for thenodeIdentifierrecord componentisEmbedded- the value for theisEmbeddedrecord 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 '=='. -
routeName
Returns the value of therouteNamerecord component.- Returns:
- the value of the
routeNamerecord component
-
resourcePathId
Returns the value of theresourcePathIdrecord component.- Returns:
- the value of the
resourcePathIdrecord component
-
nodeIdentifier
Returns the value of thenodeIdentifierrecord component.- Returns:
- the value of the
nodeIdentifierrecord component
-
isEmbedded
public boolean isEmbedded()Returns the value of theisEmbeddedrecord component.- Returns:
- the value of the
isEmbeddedrecord component
-