Class CTP_MyQueryType_CTS

java.lang.Object
org.allGraphQLCases.client.CTP_MyQueryType_CTS
All Implemented Interfaces:
GraphQLRequestObject, AllTypes1, AllTypes2
Direct Known Subclasses:
MyQueryTypeResponse

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

    • CTP_MyQueryType_CTS

      public CTP_MyQueryType_CTS()
  • Method Details

    • setWithoutParameters

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

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

      public void setWithOneOptionalParam(CIP_Character_CIS withOneOptionalParam)
    • getWithOneOptionalParam

      public CIP_Character_CIS getWithOneOptionalParam()
    • setWithOneMandatoryParam

      public void setWithOneMandatoryParam(CIP_Character_CIS withOneMandatoryParam)
    • getWithOneMandatoryParam

      public CIP_Character_CIS getWithOneMandatoryParam()
    • setWithOneMandatoryParamDefaultValue

      public void setWithOneMandatoryParamDefaultValue(Integer withOneMandatoryParamDefaultValue)
    • getWithOneMandatoryParamDefaultValue

      public Integer getWithOneMandatoryParamDefaultValue()
    • setWithTwoMandatoryParamDefaultVal

      public void setWithTwoMandatoryParamDefaultVal(CTP_Droid_CTS withTwoMandatoryParamDefaultVal)
    • getWithTwoMandatoryParamDefaultVal

      public CTP_Droid_CTS getWithTwoMandatoryParamDefaultVal()
    • setWithEnum

      public void setWithEnum(CIP_Character_CIS withEnum)
    • getWithEnum

      public CIP_Character_CIS getWithEnum()
    • setWithListOfList

      public void setWithListOfList(CTP_AllFieldCases_CTS withListOfList)
    • getWithListOfList

      public CTP_AllFieldCases_CTS getWithListOfList()
    • setWithList

      public void setWithList(List<CIP_Character_CIS> 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<CIP_Character_CIS> 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(CTP_AllFieldCases_CTS allFieldCases)
      ################################################################################ # Complementary tests with the AllFieldCases Object
    • getAllFieldCases

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

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

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

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

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

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

      public CTP_break_CTS 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(CIP_Character_CIS 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 CIP_Character_CIS 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(CEP_EnumWithReservedJavaKeywordAsValues_CES returnEnum)
    • getReturnEnum

    • setReturnMandatoryEnum

      public void setReturnMandatoryEnum(CEP_EnumWithReservedJavaKeywordAsValues_CES returnMandatoryEnum)
    • getReturnMandatoryEnum

      public CEP_EnumWithReservedJavaKeywordAsValues_CES getReturnMandatoryEnum()
    • setReturnListOfEnums

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

      public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> getReturnListOfEnums()
    • setReturnListOfListOfEnums

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

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

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

      public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> getReturnListOfMandatoryEnums()
    • setReturnMandatoryListOfEnums

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

      public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> getReturnMandatoryListOfEnums()
    • setReturnMandatoryListOfMandatoryEnums

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

      public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> getReturnMandatoryListOfMandatoryEnums()
    • setConnectionWithoutParameters

      public void setConnectionWithoutParameters(CIP_CharacterConnection_CIS connectionWithoutParameters)
    • getConnectionWithoutParameters

      public CIP_CharacterConnection_CIS getConnectionWithoutParameters()
    • setConnectionOnHuman

      public void setConnectionOnHuman(CTP_HumanConnection_CTS connectionOnHuman)
    • getConnectionOnHuman

      public CTP_HumanConnection_CTS 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()
    • setIssue128

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

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

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

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

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

      public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> getListOfEnumWithReservedJavaKeywordAsValues()
    • setReservedJavaKeywordAllFieldCases

      public void setReservedJavaKeywordAllFieldCases(CTP_ReservedJavaKeywordAllFieldCases_CTS reservedJavaKeywordAllFieldCases)
    • getReservedJavaKeywordAllFieldCases

      public CTP_ReservedJavaKeywordAllFieldCases_CTS 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(CTP_Foo140_CTS foo140)
      test for issue #140 (error for type that implements multiple interfaces)
    • getFoo140

      public CTP_Foo140_CTS 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(CTP_TypeWithJson_CTS jsonWithInput)
    • getJsonWithInput

      public CTP_TypeWithJson_CTS getJsonWithInput()
    • setJsonsWithInput

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

      public List<CTP_TypeWithJson_CTS> 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(CTP_TypeWithObject_CTS objectWithInput)
    • getObjectWithInput

      public CTP_TypeWithObject_CTS getObjectWithInput()
    • setObjectsWithInput

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

      public List<CTP_TypeWithObject_CTS> getObjectsWithInput()
    • setRelay

      public void setRelay(CTP_MyQueryType_CTS relay)
    • getRelay

      public CTP_MyQueryType_CTS getRelay()
    • set__schema

      public void set__schema(CTP___Schema_CTS __schema)
    • get__schema

      public CTP___Schema_CTS get__schema()
    • set__type

      public void set__type(CTP___Type_CTS __type)
    • get__type

      public CTP___Type_CTS 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 CTP_MyQueryType_CTS.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