public class GQLMethodScalarMetaData extends GQLAbstractMethodMetaData
| Constructor and Description |
|---|
GQLMethodScalarMetaData()
Default constructor
|
GQLMethodScalarMetaData(GQLCustomMethod method,
String scalarTypeCode)
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) |
String |
getScalarType()
Get the method scalar return type
|
GQLMethodScalarMetaData |
setScalarType(String scalarTypeCode)
Set the method scalar return type
|
addArgument, getArguments, getMethod, getMethodReturnType, getName, isMutation, setArguments, setMethodfinalizeToString, toStringpublic GQLMethodScalarMetaData()
public GQLMethodScalarMetaData(GQLCustomMethod method, String scalarTypeCode)
method - the GQLCustomMethodscalarTypeCode - the scalar type code for method return typeprotected void appendToString(StringBuilder stringBuilder)
appendToString in class GQLAbstractMethodMetaDatapublic String getScalarType()
public GQLMethodScalarMetaData setScalarType(String scalarTypeCode)
scalarTypeCode - the scalarTypeCode to setCopyright © 2019. All rights reserved.