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

    Constructors
    Constructor
    Description
    AxiomQueryError(int lineStart, int lineStop, int charPositionInLineStart, int charPositionInLineStop, String message)
    Creates an instance of a AxiomQueryError record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the charPositionInLineStart record component.
    int
    Returns the value of the charPositionInLineStop record component.
    boolean
    Indicates whether some other object is "equal to" this one.
    int
    Returns a hash code value for this object.
    int
    Returns the value of the lineStart record component.
    int
    Returns the value of the lineStop record component.
    Returns the value of the message record component.
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AxiomQueryError

      public AxiomQueryError(int lineStart, int lineStop, int charPositionInLineStart, int charPositionInLineStop, String message)
      Creates an instance of a AxiomQueryError record class.
      Parameters:
      lineStart - the value for the lineStart record component
      lineStop - the value for the lineStop record component
      charPositionInLineStart - the value for the charPositionInLineStart record component
      charPositionInLineStop - the value for the charPositionInLineStop record component
      message - the value for the message record component
  • Method Details

    • equals

      public boolean equals(Object obj)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      obj - the object with which to compare
      Returns:
      true if this object is the same as the obj argument; false otherwise.
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • toString

      public String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • lineStart

      public int lineStart()
      Returns the value of the lineStart record component.
      Returns:
      the value of the lineStart record component
    • lineStop

      public int lineStop()
      Returns the value of the lineStop record component.
      Returns:
      the value of the lineStop record component
    • charPositionInLineStart

      public int charPositionInLineStart()
      Returns the value of the charPositionInLineStart record component.
      Returns:
      the value of the charPositionInLineStart record component
    • charPositionInLineStop

      public int charPositionInLineStop()
      Returns the value of the charPositionInLineStop record component.
      Returns:
      the value of the charPositionInLineStop record component
    • message

      public String message()
      Returns the value of the message record component.
      Returns:
      the value of the message record component