Class CustomScalar
java.lang.Object
com.graphql_java_generator.customscalars.CustomScalar
public class CustomScalar
extends java.lang.Object
This 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
Modifier and Type Method Description graphql.schema.GraphQLScalarType
getGraphQLScalarType()
java.lang.String
getGraphQLTypeName()
java.lang.Class<?>
getValueClazz()
void
setGraphQLScalarType(graphql.schema.GraphQLScalarType graphQLScalarType)
void
setValueClazz(java.lang.Class<?> valueClazz)
-
Constructor Details
-
CustomScalar
public CustomScalar(graphql.schema.GraphQLScalarType graphQLScalarType, java.lang.Class<?> valueClazz)
-
-
Method Details
-
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)
-