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 aCategory
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theassociatedResourceTypes
record component.int
final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.key()
Returns the value of thekey
record component.label()
Returns the value of thelabel
record component.mount()
Returns the value of themount
record component.mounts()
pages()
Returns the value of thepages
record component.int
position()
Returns the value of theposition
record component.Returns the value of therequiredPermission
record component.Returns the value of thesearchDelegate
record component.final String
toString()
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 thekey
record component.- Returns:
- the value of the
key
record component
-
label
Returns the value of thelabel
record component.- Returns:
- the value of the
label
record component
-
requiredPermission
Returns the value of therequiredPermission
record component.- Returns:
- the value of the
requiredPermission
record component
-
mount
Returns the value of themount
record component.- Returns:
- the value of the
mount
record component
-
searchDelegate
Returns the value of thesearchDelegate
record component.- Returns:
- the value of the
searchDelegate
record component
-
associatedResourceTypes
Returns the value of theassociatedResourceTypes
record component.- Returns:
- the value of the
associatedResourceTypes
record component
-
position
public int position()Returns the value of theposition
record component.- Returns:
- the value of the
position
record component
-
pages
Returns the value of thepages
record component.- Returns:
- the value of the
pages
record component