Package graphql.schema
Class GraphQLSchemaElementAdapter
java.lang.Object
graphql.schema.GraphQLSchemaElementAdapter
- All Implemented Interfaces:
NodeAdapter<GraphQLSchemaElement>
public class GraphQLSchemaElementAdapter
extends Object
implements NodeAdapter<GraphQLSchemaElement>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionremoveChild
(GraphQLSchemaElement node, NodeLocation location) withNewChildren
(GraphQLSchemaElement node, Map<String, List<GraphQLSchemaElement>> newChildren)
-
Field Details
-
SCHEMA_ELEMENT_ADAPTER
-
-
Method Details
-
getNamedChildren
- Specified by:
getNamedChildren
in interfaceNodeAdapter<GraphQLSchemaElement>
-
withNewChildren
public GraphQLSchemaElement withNewChildren(GraphQLSchemaElement node, Map<String, List<GraphQLSchemaElement>> newChildren) - Specified by:
withNewChildren
in interfaceNodeAdapter<GraphQLSchemaElement>
-
removeChild
- Specified by:
removeChild
in interfaceNodeAdapter<GraphQLSchemaElement>
-