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 SummaryConstructorsConstructorDescriptionAxiomQueryError(int lineStart, int lineStop, int charPositionInLineStart, int charPositionInLineStop, String message) Creates an instance of aAxiomQueryErrorrecord class.
- 
Method SummaryModifier 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- 
AxiomQueryErrorpublic AxiomQueryError(int lineStart, int lineStop, int charPositionInLineStart, int charPositionInLineStop, String message) Creates an instance of aAxiomQueryErrorrecord class.- Parameters:
- lineStart- the value for the- lineStartrecord component
- lineStop- the value for the- lineStoprecord component
- charPositionInLineStart- the value for the- charPositionInLineStartrecord component
- charPositionInLineStop- the value for the- charPositionInLineStoprecord component
- message- the value for the- messagerecord component
 
 
- 
- 
Method Details- 
equalsIndicates 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 '=='.
- 
hashCodepublic int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
toStringReturns 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.
- 
lineStartpublic int lineStart()Returns the value of thelineStartrecord component.- Returns:
- the value of the lineStartrecord component
 
- 
lineStoppublic int lineStop()Returns the value of thelineStoprecord component.- Returns:
- the value of the lineStoprecord component
 
- 
charPositionInLineStartpublic int charPositionInLineStart()Returns the value of thecharPositionInLineStartrecord component.- Returns:
- the value of the charPositionInLineStartrecord component
 
- 
charPositionInLineStoppublic int charPositionInLineStop()Returns the value of thecharPositionInLineStoprecord component.- Returns:
- the value of the charPositionInLineStoprecord component
 
- 
messageReturns the value of themessagerecord component.- Returns:
- the value of the messagerecord component
 
 
-