public class GQLAbstractMethodMetaData extends GQLAbstractMetaData
| Constructor and Description |
|---|
GQLAbstractMethodMetaData()
Default constructor
|
GQLAbstractMethodMetaData(GQLCustomMethod method)
Constructor passing name, whether this is a mutation or a query, and
method
|
| Modifier and Type | Method and Description |
|---|---|
void |
addArgument(GQLAbstractMethodArgumentMetaData argument)
Add argument
GQLAbstractMethodArgumentMetaData |
protected void |
appendToString(StringBuilder stringBuilder) |
List<GQLAbstractMethodArgumentMetaData> |
getArguments() |
GQLCustomMethod |
getMethod()
Get the method
GQLCustomMethod |
protected Type |
getMethodReturnType()
Utility method to retrieve embedded method return type
|
String |
getName()
Get the name for the method.
|
boolean |
isMutation()
Get whether this is a mutation (
true) or a query
(false) |
GQLAbstractMethodMetaData |
setArguments(List<GQLAbstractMethodArgumentMetaData> arguments) |
GQLAbstractMethodMetaData |
setMethod(GQLCustomMethod method) |
finalizeToString, toStringpublic GQLAbstractMethodMetaData()
public GQLAbstractMethodMetaData(GQLCustomMethod method)
method - the GQLCustomMethodprotected void appendToString(StringBuilder stringBuilder)
appendToString in class GQLAbstractMetaDatapublic String getName()
public boolean isMutation()
true) or a query
(false)protected Type getMethodReturnType()
Typepublic void addArgument(GQLAbstractMethodArgumentMetaData argument)
GQLAbstractMethodArgumentMetaDataargument - the argumentpublic GQLCustomMethod getMethod()
GQLCustomMethodpublic GQLAbstractMethodMetaData setMethod(GQLCustomMethod method)
method - the method to setpublic List<GQLAbstractMethodArgumentMetaData> getArguments()
public GQLAbstractMethodMetaData setArguments(List<GQLAbstractMethodArgumentMetaData> arguments)
arguments - the arguments to setCopyright © 2019. All rights reserved.