Interface GraphQLErrorLocation


public interface GraphQLErrorLocation
GraphQLErrorLocation
Example to create an instance using the builder pattern

     GraphQLErrorLocation graphQLErrorLocation = GraphQLErrorLocation.builder()
             .line(1)
             .column(1)
             .build()
 
  • Method Details

    • getLine

      @NotNull @NotNull Integer getLine()
      Returns:
      line
    • getColumn

      @NotNull @NotNull Integer getColumn()
      Returns:
      column
    • setLine

      void setLine(Integer line)
      set line
      Parameters:
      line - value to be set
    • setColumn

      void setColumn(Integer column)
      set column
      Parameters:
      column - value to be set
    • of

      static GraphQLErrorLocation of()
      factory method
      Returns:
      instance of GraphQLErrorLocation
    • of

      factory method to create a shallow copy GraphQLErrorLocation
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of GraphQLErrorLocation
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static GraphQLErrorLocationBuilder builder()
      builder factory method for GraphQLErrorLocation
      Returns:
      builder
    • builder

      create builder for GraphQLErrorLocation instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withGraphQLErrorLocation

      default <T> T withGraphQLErrorLocation(Function<GraphQLErrorLocation,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<GraphQLErrorLocation> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference