Class CTP_TFoo3_CTS
java.lang.Object
org.junittest.allgraphqlcases_client_springconfiguration.CTP_TFoo3_CTS
- All Implemented Interfaces:
AllInterfaces1,AllInterfaces2,AllTypes1,AllTypes2,CIP_IFoo1_CIS,CIP_IFoo2_CIS,CIP_IFoo3_CIS
public class CTP_TFoo3_CTS
extends Object
implements CIP_IFoo3_CIS, CIP_IFoo1_CIS, CIP_IFoo2_CIS, AllTypes2, AllTypes1
- Author:
- generated by graphql-java-generator
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe Builder that helps building instance of this POJO. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CTP_TFoo3_CTS.Builderbuilder()getAliasValue(String alias) Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.getBar()getId()voidset__typename(String __typename) voidsetAliasValue(String aliasName, Object aliasDeserializedValue) This method is called during the json deserialization process, by theGraphQLObjectMapper, each time an alias value is read from the json.voidsetBar(CIP_IBar1_CIS bar) voidsetBar(CIP_IBar12_CIS bar) voidsetBar(CIP_IBar2_CIS bar) voidsetBar(CTP_TBar12_CTS bar)
As the type declared in the class is not inherited from one of the implemented interfaces, we need a dedicated setter.voidtoString()
-
Constructor Details
-
CTP_TFoo3_CTS
public CTP_TFoo3_CTS()
-
-
Method Details
-
setId
- Specified by:
setIdin interfaceCIP_IFoo1_CIS- Specified by:
setIdin interfaceCIP_IFoo2_CIS- Specified by:
setIdin interfaceCIP_IFoo3_CIS
-
getId
- Specified by:
getIdin interfaceCIP_IFoo1_CIS- Specified by:
getIdin interfaceCIP_IFoo2_CIS- Specified by:
getIdin interfaceCIP_IFoo3_CIS
-
setBar
- Specified by:
setBarin interfaceCIP_IFoo2_CIS
-
setBar
- Specified by:
setBarin interfaceCIP_IFoo1_CIS
-
setBar
- Specified by:
setBarin interfaceCIP_IFoo3_CIS
-
setBar
As the type declared in the class is not inherited from one of the implemented interfaces, we need a dedicated setter. -
getBar
- Specified by:
getBarin interfaceCIP_IFoo1_CIS- Specified by:
getBarin interfaceCIP_IFoo2_CIS- Specified by:
getBarin interfaceCIP_IFoo3_CIS
-
set__typename
- Specified by:
set__typenamein interfaceCIP_IFoo1_CIS- Specified by:
set__typenamein interfaceCIP_IFoo2_CIS- Specified by:
set__typenamein interfaceCIP_IFoo3_CIS
-
get__typename
- Specified by:
get__typenamein interfaceCIP_IFoo1_CIS- Specified by:
get__typenamein interfaceCIP_IFoo2_CIS- Specified by:
get__typenamein interfaceCIP_IFoo3_CIS
-
setAliasValue
This method is called during the json deserialization process, by theGraphQLObjectMapper, each time an alias value is read from the json.- Specified by:
setAliasValuein interfaceCIP_IFoo1_CIS- Specified by:
setAliasValuein interfaceCIP_IFoo2_CIS- Specified by:
setAliasValuein interfaceCIP_IFoo3_CIS- Parameters:
aliasName-aliasDeserializedValue-
-
getAliasValue
Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.
This method should not be used for Custom Scalars, as the parser doesn't know if this alias is a custom scalar, and which custom scalar to use at deserialization time. In most case, a value will then be provided by this method with a basis json deserialization, but this value won't be the proper custom scalar value.- Specified by:
getAliasValuein interfaceCIP_IFoo1_CIS- Specified by:
getAliasValuein interfaceCIP_IFoo2_CIS- Specified by:
getAliasValuein interfaceCIP_IFoo3_CIS- Parameters:
alias-- Returns:
-
toString
-
builder
-