Record Class MergePatchError.ValueNotRepresentable
java.lang.Object
java.lang.Record
ca.marcusdunn.jsonlens.mergepatch.MergePatchError.ValueNotRepresentable
- Record Components:
path- the location of the value in the patch document. The number can be in the value, for example in an array.
- All Implemented Interfaces:
MergePatchError
- Enclosing interface:
MergePatchError
public static record MergePatchError.ValueNotRepresentable(List<String> path)
extends Record
implements MergePatchError
The target model cannot hold a number of a value of the patch, for example
1e99999999999
in a Jackson tree.-
Nested Class Summary
Nested classes/interfaces inherited from interface MergePatchError
MergePatchError.DuplicateName, MergePatchError.TargetDuplicateName, MergePatchError.ValueNotRepresentable -
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.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface MergePatchError
message
-
Constructor Details
-
ValueNotRepresentable
-
-
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). -
path
-