Package org.allGraphQLCases.server
Class STP_TFoo1_STS
java.lang.Object
org.allGraphQLCases.server.STP_TFoo1_STS
- All Implemented Interfaces:
AllInterfaces1
,AllInterfaces2
,AllTypes1
,AllTypes2
,SIP_IFoo1_SIS
TFoo1 is the basic test case, for issue #114
- 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_TFoo1_STS.Builder
builder()
getBar()
The 'bar' field is a valid GraphQL field.getId()
void
setBar
(SIP_IBar1_SIS bar) The 'bar' field is a valid GraphQL field.void
setBar
(STP_TBar1_STS bar) The 'bar' field is a valid GraphQL field.void
toString()
-
Constructor Details
-
STP_TFoo1_STS
public STP_TFoo1_STS()
-
-
Method Details
-
setId
- Specified by:
setId
in interfaceSIP_IFoo1_SIS
-
getId
- Specified by:
getId
in interfaceSIP_IFoo1_SIS
-
setBar
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 interfaceSIP_IFoo1_SIS
-
setBar
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
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 interfaceSIP_IFoo1_SIS
-
toString
-
builder
-