public class GQLMethodListEnumMetaData extends GQLAbstractMethodMetaData
List of entities meta data| Constructor and Description |
|---|
GQLMethodListEnumMetaData()
Default constructor
|
GQLMethodListEnumMetaData(GQLCustomMethod method,
Class<? extends Enum<?>> enumClass)
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) |
Class<? extends Enum<?>> |
getEnumClass()
Get the method enumeration return type
|
GQLMethodListEnumMetaData |
setEnumClass(Class<? extends Enum<?>> enumClass)
Set the method enumeration return type
|
addArgument, getArguments, getMethod, getMethodReturnType, getName, isMutation, setArguments, setMethodfinalizeToString, toStringpublic GQLMethodListEnumMetaData()
public GQLMethodListEnumMetaData(GQLCustomMethod method, Class<? extends Enum<?>> enumClass)
method - the GQLCustomMethodenumClass - the enumeration class for method return typeprotected void appendToString(StringBuilder stringBuilder)
appendToString in class GQLAbstractMethodMetaDatapublic Class<? extends Enum<?>> getEnumClass()
public GQLMethodListEnumMetaData setEnumClass(Class<? extends Enum<?>> enumClass)
enumClass - the enumClass to setCopyright © 2019. All rights reserved.