java.lang.Object
org.junittest.allgraphqlcases_server_springconfiguration_util_batchmapping_collection.TFoo12
All Implemented Interfaces:
AllInterfaces1, AllInterfaces2, AllTypes1, AllTypes2, IFoo1, IFoo2

@Entity public class TFoo12 extends Object implements IFoo1, IFoo2, AllTypes2, AllTypes1
TFoo12 is a more complex one, with more than one interface implemented
Author:
generated by graphql-java-generator
See Also:
  • Constructor Details

    • TFoo12

      public TFoo12()
      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
      Specified by:
      setId in interface IFoo2
    • getId

      public UUID getId()
      Specified by:
      getId in interface IFoo1
      Specified by:
      getId in interface IFoo2
    • 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(IBar2 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 IFoo2
    • setBar

      public void setBar(TBar12 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 TBar12 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
      Specified by:
      getBar in interface IFoo2
    • toString

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

      public static TFoo12.Builder builder()