Record Class FunctionRegistrationError.DuplicateName
java.lang.Object
java.lang.Record
ca.marcusdunn.jsonlens.path.parser.FunctionRegistrationError.DuplicateName
- Record Components:
name- the name
- All Implemented Interfaces:
FunctionRegistrationError
- Enclosing interface:
FunctionRegistrationError
public static record FunctionRegistrationError.DuplicateName(String name)
extends Record
implements FunctionRegistrationError
Two functions have the same name. This includes the name of a standard function.
-
Nested Class Summary
Nested classes/interfaces inherited from interface FunctionRegistrationError
FunctionRegistrationError.DuplicateName, FunctionRegistrationError.InvalidName -
Constructor Summary
ConstructorsConstructorDescriptionDuplicateName(String name) Creates an instance of aDuplicateNamerecord 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 FunctionRegistrationError
message
-
Constructor Details
-
DuplicateName
-
-
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
-