Package org.allGraphQLCases.client
Class CTP_ReservedJavaKeywordAllFieldCases_CTS
java.lang.Object
org.allGraphQLCases.client.CTP_ReservedJavaKeywordAllFieldCases_CTS
public class CTP_ReservedJavaKeywordAllFieldCases_CTS
extends Object
implements AllTypes2, AllTypes1
#############################
test for issue #166:
This class contains fields that are Java reserved words. A query allows to check that mapping properly occurs on both client and server side.
- Author:
- generated by graphql-java-generator
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The Builder that helps building instance of this POJO. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getAliasValue
(String alias) Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.getIf()
A field with a java reserved name which is an enumA field with a java reserved name which is an interfaceA field with a java reserved name which is a scalar (standard)A field with a java reserved name which is a scalar (custom)getInt()
A field with a java reserved name which is an object typeA field with a java reserved name which is a unionA field with a _non_ java reserved name which is an interface (to check standard behavior)void
set__typename
(String __typename) void
setAliasValue
(String aliasName, Object aliasDeserializedValue) This method is called during the json deserialization process, by theGraphQLObjectMapper
, each time an alias value is read from the json.void
setIf
(CEP_Unit_CES _if) A field with a java reserved name which is an enumvoid
setImplements
(CIP_WithID_CIS _implements) A field with a java reserved name which is an interfacevoid
A field with a java reserved name which is a scalar (standard)void
setInstanceof
(Date _instanceof) A field with a java reserved name which is a scalar (custom)void
setInt
(CTP_Human_CTS _int) A field with a java reserved name which is an object typevoid
setInterface
(CUP_AnyCharacter_CUS _interface) A field with a java reserved name which is a unionvoid
setNonJavaKeywordField
(CIP_WithID_CIS nonJavaKeywordField) A field with a _non_ java reserved name which is an interface (to check standard behavior)toString()
-
Constructor Details
-
CTP_ReservedJavaKeywordAllFieldCases_CTS
public CTP_ReservedJavaKeywordAllFieldCases_CTS()
-
-
Method Details
-
setIf
A field with a java reserved name which is an enum -
getIf
A field with a java reserved name which is an enum -
setNonJavaKeywordField
A field with a _non_ java reserved name which is an interface (to check standard behavior) -
getNonJavaKeywordField
A field with a _non_ java reserved name which is an interface (to check standard behavior) -
setImplements
A field with a java reserved name which is an interface -
getImplements
A field with a java reserved name which is an interface -
setImport
A field with a java reserved name which is a scalar (standard) -
getImport
A field with a java reserved name which is a scalar (standard) -
setInstanceof
A field with a java reserved name which is a scalar (custom) -
getInstanceof
A field with a java reserved name which is a scalar (custom) -
setInt
A field with a java reserved name which is an object type -
getInt
A field with a java reserved name which is an object type -
setInterface
A field with a java reserved name which is a union -
getInterface
A field with a java reserved name which is a union -
set__typename
-
get__typename
-
setAliasValue
This method is called during the json deserialization process, by theGraphQLObjectMapper
, each time an alias value is read from the json.- Parameters:
aliasName
-aliasDeserializedValue
-
-
getAliasValue
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
-
builder
-