Record Class TermsConditionResource.TermsData
java.lang.Object
java.lang.Record
ch.tocco.nice2.widget.impl.terms.TermsConditionResource.TermsData
- Enclosing class:
TermsConditionResource
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckbox()Returns the value of thecheckboxrecord component.final 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.@Nullable Stringlink()Returns the value of thelinkrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
NONE
-
-
Constructor Details
-
TermsData
Creates an instance of aTermsDatarecord class.- Parameters:
key- the value for thekeyrecord componentlabel- the value for thelabelrecord componentcheckbox- the value for thecheckboxrecord componentlink- the value for thelinkrecord 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. -
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
-
checkbox
public boolean checkbox()Returns the value of thecheckboxrecord component.- Returns:
- the value of the
checkboxrecord component
-
link
Returns the value of thelinkrecord component.- Returns:
- the value of the
linkrecord component
-