Record Class SystemParameterDto
java.lang.Object
java.lang.Record
com.suncode.pwfl.administration.configuration.SystemParameterDto
-
Constructor Summary
ConstructorsConstructorDescriptionSystemParameterDto(ParameterType parameterType, String valueString, Long valueLong, List<String> comboValues, Boolean valueBool, Date valueDate, Double valueDouble) Creates an instance of aSystemParameterDtorecord class.SystemParameterDto(SystemParameter systemParameter) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomboValuesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theparameterTyperecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevalueBoolrecord component.Returns the value of thevalueDaterecord component.Returns the value of thevalueDoublerecord component.Returns the value of thevalueLongrecord component.Returns the value of thevalueStringrecord component.
-
Constructor Details
-
SystemParameterDto
-
SystemParameterDto
public SystemParameterDto(ParameterType parameterType, String valueString, Long valueLong, List<String> comboValues, Boolean valueBool, Date valueDate, Double valueDouble) Creates an instance of aSystemParameterDtorecord class.- Parameters:
parameterType- the value for theparameterTyperecord componentvalueString- the value for thevalueStringrecord componentvalueLong- the value for thevalueLongrecord componentcomboValues- the value for thecomboValuesrecord componentvalueBool- the value for thevalueBoolrecord componentvalueDate- the value for thevalueDaterecord componentvalueDouble- the value for thevalueDoublerecord component
-
-
Method Details
-
getDescryptedValueString
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
parameterType
Returns the value of theparameterTyperecord component.- Returns:
- the value of the
parameterTyperecord component
-
valueString
Returns the value of thevalueStringrecord component.- Returns:
- the value of the
valueStringrecord component
-
valueLong
Returns the value of thevalueLongrecord component.- Returns:
- the value of the
valueLongrecord component
-
comboValues
Returns the value of thecomboValuesrecord component.- Returns:
- the value of the
comboValuesrecord component
-
valueBool
Returns the value of thevalueBoolrecord component.- Returns:
- the value of the
valueBoolrecord component
-
valueDate
Returns the value of thevalueDaterecord component.- Returns:
- the value of the
valueDaterecord component
-
valueDouble
Returns the value of thevalueDoublerecord component.- Returns:
- the value of the
valueDoublerecord component
-