Record Class CorrespondenceSettings.SignatureBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.correspondence.impl.action.CorrespondenceSettings.SignatureBean
- Enclosing class:
CorrespondenceSettings
-
Constructor Summary
ConstructorsConstructorDescriptionSignatureBean(@Nullable String name, @Nullable String function, boolean hideImage, @Nullable String signatureKey) Creates an instance of aSignatureBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@Nullable Stringfunction()Returns the value of thefunctionrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thehideImagerecord component.@Nullable Stringname()Returns the value of thenamerecord component.@Nullable StringReturns the value of thesignatureKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SignatureBean
public SignatureBean(@Nullable @Nullable String name, @Nullable @Nullable String function, boolean hideImage, @Nullable @Nullable String signatureKey) Creates an instance of aSignatureBeanrecord class.- Parameters:
name- the value for thenamerecord componentfunction- the value for thefunctionrecord componenthideImage- the value for thehideImagerecord componentsignatureKey- the value for thesignatureKeyrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
function
Returns the value of thefunctionrecord component.- Returns:
- the value of the
functionrecord component
-
hideImage
public boolean hideImage()Returns the value of thehideImagerecord component.- Returns:
- the value of the
hideImagerecord component
-
signatureKey
Returns the value of thesignatureKeyrecord component.- Returns:
- the value of the
signatureKeyrecord component
-