Record Class TermsConditionResource.TermsRequestData
java.lang.Object
java.lang.Record
ch.tocco.nice2.widget.impl.terms.TermsConditionResource.TermsRequestData
- Enclosing class:
TermsConditionResource
-
Constructor Summary
ConstructorsConstructorDescriptionTermsRequestData(String currentEntityModel, String currentEntityKey, String widgetConfigKey) Creates an instance of aTermsRequestDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecurrentEntityKeyrecord component.Returns the value of thecurrentEntityModelrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of thewidgetConfigKeyrecord component.
-
Constructor Details
-
TermsRequestData
Creates an instance of aTermsRequestDatarecord class.- Parameters:
currentEntityModel- the value for thecurrentEntityModelrecord componentcurrentEntityKey- the value for thecurrentEntityKeyrecord componentwidgetConfigKey- the value for thewidgetConfigKeyrecord 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). -
currentEntityModel
Returns the value of thecurrentEntityModelrecord component.- Returns:
- the value of the
currentEntityModelrecord component
-
currentEntityKey
Returns the value of thecurrentEntityKeyrecord component.- Returns:
- the value of the
currentEntityKeyrecord component
-
widgetConfigKey
Returns the value of thewidgetConfigKeyrecord component.- Returns:
- the value of the
widgetConfigKeyrecord component
-