Package com.evolveum.axiom.lang.antlr
Record Class AxiomQueryError
java.lang.Object
java.lang.Record
com.evolveum.axiom.lang.antlr.AxiomQueryError
public record AxiomQueryError(int lineStart, int lineStop, int charPositionInLineStart, int charPositionInLineStop, String message)
extends Record
Created by Dominik.
-
Constructor Summary
ConstructorDescriptionAxiomQueryError
(int lineStart, int lineStop, int charPositionInLineStart, int charPositionInLineStop, String message) Creates an instance of aAxiomQueryError
record class. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of thecharPositionInLineStart
record component.int
Returns the value of thecharPositionInLineStop
record component.boolean
Indicates whether some other object is "equal to" this one.int
hashCode()
Returns a hash code value for this object.int
Returns the value of thelineStart
record component.int
lineStop()
Returns the value of thelineStop
record component.message()
Returns the value of themessage
record component.toString()
Returns a string representation of this record class.
-
Constructor Details
-
AxiomQueryError
public AxiomQueryError(int lineStart, int lineStop, int charPositionInLineStart, int charPositionInLineStop, String message) Creates an instance of aAxiomQueryError
record class.- Parameters:
lineStart
- the value for thelineStart
record componentlineStop
- the value for thelineStop
record componentcharPositionInLineStart
- the value for thecharPositionInLineStart
record componentcharPositionInLineStop
- the value for thecharPositionInLineStop
record componentmessage
- the value for themessage
record component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
hashCode
public int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. -
lineStart
public int lineStart()Returns the value of thelineStart
record component.- Returns:
- the value of the
lineStart
record component
-
lineStop
public int lineStop()Returns the value of thelineStop
record component.- Returns:
- the value of the
lineStop
record component
-
charPositionInLineStart
public int charPositionInLineStart()Returns the value of thecharPositionInLineStart
record component.- Returns:
- the value of the
charPositionInLineStart
record component
-
charPositionInLineStop
public int charPositionInLineStop()Returns the value of thecharPositionInLineStop
record component.- Returns:
- the value of the
charPositionInLineStop
record component
-
message
Returns the value of themessage
record component.- Returns:
- the value of the
message
record component
-