Class GraphQLEntrypointImpl

java.lang.Object
se.liu.ida.hefquin.engine.wrappers.graphql.data.impl.GraphQLEntrypointImpl
All Implemented Interfaces:
GraphQLEntrypoint

public class GraphQLEntrypointImpl extends Object implements GraphQLEntrypoint
  • Field Details

  • Constructor Details

  • Method Details

    • getFieldName

      public String getFieldName()
      Specified by:
      getFieldName in interface GraphQLEntrypoint
      Returns:
      the query field name
    • getArgumentDefinitions

      public Map<String,String> getArgumentDefinitions()
      Specified by:
      getArgumentDefinitions in interface GraphQLEntrypoint
      Returns:
      the argument definitions for the entrypoint as a map consisting of argument names mapped to GraphQL value types. (argument value types can include non-null exclamations)
    • getTypeName

      public String getTypeName()
      Specified by:
      getTypeName in interface GraphQLEntrypoint
      Returns:
      the name of the GraphQL object type that the entrypoint field fetches.
    • getEntrypointAlias

      public String getEntrypointAlias(int counter)
      Specified by:
      getEntrypointAlias in interface GraphQLEntrypoint
      Returns:
      an aliased version of the entrypoint where @param counter is used to make the entrypoint alias unique.