Record Class UserParameterValue
java.lang.Object
java.lang.Record
com.suncode.pwfl.userparameter.UserParameterValue
- Record Components:
key- parameter keytype- parameter typevalue- effective value: the user's own choice, otherwise the default list item or the single valuevalues- all available values; forUserParameterType.LISTthe whole list, otherwise onlyvalue
-
Constructor Summary
ConstructorsConstructorDescriptionUserParameterValue(String key, UserParameterType type, String value, List<String> values) Creates an instance of aUserParameterValuerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.value()Returns the value of thevaluerecord component.values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
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). -
key
-
type
-
value
-
values
-