Class STP_TList_STS

java.lang.Object
org.allGraphQLCases.server.STP_TList_STS
All Implemented Interfaces:
AllInterfaces1, AllInterfaces2, AllTypes1, AllTypes2, SIP_IList_SIS

public class STP_TList_STS extends Object implements SIP_IList_SIS, AllTypes2, AllTypes1
Author:
generated by graphql-java-generator
See Also:
  • Constructor Details

    • STP_TList_STS

      public STP_TList_STS()
  • Method Details

    • setList

      public void setList(List<SIP_IFoo1_SIS> list)
      Specified by:
      setList in interface SIP_IList_SIS
    • setListTFoo1

      public void setListTFoo1(List<STP_TFoo1_STS> list)

      As the type declared in the class is not inherited from one of the implemented interfaces, we need a dedicated setter.
      As the GraphQL type of this field is a list of items that are not of the same type as the field defined in the implemented interface, we need to have a dedicated setter with a specific name. This is due to Java that does type erasure on parameterized types (for compatibility reasons with older java versions). As Java can't detect at runtime the type of the items of the list, it can't decide which setter to call. To overcome this issue, this setter has a dedicated name.
    • getList

      public List<SIP_IFoo1_SIS> getList()
      Specified by:
      getList in interface SIP_IList_SIS
    • getListTFoo1

      public List<STP_TFoo1_STS> getListTFoo1()
    • toString

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

      public static STP_TList_STS.Builder builder()