Record Class ExtensionError.ValueParameter
java.lang.Object
java.lang.Record
ca.marcusdunn.jsonlens.path.evaluator.ExtensionError.ValueParameter
- Record Components:
name- the function name
- All Implemented Interfaces:
ExtensionError
- Enclosing interface:
ExtensionError
public static record ExtensionError.ValueParameter(String name)
extends Record
implements ExtensionError
A read-only
FunctionExtension has a ValueType parameter. A ValueType argument can be a
literal, which is not a node of the query argument, and a read-only model cannot build a node
for it. Use a BuildingFunctionExtension for such a function.-
Nested Class Summary
Nested classes/interfaces inherited from interface ExtensionError
ExtensionError.DuplicateName, ExtensionError.InvalidName, ExtensionError.ValueParameter -
Constructor Summary
ConstructorsConstructorDescriptionValueParameter(String name) Creates an instance of aValueParameterrecord 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.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface ExtensionError
message
-
Constructor Details
-
ValueParameter
-
-
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). -
name
-