java.lang.Object
com.graphql_java_generator.domain.client.allGraphQLCases.TestExtScalar

public class TestExtScalar extends Object
############################################################################################################# ############## TEST CASE FOR ISSUES ####################################################################### ############################################################################################################# ############################ test for issue #35 But removed from this GraphQL schema as enum values in Directives are not supported by graphql-java v14.0 on server side It works Ok on client side directive @relation( name: String direction: direction ) on FIELD_DEFINITION enum direction { IN OUT } ############################ ############################ test for issue #36
Author:
generated by graphql-java-generator
See Also:
  • Constructor Details

    • TestExtScalar

      public TestExtScalar()
  • Method Details

    • setBad

      public void setBad(Integer bad)
    • getBad

      public Integer getBad()
    • set__typename

      public void set__typename(String __typename)
    • get__typename

      public String get__typename()
    • setAliasValue

      public void setAliasValue(String aliasName, Object aliasDeserializedValue)
      This method is called during the json deserialization process, by the GraphQLObjectMapper, each time an alias value is read from the json.
      Parameters:
      aliasName -
      aliasDeserializedValue -
    • getAliasValue

      public Object getAliasValue(String alias)
      Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.
      This method should not be used for Custom Scalars, as the parser doesn't know if this alias is a custom scalar, and which custom scalar to use at deserialization time. In most case, a value will then be provided by this method with a basis json deserialization, but this value won't be the proper custom scalar value.
      Parameters:
      alias -
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static TestExtScalar.Builder builder()