Package org.allGraphQLCases.server
Class STP_TList_STS
java.lang.Object
org.allGraphQLCases.server.STP_TList_STS
- All Implemented Interfaces:
AllInterfaces1
,AllInterfaces2
,AllTypes1
,AllTypes2
,SIP_IList_SIS
- Author:
- generated by graphql-java-generator
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The Builder that helps building instance of this POJO. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic STP_TList_STS.Builder
builder()
getList()
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.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
-