Package su.onno.ui
Record Class ProcessController.DefinitionView
java.lang.Object
java.lang.Record
su.onno.ui.ProcessController.DefinitionView
- Enclosing class:
ProcessController
public static record ProcessController.DefinitionView(String key, String title, int version, String payloadType, ProcessGraphDescriptor graph)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDefinitionView(String key, String title, int version, String payloadType, ProcessGraphDescriptor graph) Creates an instance of aDefinitionViewrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.graph()Returns the value of thegraphrecord component.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.Returns the value of thepayloadTyperecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.intversion()Returns the value of theversionrecord component.
-
Constructor Details
-
DefinitionView
public DefinitionView(String key, String title, int version, String payloadType, ProcessGraphDescriptor graph) Creates an instance of aDefinitionViewrecord class.- Parameters:
key- the value for thekeyrecord componenttitle- the value for thetitlerecord componentversion- the value for theversionrecord componentpayloadType- the value for thepayloadTyperecord componentgraph- the value for thegraphrecord 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 '=='. -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
version
public int version()Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
payloadType
Returns the value of thepayloadTyperecord component.- Returns:
- the value of the
payloadTyperecord component
-
graph
Returns the value of thegraphrecord component.- Returns:
- the value of the
graphrecord component
-