Class TFoo3

java.lang.Object
org.allGraphQLCases.client2.TFoo3
All Implemented Interfaces:
IFoo1, IFoo2, IFoo3

public class TFoo3 extends Object implements IFoo3, IFoo1, IFoo2
Author:
generated by graphql-java-generator
See Also:
  • Constructor Details

    • TFoo3

      public TFoo3()
  • Method Details

    • setId

      public void setId(String id)
      Specified by:
      setId in interface IFoo1
      Specified by:
      setId in interface IFoo2
      Specified by:
      setId in interface IFoo3
    • getId

      public String getId()
      Specified by:
      getId in interface IFoo1
      Specified by:
      getId in interface IFoo2
      Specified by:
      getId in interface IFoo3
    • setBar

      public void setBar(IBar12 bar)
      Specified by:
      setBar in interface IFoo3
    • setBar

      public void setBar(IBar1 bar)
      Specified by:
      setBar in interface IFoo1
    • setBar

      public void setBar(IBar2 bar)
      Specified by:
      setBar in interface IFoo2
    • setBar

      public void setBar(TBar12 bar)

      As the type declared in the class is not inherited from one of the implemented interfaces, we need a dedicated setter.
    • getBar

      public TBar12 getBar()
      Specified by:
      getBar in interface IFoo1
      Specified by:
      getBar in interface IFoo2
      Specified by:
      getBar in interface IFoo3
    • set__typename

      public void set__typename(String __typename)
      Specified by:
      set__typename in interface IFoo1
      Specified by:
      set__typename in interface IFoo2
      Specified by:
      set__typename in interface IFoo3
    • get__typename

      public String get__typename()
      Specified by:
      get__typename in interface IFoo1
      Specified by:
      get__typename in interface IFoo2
      Specified by:
      get__typename in interface IFoo3
    • 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.
      Specified by:
      setAliasValue in interface IFoo1
      Specified by:
      setAliasValue in interface IFoo2
      Specified by:
      setAliasValue in interface IFoo3
      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.
      Specified by:
      getAliasValue in interface IFoo1
      Specified by:
      getAliasValue in interface IFoo2
      Specified by:
      getAliasValue in interface IFoo3
      Parameters:
      alias -
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static TFoo3.Builder builder()