Record Class ConfigureAutomationResource.ConfigBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.automation.impl.action.ConfigureAutomationResource.ConfigBean
- Enclosing class:
ConfigureAutomationResource
-
Constructor Summary
ConstructorsConstructorDescriptionConfigBean(String entityName, @Nullable String key, @Nullable Long version) Creates an instance of aConfigBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theentityNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable Stringkey()Returns the value of thekeyrecord component.final StringtoString()Returns a string representation of this record class.@Nullable Longversion()Returns the value of theversionrecord component.
-
Constructor Details
-
ConfigBean
public ConfigBean(String entityName, @Nullable @Nullable String key, @Nullable @Nullable Long version) Creates an instance of aConfigBeanrecord class.- Parameters:
entityName- the value for theentityNamerecord componentkey- the value for thekeyrecord componentversion- the value for theversionrecord component
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
entityName
Returns the value of theentityNamerecord component.- Returns:
- the value of the
entityNamerecord component
-
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-