Class CTP_MyQueryType_CTS.Builder
java.lang.Object
org.junittest.allgraphqlcases_client_springconfiguration.CTP_MyQueryType_CTS.Builder
- Enclosing class:
- CTP_MyQueryType_CTS
The Builder that helps building instance of this POJO. You can get an instance of this class, by calling the
CTP_MyQueryType_CTS.builder()-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()with__schema(CTP___Schema_CTS __schemaParam) with__type(CTP___Type_CTS __typeParam) withABreak(CTP_break_CTS aBreakParam) Check for GraphQL identifier that are java keywordswithAllFieldCases(CTP_AllFieldCases_CTS allFieldCasesParam) ################################################################################ # Complementary tests with the AllFieldCases ObjectwithCheckOverriddenController(String checkOverriddenControllerParam) withConnectionOnHuman(List<CTP_Human_CTS> connectionOnHumanParam) withConnectionWithoutParameters(List<CIP_Character_CIS> connectionWithoutParametersParam) withDirectiveOnField(CIP_Character_CIS directiveOnFieldParam) # Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuerywithDirectiveOnQuery(List<String> directiveOnQueryParam) # Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery querywithEnumWithReservedJavaKeywordAsValues(CEP_EnumWithReservedJavaKeywordAsValues_CES enumWithReservedJavaKeywordAsValuesParam) test for issue #139 (use of java reserved keyword)withError(CIP_Character_CIS errorParam) ################################################################################ # error always returns an error!withFoo140(CTP_Foo140_CTS foo140Param) test for issue #140 (error for type that implements multiple interfaces)withImplements(String _implementsParam) Test for PR 177 (on server side, the returned value is the content of the if input parameter)withImport(String _importParam) withInstanceof(String _instanceofParam) withInterface(String _interfaceParam) withIssue128(CIP_Client_CIS issue128Param) test for issue #128 (compilation error when a Query returns a type 'Client')withIssue200(Boolean issue200Param) withIssue217(String Issue217Param) Issue 217: issue when a field name starts with an uppercase letterwithIssue53(Date issue53Param) #issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserializedwithIssue82Float(Double issue82FloatParam) #issue82 is about hard coded values as parameters.withIssue82ID(String issue82IDParam) withJson(com.fasterxml.jackson.databind.node.ObjectNode jsonParam) Test of JSON scalar, for issue #205withJsonsWithInput(List<CTP_TypeWithJson_CTS> jsonsWithInputParam) withJsonWithInput(CTP_TypeWithJson_CTS jsonWithInputParam) withListOfEnumWithReservedJavaKeywordAsValues(List<CEP_EnumWithReservedJavaKeywordAsValues_CES> listOfEnumWithReservedJavaKeywordAsValuesParam) withNative(String _nativeParam) Issue #188: null is not identified as a java keywordwithObject(Object objectParam) withObjects(List<Object> objectsParam) withObjectsWithInput(List<CTP_TypeWithObject_CTS> objectsWithInputParam) withObjectWithInput(CTP_TypeWithObject_CTS objectWithInputParam) withPackage(String _packageParam) withPrivate(String _privateParam) withProtected(String _protectedParam) withPublic(String _publicParam) withRelay(CTP_MyQueryType_CTS relayParam) withReservedJavaKeywordAllFieldCases(CTP_ReservedJavaKeywordAllFieldCases_CTS reservedJavaKeywordAllFieldCasesParam) withReturn(String _returnParam) withReturnEnum(CEP_EnumWithReservedJavaKeywordAsValues_CES returnEnumParam) withReturnListOfEnums(List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnListOfEnumsParam) withReturnListOfListOfEnums(List<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> returnListOfListOfEnumsParam) withReturnListOfMandatoryEnums(List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnListOfMandatoryEnumsParam) withReturnMandatoryEnum(CEP_EnumWithReservedJavaKeywordAsValues_CES returnMandatoryEnumParam) withReturnMandatoryListOfEnums(List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnMandatoryListOfEnumsParam) withReturnMandatoryListOfMandatoryEnums(List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnMandatoryListOfMandatoryEnumsParam) withStatic(String _staticParam) withStrictfp(String _strictfpParam) withSwitch(String _switchParam) withSynchronized(String _synchronizedParam) withTestBase64String(byte[] testBase64StringParam) Test for issue #174: a custom scalar which Java type is an arraywithThrows(String _throwsParam) withTransient(String _transientParam) withUnionTest(List<CUP_AnyCharacter_CUS> unionTestParam) ################################################################################ # Test for unionswithVolatile(String _volatileParam) withWithEnum(CIP_Character_CIS withEnumParam) withWithList(List<CIP_Character_CIS> withListParam) ################################################################################ # withList return a list of Characters, matching the given list of CharacterInputwithWithListOfList(CTP_AllFieldCases_CTS withListOfListParam) withWithOneMandatoryParam(CIP_Character_CIS withOneMandatoryParamParam) withWithOneMandatoryParamDefaultValue(Integer withOneMandatoryParamDefaultValueParam) withWithOneOptionalParam(CIP_Character_CIS withOneOptionalParamParam) withWithoutParameters(List<CIP_Character_CIS> withoutParametersParam) This is a description to describe the field withoutParameters on two lineswithWithTwoMandatoryParamDefaultVal(CTP_Droid_CTS withTwoMandatoryParamDefaultValParam)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withWithoutParameters
public CTP_MyQueryType_CTS.Builder withWithoutParameters(List<CIP_Character_CIS> withoutParametersParam) This is a description to describe the field withoutParameters on two lines -
withWithOneOptionalParam
public CTP_MyQueryType_CTS.Builder withWithOneOptionalParam(CIP_Character_CIS withOneOptionalParamParam) -
withWithOneMandatoryParam
public CTP_MyQueryType_CTS.Builder withWithOneMandatoryParam(CIP_Character_CIS withOneMandatoryParamParam) -
withWithOneMandatoryParamDefaultValue
public CTP_MyQueryType_CTS.Builder withWithOneMandatoryParamDefaultValue(Integer withOneMandatoryParamDefaultValueParam) -
withWithTwoMandatoryParamDefaultVal
public CTP_MyQueryType_CTS.Builder withWithTwoMandatoryParamDefaultVal(CTP_Droid_CTS withTwoMandatoryParamDefaultValParam) -
withWithEnum
-
withWithListOfList
-
withWithList
################################################################################ # 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 -
withAllFieldCases
################################################################################ # Complementary tests with the AllFieldCases Object -
withUnionTest
################################################################################ # Test for unions -
withError
################################################################################ # error always returns an error! (used to check the error management) -
withABreak
Check for GraphQL identifier that are java keywords -
withDirectiveOnQuery
# 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. -
withDirectiveOnField
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery. # List is null if the directive is not present. -
withReturnEnum
public CTP_MyQueryType_CTS.Builder withReturnEnum(CEP_EnumWithReservedJavaKeywordAsValues_CES returnEnumParam) -
withReturnMandatoryEnum
public CTP_MyQueryType_CTS.Builder withReturnMandatoryEnum(CEP_EnumWithReservedJavaKeywordAsValues_CES returnMandatoryEnumParam) -
withReturnListOfEnums
public CTP_MyQueryType_CTS.Builder withReturnListOfEnums(List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnListOfEnumsParam) -
withReturnListOfListOfEnums
public CTP_MyQueryType_CTS.Builder withReturnListOfListOfEnums(List<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> returnListOfListOfEnumsParam) -
withReturnListOfMandatoryEnums
public CTP_MyQueryType_CTS.Builder withReturnListOfMandatoryEnums(List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnListOfMandatoryEnumsParam) -
withReturnMandatoryListOfEnums
public CTP_MyQueryType_CTS.Builder withReturnMandatoryListOfEnums(List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnMandatoryListOfEnumsParam) -
withReturnMandatoryListOfMandatoryEnums
public CTP_MyQueryType_CTS.Builder withReturnMandatoryListOfMandatoryEnums(List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnMandatoryListOfMandatoryEnumsParam) -
withConnectionWithoutParameters
public CTP_MyQueryType_CTS.Builder withConnectionWithoutParameters(List<CIP_Character_CIS> connectionWithoutParametersParam) -
withConnectionOnHuman
public CTP_MyQueryType_CTS.Builder withConnectionOnHuman(List<CTP_Human_CTS> connectionOnHumanParam) -
withCheckOverriddenController
public CTP_MyQueryType_CTS.Builder withCheckOverriddenController(String checkOverriddenControllerParam) -
withIssue53
#issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized -
withIssue200
-
withIssue82Float
#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 -
withIssue82ID
-
withIssue217
Issue 217: issue when a field name starts with an uppercase letter -
withIssue128
test for issue #128 (compilation error when a Query returns a type 'Client') -
withEnumWithReservedJavaKeywordAsValues
public CTP_MyQueryType_CTS.Builder withEnumWithReservedJavaKeywordAsValues(CEP_EnumWithReservedJavaKeywordAsValues_CES enumWithReservedJavaKeywordAsValuesParam) test for issue #139 (use of java reserved keyword) -
withListOfEnumWithReservedJavaKeywordAsValues
public CTP_MyQueryType_CTS.Builder withListOfEnumWithReservedJavaKeywordAsValues(List<CEP_EnumWithReservedJavaKeywordAsValues_CES> listOfEnumWithReservedJavaKeywordAsValuesParam) -
withReservedJavaKeywordAllFieldCases
public CTP_MyQueryType_CTS.Builder withReservedJavaKeywordAllFieldCases(CTP_ReservedJavaKeywordAllFieldCases_CTS reservedJavaKeywordAllFieldCasesParam) -
withIf
-
withImplements
Test for PR 177 (on server side, the returned value is the content of the if input parameter) -
withImport
-
withInstanceof
-
withInt
-
withInterface
-
withLong
-
withNative
-
withNew
-
withNull
Issue #188: null is not identified as a java keyword -
withPackage
-
withPrivate
-
withProtected
-
withPublic
-
withReturn
-
withShort
-
withStatic
-
withStrictfp
-
withSuper
-
withSwitch
-
withSynchronized
-
withThis
-
withThrow
-
withThrows
-
withTransient
-
withTry
-
withVoid
-
withVolatile
-
withWhile
-
withFoo140
test for issue #140 (error for type that implements multiple interfaces) -
withTestBase64String
Test for issue #174: a custom scalar which Java type is an array -
withJson
public CTP_MyQueryType_CTS.Builder withJson(com.fasterxml.jackson.databind.node.ObjectNode jsonParam) Test of JSON scalar, for issue #205 -
withJsons
public CTP_MyQueryType_CTS.Builder withJsons(List<com.fasterxml.jackson.databind.node.ObjectNode> jsonsParam) -
withJsonWithInput
-
withJsonsWithInput
public CTP_MyQueryType_CTS.Builder withJsonsWithInput(List<CTP_TypeWithJson_CTS> jsonsWithInputParam) -
withObject
-
withObjects
-
withObjectWithInput
-
withObjectsWithInput
public CTP_MyQueryType_CTS.Builder withObjectsWithInput(List<CTP_TypeWithObject_CTS> objectsWithInputParam) -
withRelay
-
with__schema
-
with__type
-
build
-