public class GQLMethodScalarMetaData extends GQLAbstractMethodMetaData
| Constructor and Description |
|---|
GQLMethodScalarMetaData()
Default constructor
|
GQLMethodScalarMetaData(GQLAbstractCustomMethod<?> method,
GQLScalarTypeEnum scalarType)
Constructor passing name, whether this is a mutation or a query, method
and return type
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendToString(StringBuilder stringBuilder) |
GQLScalarTypeEnum |
getScalarType()
Get the method scalar return type
GQLScalarTypeEnum |
GQLMethodScalarMetaData |
setScalarType(GQLScalarTypeEnum scalarType)
Set the method scalar return type
GQLScalarTypeEnum |
addArgument, getArguments, getMethod, getMethodReturnType, getName, isMutation, setArguments, setMethodfinalizeToString, toStringpublic GQLMethodScalarMetaData()
public GQLMethodScalarMetaData(GQLAbstractCustomMethod<?> method, GQLScalarTypeEnum scalarType)
method - the GQLAbstractCustomMethodscalarType - the scalar type for method return type
GQLScalarTypeEnumprotected void appendToString(StringBuilder stringBuilder)
appendToString in class GQLAbstractMethodMetaDatapublic GQLScalarTypeEnum getScalarType()
GQLScalarTypeEnumpublic GQLMethodScalarMetaData setScalarType(GQLScalarTypeEnum scalarType)
GQLScalarTypeEnumscalarType - the scalarType to setCopyright © 2019. All rights reserved.