Record Class Category
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.web.nav.Category
- All Implemented Interfaces:
Comparable<Category>
public record Category(String key, String label, @Nullable PermissionType requiredPermission, @Nullable Mount mount, @Nullable ItemSearchDelegate searchDelegate, Set<ResourceType> associatedResourceTypes, int position, List<Page> pages)
extends Record
implements Comparable<Category>
-
Constructor Summary
ConstructorsConstructorDescriptionCategory(String key, String label, PermissionType requiredPermission, Mount mount, ItemSearchDelegate searchDelegate, Set<ResourceType> associatedResourceTypes, int position, List<Page> pages) Creates an instance of aCategoryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theassociatedResourceTypesrecord component.intfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.label()Returns the value of thelabelrecord component.mount()Returns the value of themountrecord component.mounts()pages()Returns the value of thepagesrecord component.intposition()Returns the value of thepositionrecord component.Returns the value of therequiredPermissionrecord component.Returns the value of thesearchDelegaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
mounts
-
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 '=='. -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
requiredPermission
Returns the value of therequiredPermissionrecord component.- Returns:
- the value of the
requiredPermissionrecord component
-
mount
Returns the value of themountrecord component.- Returns:
- the value of the
mountrecord component
-
searchDelegate
Returns the value of thesearchDelegaterecord component.- Returns:
- the value of the
searchDelegaterecord component
-
associatedResourceTypes
Returns the value of theassociatedResourceTypesrecord component.- Returns:
- the value of the
associatedResourceTypesrecord component
-
position
public int position()Returns the value of thepositionrecord component.- Returns:
- the value of the
positionrecord component
-
pages
Returns the value of thepagesrecord component.- Returns:
- the value of the
pagesrecord component