Record Class NavigationItemDescription
java.lang.Object
java.lang.Record
io.meeds.layout.model.NavigationItemDescription
public record NavigationItemDescription(long nodeId, String name, Map<String,String> labels, String urlName, NavigationItemType type, String pageRef, String url, String target, String icon, boolean visible, ScheduleDescription scheduled, List<String> accessPermissions, String editPermission, List<NavigationItemDescription> children)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionNavigationItemDescription(long nodeId, String name, Map<String, String> labels, String urlName, NavigationItemType type, String pageRef, String url, String target, String icon, boolean visible, ScheduleDescription scheduled, List<String> accessPermissions, String editPermission, List<NavigationItemDescription> children) Creates an instance of aNavigationItemDescriptionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccessPermissionsrecord component.children()Returns the value of thechildrenrecord component.Returns the value of theeditPermissionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.icon()Returns the value of theiconrecord component.labels()Returns the value of thelabelsrecord component.name()Returns the value of thenamerecord component.longnodeId()Returns the value of thenodeIdrecord component.pageRef()Returns the value of thepageRefrecord component.Returns the value of thescheduledrecord component.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.url()Returns the value of theurlrecord component.urlName()Returns the value of theurlNamerecord component.booleanvisible()Returns the value of thevisiblerecord component.
-
Constructor Details
-
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. -
nodeId
public long nodeId()Returns the value of thenodeIdrecord component.- Returns:
- the value of the
nodeIdrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
labels
-
urlName
Returns the value of theurlNamerecord component.- Returns:
- the value of the
urlNamerecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
pageRef
Returns the value of thepageRefrecord component.- Returns:
- the value of the
pageRefrecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
icon
Returns the value of theiconrecord component.- Returns:
- the value of the
iconrecord component
-
visible
public boolean visible()Returns the value of thevisiblerecord component.- Returns:
- the value of the
visiblerecord component
-
scheduled
Returns the value of thescheduledrecord component.- Returns:
- the value of the
scheduledrecord component
-
accessPermissions
-
editPermission
Returns the value of theeditPermissionrecord component.- Returns:
- the value of the
editPermissionrecord component
-
children
Returns the value of thechildrenrecord component.- Returns:
- the value of the
childrenrecord component
-