Class CustomScalar
- java.lang.Object
-
- com.graphql_java_generator.customscalars.CustomScalar
-
public class CustomScalar extends java.lang.ObjectThis class represents a custom scalar, with all the information to allow proper execution of the generated code- Author:
- etienne-sf
-
-
Constructor Summary
Constructors Constructor Description CustomScalar(graphql.schema.GraphQLScalarType graphQLScalarType, java.lang.Class<?> valueClazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description graphql.schema.GraphQLScalarTypegetGraphQLScalarType()java.lang.StringgetGraphQLTypeName()java.lang.Class<?>getValueClazz()voidsetGraphQLScalarType(graphql.schema.GraphQLScalarType graphQLScalarType)voidsetValueClazz(java.lang.Class<?> valueClazz)
-
-
-
Method Detail
-
getGraphQLTypeName
public java.lang.String getGraphQLTypeName()
-
getValueClazz
public java.lang.Class<?> getValueClazz()
-
setValueClazz
public void setValueClazz(java.lang.Class<?> valueClazz)
-
getGraphQLScalarType
public graphql.schema.GraphQLScalarType getGraphQLScalarType()
-
setGraphQLScalarType
public void setGraphQLScalarType(graphql.schema.GraphQLScalarType graphQLScalarType)
-
-