Class CTP_ReservedJavaKeywordAllFieldCases_CTS

java.lang.Object
org.allGraphQLCases.client.CTP_ReservedJavaKeywordAllFieldCases_CTS
All Implemented Interfaces:
AllTypes1, AllTypes2

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:
  • Constructor Details

    • CTP_ReservedJavaKeywordAllFieldCases_CTS

      public CTP_ReservedJavaKeywordAllFieldCases_CTS()
  • Method Details

    • setIf

      public void setIf(CEP_Unit_CES _if)
      A field with a java reserved name which is an enum
    • getIf

      public CEP_Unit_CES getIf()
      A field with a java reserved name which is an enum
    • setNonJavaKeywordField

      public void setNonJavaKeywordField(CIP_WithID_CIS nonJavaKeywordField)
      A field with a _non_ java reserved name which is an interface (to check standard behavior)
    • getNonJavaKeywordField

      public CIP_WithID_CIS getNonJavaKeywordField()
      A field with a _non_ java reserved name which is an interface (to check standard behavior)
    • setImplements

      public void setImplements(CIP_WithID_CIS _implements)
      A field with a java reserved name which is an interface
    • getImplements

      public CIP_WithID_CIS getImplements()
      A field with a java reserved name which is an interface
    • setImport

      public void setImport(String _import)
      A field with a java reserved name which is a scalar (standard)
    • getImport

      public String getImport()
      A field with a java reserved name which is a scalar (standard)
    • setInstanceof

      public void setInstanceof(Date _instanceof)
      A field with a java reserved name which is a scalar (custom)
    • getInstanceof

      public Date getInstanceof()
      A field with a java reserved name which is a scalar (custom)
    • setInt

      public void setInt(CTP_Human_CTS _int)
      A field with a java reserved name which is an object type
    • getInt

      public CTP_Human_CTS getInt()
      A field with a java reserved name which is an object type
    • setInterface

      public void setInterface(CUP_AnyCharacter_CUS _interface)
      A field with a java reserved name which is a union
    • getInterface

      public CUP_AnyCharacter_CUS getInterface()
      A field with a java reserved name which is a union
    • 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