Package org.allGraphQLCases.server
Class STP_TList_STS
java.lang.Object
org.allGraphQLCases.server.STP_TList_STS
- All Implemented Interfaces:
SIP_IList_SIS
public class STP_TList_STS extends Object implements SIP_IList_SIS
- Author:
- generated by graphql-java-generator
- See Also:
- https://github.com/graphql-java-generator/graphql-java-generator
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
STP_TList_STS.Builder
The Builder that helps building instance of this POJO. -
Constructor Summary
Constructors Constructor Description STP_TList_STS()
-
Method Summary
Modifier and Type Method Description static STP_TList_STS.Builder
builder()
List<SIP_IFoo1_SIS>
getList()
List<STP_TFoo1_STS>
getListTFoo1()
void
setList(List<SIP_IFoo1_SIS> list)
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.String
toString()
-
Constructor Details
-
STP_TList_STS
public STP_TList_STS()
-
-
Method Details
-
setList
- Specified by:
setList
in interfaceSIP_IList_SIS
-
setListTFoo1
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
- Specified by:
getList
in interfaceSIP_IList_SIS
-
getListTFoo1
-
toString
-
builder
-