Package org.allGraphQLCases.server
Class STP_MyQueryType_STS.Builder
java.lang.Object
org.allGraphQLCases.server.STP_MyQueryType_STS.Builder
- Enclosing class:
- STP_MyQueryType_STS
The Builder that helps building instance of this POJO. You can get an instance of this class, by calling the
STP_MyQueryType_STS.builder()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withABreak
(STP_break_STS aBreakParam) Check for GraphQL identifier that are java keywordswithAllFieldCases
(STP_AllFieldCases_STS allFieldCasesParam) ################################################################################ # Complementary tests with the AllFieldCases ObjectwithCheckOverriddenController
(String checkOverriddenControllerParam) withConnectionOnHuman
(STP_HumanConnection_STS connectionOnHumanParam) withConnectionWithoutParameters
(SIP_CharacterConnection_SIS connectionWithoutParametersParam) withDirectiveOnField
(SIP_Character_SIS 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
(SEP_EnumWithReservedJavaKeywordAsValues_SES enumWithReservedJavaKeywordAsValuesParam) test for issue #139 (use of java reserved keyword)withError
(SIP_Character_SIS errorParam) ################################################################################ # error always returns an error!withFoo140
(STP_Foo140_STS 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
(SIP_Client_SIS 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
(UUID issue82IDParam) withJson
(com.fasterxml.jackson.databind.node.ObjectNode jsonParam) Test of JSON scalar, for issue #205withJsonsWithInput
(List<STP_TypeWithJson_STS> jsonsWithInputParam) withJsonWithInput
(STP_TypeWithJson_STS jsonWithInputParam) withListOfEnumWithReservedJavaKeywordAsValues
(List<SEP_EnumWithReservedJavaKeywordAsValues_SES> listOfEnumWithReservedJavaKeywordAsValuesParam) withNative
(String _nativeParam) Issue #188: null is not identified as a java keywordwithObject
(Object objectParam) withObjects
(List<Object> objectsParam) withObjectsWithInput
(List<STP_TypeWithObject_STS> objectsWithInputParam) withObjectWithInput
(STP_TypeWithObject_STS objectWithInputParam) withPackage
(String _packageParam) withPrivate
(String _privateParam) withProtected
(String _protectedParam) withPublic
(String _publicParam) withRelay
(STP_MyQueryType_STS relayParam) withReservedJavaKeywordAllFieldCases
(STP_ReservedJavaKeywordAllFieldCases_STS reservedJavaKeywordAllFieldCasesParam) withReturn
(String _returnParam) withReturnEnum
(SEP_EnumWithReservedJavaKeywordAsValues_SES returnEnumParam) withReturnListOfEnums
(List<SEP_EnumWithReservedJavaKeywordAsValues_SES> returnListOfEnumsParam) withReturnListOfListOfEnums
(List<List<SEP_EnumWithReservedJavaKeywordAsValues_SES>> returnListOfListOfEnumsParam) withReturnListOfMandatoryEnums
(List<SEP_EnumWithReservedJavaKeywordAsValues_SES> returnListOfMandatoryEnumsParam) withReturnMandatoryEnum
(SEP_EnumWithReservedJavaKeywordAsValues_SES returnMandatoryEnumParam) withReturnMandatoryListOfEnums
(List<SEP_EnumWithReservedJavaKeywordAsValues_SES> returnMandatoryListOfEnumsParam) withReturnMandatoryListOfMandatoryEnums
(List<SEP_EnumWithReservedJavaKeywordAsValues_SES> 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<SUP_AnyCharacter_SUS> unionTestParam) ################################################################################ # Test for unionswithVolatile
(String _volatileParam) withWithEnum
(SIP_Character_SIS withEnumParam) withWithList
(List<SIP_Character_SIS> withListParam) ################################################################################ # withList return a list of Characters, matching the given list of CharacterInputwithWithListOfList
(STP_AllFieldCases_STS withListOfListParam) withWithOneMandatoryParam
(SIP_Character_SIS withOneMandatoryParamParam) withWithOneMandatoryParamDefaultValue
(Integer withOneMandatoryParamDefaultValueParam) withWithOneOptionalParam
(SIP_Character_SIS withOneOptionalParamParam) withWithoutParameters
(List<SIP_Character_SIS> withoutParametersParam) This is a description to describe the field withoutParameters on two lineswithWithTwoMandatoryParamDefaultVal
(STP_Droid_STS withTwoMandatoryParamDefaultValParam)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withWithoutParameters
public STP_MyQueryType_STS.Builder withWithoutParameters(List<SIP_Character_SIS> withoutParametersParam) This is a description to describe the field withoutParameters on two lines -
withWithOneOptionalParam
public STP_MyQueryType_STS.Builder withWithOneOptionalParam(SIP_Character_SIS withOneOptionalParamParam) -
withWithOneMandatoryParam
public STP_MyQueryType_STS.Builder withWithOneMandatoryParam(SIP_Character_SIS withOneMandatoryParamParam) -
withWithOneMandatoryParamDefaultValue
public STP_MyQueryType_STS.Builder withWithOneMandatoryParamDefaultValue(Integer withOneMandatoryParamDefaultValueParam) -
withWithTwoMandatoryParamDefaultVal
public STP_MyQueryType_STS.Builder withWithTwoMandatoryParamDefaultVal(STP_Droid_STS 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 STP_MyQueryType_STS.Builder withReturnEnum(SEP_EnumWithReservedJavaKeywordAsValues_SES returnEnumParam) -
withReturnMandatoryEnum
public STP_MyQueryType_STS.Builder withReturnMandatoryEnum(SEP_EnumWithReservedJavaKeywordAsValues_SES returnMandatoryEnumParam) -
withReturnListOfEnums
public STP_MyQueryType_STS.Builder withReturnListOfEnums(List<SEP_EnumWithReservedJavaKeywordAsValues_SES> returnListOfEnumsParam) -
withReturnListOfListOfEnums
public STP_MyQueryType_STS.Builder withReturnListOfListOfEnums(List<List<SEP_EnumWithReservedJavaKeywordAsValues_SES>> returnListOfListOfEnumsParam) -
withReturnListOfMandatoryEnums
public STP_MyQueryType_STS.Builder withReturnListOfMandatoryEnums(List<SEP_EnumWithReservedJavaKeywordAsValues_SES> returnListOfMandatoryEnumsParam) -
withReturnMandatoryListOfEnums
public STP_MyQueryType_STS.Builder withReturnMandatoryListOfEnums(List<SEP_EnumWithReservedJavaKeywordAsValues_SES> returnMandatoryListOfEnumsParam) -
withReturnMandatoryListOfMandatoryEnums
public STP_MyQueryType_STS.Builder withReturnMandatoryListOfMandatoryEnums(List<SEP_EnumWithReservedJavaKeywordAsValues_SES> returnMandatoryListOfMandatoryEnumsParam) -
withConnectionWithoutParameters
public STP_MyQueryType_STS.Builder withConnectionWithoutParameters(SIP_CharacterConnection_SIS connectionWithoutParametersParam) -
withConnectionOnHuman
public STP_MyQueryType_STS.Builder withConnectionOnHuman(STP_HumanConnection_STS connectionOnHumanParam) -
withCheckOverriddenController
public STP_MyQueryType_STS.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 STP_MyQueryType_STS.Builder withEnumWithReservedJavaKeywordAsValues(SEP_EnumWithReservedJavaKeywordAsValues_SES enumWithReservedJavaKeywordAsValuesParam) test for issue #139 (use of java reserved keyword) -
withListOfEnumWithReservedJavaKeywordAsValues
public STP_MyQueryType_STS.Builder withListOfEnumWithReservedJavaKeywordAsValues(List<SEP_EnumWithReservedJavaKeywordAsValues_SES> listOfEnumWithReservedJavaKeywordAsValuesParam) -
withReservedJavaKeywordAllFieldCases
public STP_MyQueryType_STS.Builder withReservedJavaKeywordAllFieldCases(STP_ReservedJavaKeywordAllFieldCases_STS 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 STP_MyQueryType_STS.Builder withJson(com.fasterxml.jackson.databind.node.ObjectNode jsonParam) Test of JSON scalar, for issue #205 -
withJsons
public STP_MyQueryType_STS.Builder withJsons(List<com.fasterxml.jackson.databind.node.ObjectNode> jsonsParam) -
withJsonWithInput
-
withJsonsWithInput
public STP_MyQueryType_STS.Builder withJsonsWithInput(List<STP_TypeWithJson_STS> jsonsWithInputParam) -
withObject
-
withObjects
-
withObjectWithInput
-
withObjectsWithInput
public STP_MyQueryType_STS.Builder withObjectsWithInput(List<STP_TypeWithObject_STS> objectsWithInputParam) -
withRelay
-
build
-