Package org.allGraphQLCases.server
Class STP_TFoo1_STS
java.lang.Object
org.allGraphQLCases.server.STP_TFoo1_STS
- All Implemented Interfaces:
SIP_IFoo1_SIS
public class STP_TFoo1_STS extends Object implements SIP_IFoo1_SIS
TFoo1 is the basic test case, for issue #114
- 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_TFoo1_STS.Builder
The Builder that helps building instance of this POJO. -
Constructor Summary
Constructors Constructor Description STP_TFoo1_STS()
-
Method Summary
Modifier and Type Method Description static STP_TFoo1_STS.Builder
builder()
STP_TBar1_STS
getBar()
The 'bar' field is a valid GraphQL field.UUID
getId()
void
setBar(SIP_IBar1_SIS bar)
The 'bar' field is a valid GraphQL field.void
setBar(STP_TBar1_STS bar)
As the type declared in the class is not inherited from one of the implemented interfaces, we need a dedicated setter.void
setId(UUID id)
String
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
As the type declared in the class is not inherited from one of the implemented interfaces, we need a dedicated setter.- Parameters:
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)
-
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
-