Class TFoo1

java.lang.Object
org.allGraphQLCases.server.TFoo1
All Implemented Interfaces:
IFoo1

public class TFoo1
extends Object
implements IFoo1
TFoo1 is the basic test case, for issue #114
Author:
generated by graphql-java-generator
See Also:
https://github.com/graphql-java-generator/graphql-java-generator
  • Constructor Details

  • Method Details

    • setId

      public void setId​(UUID id)
      Specified by:
      setId in interface IFoo1
    • getId

      public UUID getId()
      Specified by:
      getId in interface IFoo1
    • setBar

      public void setBar​(IBar1 bar)
      The 'bar' field is a valid GraphQL field. But before correction of the issue #114, the generated Java code would not compile, as the TBar is a concrete class that implements IBar (and not IBar itself as declared in IFoo)
      Specified by:
      setBar in interface IFoo1
    • setBar

      public void setBar​(TBar1 bar)
      As the type declared in the class is not inherited from one of the implemented interfaces, we need a dedicated setter.
      Parameters:
      The - 'bar' field is a valid GraphQL field. But before correction of the issue #114, the generated Java code would not compile, as the TBar is a concrete class that implements IBar (and not IBar itself as declared in IFoo)
    • getBar

      public TBar1 getBar()
      The 'bar' field is a valid GraphQL field. But before correction of the issue #114, the generated Java code would not compile, as the TBar is a concrete class that implements IBar (and not IBar itself as declared in IFoo)
      Specified by:
      getBar in interface IFoo1
    • toString

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

      public static TFoo1.Builder builder()