java.lang.Object
org.junittest.allgraphqlcases_server_springconfiguration_util_batchmapping_map.TFoo1
All Implemented Interfaces:
AllInterfaces1, AllInterfaces2, AllTypes1, AllTypes2, IFoo1

@Entity public class TFoo1 extends Object implements IFoo1, AllTypes2, AllTypes1
TFoo1 is the basic test case, for issue #114
Author:
generated by graphql-java-generator
See Also:
  • Constructor Details

    • TFoo1

      public TFoo1()
      Object content, generated by the 'object_content.vm.java' default template from graphql-java-generator
  • 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)
      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)
      As the type declared in the class is not inherited from one of the implemented interfaces, we need a dedicated setter.
    • 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()