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
ConstructorsConstructorDescriptionAxiomQueryError(int lineStart, int lineStop, int charPositionInLineStart, int charPositionInLineStop, String message) Creates an instance of aAxiomQueryErrorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thecharPositionInLineStartrecord component.intReturns the value of thecharPositionInLineStoprecord component.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.intReturns the value of thelineStartrecord component.intlineStop()Returns the value of thelineStoprecord component.message()Returns the value of themessagerecord 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 aAxiomQueryErrorrecord class.- Parameters:
lineStart- the value for thelineStartrecord componentlineStop- the value for thelineStoprecord componentcharPositionInLineStart- the value for thecharPositionInLineStartrecord componentcharPositionInLineStop- the value for thecharPositionInLineStoprecord componentmessage- the value for themessagerecord 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 thelineStartrecord component.- Returns:
- the value of the
lineStartrecord component
-
lineStop
public int lineStop()Returns the value of thelineStoprecord component.- Returns:
- the value of the
lineStoprecord component
-
charPositionInLineStart
public int charPositionInLineStart()Returns the value of thecharPositionInLineStartrecord component.- Returns:
- the value of the
charPositionInLineStartrecord component
-
charPositionInLineStop
public int charPositionInLineStop()Returns the value of thecharPositionInLineStoprecord component.- Returns:
- the value of the
charPositionInLineStoprecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-