public class GraphQLTypeReference extends java.lang.Object implements GraphQLType, GraphQLOutputType, GraphQLInputType
| Constructor and Description |
|---|
GraphQLTypeReference(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
static GraphQLTypeReference |
typeRef(java.lang.String typeName)
A factory method for creating type references so that when used with static imports allows
more readable code such as
.type(typeRef(GraphQLString)) |
public static GraphQLTypeReference typeRef(java.lang.String typeName)
.type(typeRef(GraphQLString)) typeName - the name of the type to referencepublic java.lang.String getName()
getName in interface GraphQLType[_A-Za-z][_0-9A-Za-z]*