Class MyQueryType

java.lang.Object
org.allGraphQLCases.client2.MyQueryType
All Implemented Interfaces:
GraphQLRequestObject

public class MyQueryType extends Object implements GraphQLRequestObject
This is a description to describe the type MyQueryType on two lines
Author:
generated by graphql-java-generator
See Also:
  • Constructor Details

    • MyQueryType

      public MyQueryType()
  • Method Details

    • setWithoutParameters

      public void setWithoutParameters(List<Character> withoutParameters)
      This is a description to describe the field withoutParameters on two lines
    • getWithoutParameters

      public List<Character> getWithoutParameters()
      This is a description to describe the field withoutParameters on two lines
    • setWithOneOptionalParam

      public void setWithOneOptionalParam(Character withOneOptionalParam)
    • getWithOneOptionalParam

      public Character getWithOneOptionalParam()
    • setWithOneMandatoryParam

      public void setWithOneMandatoryParam(Character withOneMandatoryParam)
    • getWithOneMandatoryParam

      public Character getWithOneMandatoryParam()
    • setWithOneMandatoryParamDefaultValue

      public void setWithOneMandatoryParamDefaultValue(Integer withOneMandatoryParamDefaultValue)
    • getWithOneMandatoryParamDefaultValue

      public Integer getWithOneMandatoryParamDefaultValue()
    • setWithTwoMandatoryParamDefaultVal

      public void setWithTwoMandatoryParamDefaultVal(Droid withTwoMandatoryParamDefaultVal)
    • getWithTwoMandatoryParamDefaultVal

      public Droid getWithTwoMandatoryParamDefaultVal()
    • setWithEnum

      public void setWithEnum(Character withEnum)
    • getWithEnum

      public Character getWithEnum()
    • setWithListOfList

      public void setWithListOfList(AllFieldCases withListOfList)
    • getWithListOfList

      public AllFieldCases getWithListOfList()
    • setWithList

      public void setWithList(List<Character> withList)
      ################################################################################ # withList return a list of Characters, matching the given list of CharacterInput. # The name of the first Character returned is replaced by the given firstName. # All ids are generated
    • getWithList

      public List<Character> getWithList()
      ################################################################################ # withList return a list of Characters, matching the given list of CharacterInput. # The name of the first Character returned is replaced by the given firstName. # All ids are generated
    • setAllFieldCases

      public void setAllFieldCases(AllFieldCases allFieldCases)
      ################################################################################ # Complementary tests with the AllFieldCases Object
    • getAllFieldCases

      public AllFieldCases getAllFieldCases()
      ################################################################################ # Complementary tests with the AllFieldCases Object
    • setUnionTest

      public void setUnionTest(List<AnyCharacter> unionTest)
      ################################################################################ # Test for unions
    • getUnionTest

      public List<AnyCharacter> getUnionTest()
      ################################################################################ # Test for unions
    • setError

      public void setError(Character error)
      ################################################################################ # error always returns an error! (used to check the error management)
    • getError

      public Character getError()
      ################################################################################ # error always returns an error! (used to check the error management)
    • setABreak

      public void setABreak(_break aBreak)
      Check for GraphQL identifier that are java keywords
    • getABreak

      public _break getABreak()
      Check for GraphQL identifier that are java keywords
    • setDirectiveOnQuery

      public void setDirectiveOnQuery(List<String> directiveOnQuery)
      # Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery query. # List is null if the directive is not present.
    • getDirectiveOnQuery

      public List<String> getDirectiveOnQuery()
      # Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery query. # List is null if the directive is not present.
    • setDirectiveOnField

      public void setDirectiveOnField(Character directiveOnField)
      # Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery. # List is null if the directive is not present.
    • getDirectiveOnField

      public Character getDirectiveOnField()
      # Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery. # List is null if the directive is not present.
    • setReturnEnum

      public void setReturnEnum(EnumWithReservedJavaKeywordAsValues returnEnum)
    • getReturnEnum

      public EnumWithReservedJavaKeywordAsValues getReturnEnum()
    • setReturnMandatoryEnum

      public void setReturnMandatoryEnum(EnumWithReservedJavaKeywordAsValues returnMandatoryEnum)
    • getReturnMandatoryEnum

      public EnumWithReservedJavaKeywordAsValues getReturnMandatoryEnum()
    • setReturnListOfEnums

      public void setReturnListOfEnums(List<EnumWithReservedJavaKeywordAsValues> returnListOfEnums)
    • getReturnListOfEnums

      public List<EnumWithReservedJavaKeywordAsValues> getReturnListOfEnums()
    • setReturnListOfListOfEnums

      public void setReturnListOfListOfEnums(List<List<EnumWithReservedJavaKeywordAsValues>> returnListOfListOfEnums)
    • getReturnListOfListOfEnums

      public List<List<EnumWithReservedJavaKeywordAsValues>> getReturnListOfListOfEnums()
    • setReturnListOfMandatoryEnums

      public void setReturnListOfMandatoryEnums(List<EnumWithReservedJavaKeywordAsValues> returnListOfMandatoryEnums)
    • getReturnListOfMandatoryEnums

      public List<EnumWithReservedJavaKeywordAsValues> getReturnListOfMandatoryEnums()
    • setReturnMandatoryListOfEnums

      public void setReturnMandatoryListOfEnums(List<EnumWithReservedJavaKeywordAsValues> returnMandatoryListOfEnums)
    • getReturnMandatoryListOfEnums

      public List<EnumWithReservedJavaKeywordAsValues> getReturnMandatoryListOfEnums()
    • setReturnMandatoryListOfMandatoryEnums

      public void setReturnMandatoryListOfMandatoryEnums(List<EnumWithReservedJavaKeywordAsValues> returnMandatoryListOfMandatoryEnums)
    • getReturnMandatoryListOfMandatoryEnums

      public List<EnumWithReservedJavaKeywordAsValues> getReturnMandatoryListOfMandatoryEnums()
    • setConnectionWithoutParameters

      public void setConnectionWithoutParameters(CharacterConnection connectionWithoutParameters)
    • getConnectionWithoutParameters

      public CharacterConnection getConnectionWithoutParameters()
    • setConnectionOnHuman

      public void setConnectionOnHuman(HumanConnection connectionOnHuman)
    • getConnectionOnHuman

      public HumanConnection getConnectionOnHuman()
    • setCheckOverriddenController

      public void setCheckOverriddenController(String checkOverriddenController)
    • getCheckOverriddenController

      public String getCheckOverriddenController()
    • setIssue53

      public void setIssue53(Date issue53)
      #issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
    • getIssue53

      public Date getIssue53()
      #issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
    • setIssue200

      public void setIssue200(Boolean issue200)
    • getIssue200

      public Boolean getIssue200()
    • setIssue82Float

      public void setIssue82Float(Double issue82Float)
      #issue82 is about hard coded values as parameters. Other types are tests with other queries, but there was no method with a simple float parameter
    • getIssue82Float

      public Double getIssue82Float()
      #issue82 is about hard coded values as parameters. Other types are tests with other queries, but there was no method with a simple float parameter
    • setIssue82ID

      public void setIssue82ID(String issue82ID)
    • getIssue82ID

      public String getIssue82ID()
    • setIssue217

      public void setIssue217(String Issue217)
      Issue 217: issue when a field name starts with an uppercase letter
    • getIssue217

      public String getIssue217()
      Issue 217: issue when a field name starts with an uppercase letter
    • setIssue128

      public void setIssue128(Client issue128)
      test for issue #128 (compilation error when a Query returns a type 'Client')
    • getIssue128

      public Client getIssue128()
      test for issue #128 (compilation error when a Query returns a type 'Client')
    • setEnumWithReservedJavaKeywordAsValues

      public void setEnumWithReservedJavaKeywordAsValues(EnumWithReservedJavaKeywordAsValues enumWithReservedJavaKeywordAsValues)
      test for issue #139 (use of java reserved keyword)
    • getEnumWithReservedJavaKeywordAsValues

      public EnumWithReservedJavaKeywordAsValues getEnumWithReservedJavaKeywordAsValues()
      test for issue #139 (use of java reserved keyword)
    • setListOfEnumWithReservedJavaKeywordAsValues

      public void setListOfEnumWithReservedJavaKeywordAsValues(List<EnumWithReservedJavaKeywordAsValues> listOfEnumWithReservedJavaKeywordAsValues)
    • getListOfEnumWithReservedJavaKeywordAsValues

      public List<EnumWithReservedJavaKeywordAsValues> getListOfEnumWithReservedJavaKeywordAsValues()
    • setReservedJavaKeywordAllFieldCases

      public void setReservedJavaKeywordAllFieldCases(ReservedJavaKeywordAllFieldCases reservedJavaKeywordAllFieldCases)
    • getReservedJavaKeywordAllFieldCases

      public ReservedJavaKeywordAllFieldCases getReservedJavaKeywordAllFieldCases()
    • setIf

      public void setIf(String _if)
    • getIf

      public String getIf()
    • setImplements

      public void setImplements(String _implements)
      Test for PR 177 (on server side, the returned value is the content of the if input parameter)
    • getImplements

      public String getImplements()
      Test for PR 177 (on server side, the returned value is the content of the if input parameter)
    • setImport

      public void setImport(String _import)
    • getImport

      public String getImport()
    • setInstanceof

      public void setInstanceof(String _instanceof)
    • getInstanceof

      public String getInstanceof()
    • setInt

      public void setInt(String _int)
    • getInt

      public String getInt()
    • setInterface

      public void setInterface(String _interface)
    • getInterface

      public String getInterface()
    • setLong

      public void setLong(String _long)
    • getLong

      public String getLong()
    • setNative

      public void setNative(String _native)
    • getNative

      public String getNative()
    • setNew

      public void setNew(String _new)
    • getNew

      public String getNew()
    • setNull

      public void setNull(String _null)
      Issue #188: null is not identified as a java keyword
    • getNull

      public String getNull()
      Issue #188: null is not identified as a java keyword
    • setPackage

      public void setPackage(String _package)
    • getPackage

      public String getPackage()
    • setPrivate

      public void setPrivate(String _private)
    • getPrivate

      public String getPrivate()
    • setProtected

      public void setProtected(String _protected)
    • getProtected

      public String getProtected()
    • setPublic

      public void setPublic(String _public)
    • getPublic

      public String getPublic()
    • setReturn

      public void setReturn(String _return)
    • getReturn

      public String getReturn()
    • setShort

      public void setShort(String _short)
    • getShort

      public String getShort()
    • setStatic

      public void setStatic(String _static)
    • getStatic

      public String getStatic()
    • setStrictfp

      public void setStrictfp(String _strictfp)
    • getStrictfp

      public String getStrictfp()
    • setSuper

      public void setSuper(String _super)
    • getSuper

      public String getSuper()
    • setSwitch

      public void setSwitch(String _switch)
    • getSwitch

      public String getSwitch()
    • setSynchronized

      public void setSynchronized(String _synchronized)
    • getSynchronized

      public String getSynchronized()
    • setThis

      public void setThis(String _this)
    • getThis

      public String getThis()
    • setThrow

      public void setThrow(String _throw)
    • getThrow

      public String getThrow()
    • setThrows

      public void setThrows(String _throws)
    • getThrows

      public String getThrows()
    • setTransient

      public void setTransient(String _transient)
    • getTransient

      public String getTransient()
    • setTry

      public void setTry(String _try)
    • getTry

      public String getTry()
    • setVoid

      public void setVoid(String _void)
    • getVoid

      public String getVoid()
    • setVolatile

      public void setVolatile(String _volatile)
    • getVolatile

      public String getVolatile()
    • setWhile

      public void setWhile(String _while)
    • getWhile

      public String getWhile()
    • setFoo140

      public void setFoo140(Foo140 foo140)
      test for issue #140 (error for type that implements multiple interfaces)
    • getFoo140

      public Foo140 getFoo140()
      test for issue #140 (error for type that implements multiple interfaces)
    • setTestBase64String

      public void setTestBase64String(byte[] testBase64String)
      Test for issue #174: a custom scalar which Java type is an array
    • getTestBase64String

      public byte[] getTestBase64String()
      Test for issue #174: a custom scalar which Java type is an array
    • setJson

      public void setJson(com.fasterxml.jackson.databind.node.ObjectNode json)
      Test of JSON scalar, for issue #205
    • getJson

      public com.fasterxml.jackson.databind.node.ObjectNode getJson()
      Test of JSON scalar, for issue #205
    • setJsons

      public void setJsons(List<com.fasterxml.jackson.databind.node.ObjectNode> jsons)
    • getJsons

      public List<com.fasterxml.jackson.databind.node.ObjectNode> getJsons()
    • setJsonWithInput

      public void setJsonWithInput(TypeWithJson jsonWithInput)
    • getJsonWithInput

      public TypeWithJson getJsonWithInput()
    • setJsonsWithInput

      public void setJsonsWithInput(List<TypeWithJson> jsonsWithInput)
    • getJsonsWithInput

      public List<TypeWithJson> getJsonsWithInput()
    • setObject

      public void setObject(Object object)
    • getObject

      public Object getObject()
    • setObjects

      public void setObjects(List<Object> objects)
    • getObjects

      public List<Object> getObjects()
    • setObjectWithInput

      public void setObjectWithInput(TypeWithObject objectWithInput)
    • getObjectWithInput

      public TypeWithObject getObjectWithInput()
    • setObjectsWithInput

      public void setObjectsWithInput(List<TypeWithObject> objectsWithInput)
    • getObjectsWithInput

      public List<TypeWithObject> getObjectsWithInput()
    • setRelay

      public void setRelay(MyQueryType relay)
    • getRelay

      public MyQueryType getRelay()
    • set__schema

      public void set__schema(__Schema __schema)
    • get__schema

      public __Schema get__schema()
    • set__type

      public void set__type(__Type __type)
    • get__type

      public __Type get__type()
    • 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 MyQueryType.Builder builder()
    • getExtensions

      public com.fasterxml.jackson.databind.JsonNode getExtensions()
    • setExtensions

      public void setExtensions(com.fasterxml.jackson.databind.JsonNode extensionsParam)
      Specified by:
      setExtensions in interface GraphQLRequestObject
    • getExtensionsAsMap

      public Map<String,com.fasterxml.jackson.databind.JsonNode> getExtensionsAsMap()
      Returns the extensions as a map. The values can't be deserialized, as their type is unknown.
      Returns:
    • getExtensionsField

      public <T> T getExtensionsField(String key, Class<T> t) throws com.fasterxml.jackson.core.JsonProcessingException
      Parse the value for the given _key_, as found in the extensions field of the GraphQL server's response, into the given _t_ class.
      Type Parameters:
      T -
      Parameters:
      key -
      t -
      Returns:
      null if the key is not in the extensions map. Otherwise: the value for this _key_, as a _t_ instance
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException - When there is an error when converting the key's value into the _t_ class