Record Class Conversion.Invalid<M>
java.lang.Object
java.lang.Record
org.inspirenxe.strata.api.state.Conversion.Invalid<M>
- Type Parameters:
M- the type the model's value would have had- Record Components:
message- why the value cannot be converted, as the user should read it, such as "Enter a number from 1 to 64"
- All Implemented Interfaces:
Conversion<M>
- Enclosing interface:
Conversion<M>
A conversion that failed.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Conversion
Conversion.Invalid<M>, Conversion.Valid<M> -
Constructor Summary
Constructors -
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.message()Returns the value of themessagerecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface Conversion
isValid
-
Constructor Details
-
Invalid
Checks the message.
-
-
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). -
message
-