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:
getNamedChildrenin interfaceNodeAdapter<GraphQLSchemaElement>
-
withNewChildren
public GraphQLSchemaElement withNewChildren(GraphQLSchemaElement node, Map<String, List<GraphQLSchemaElement>> newChildren) - Specified by:
withNewChildrenin interfaceNodeAdapter<GraphQLSchemaElement>
-
removeChild
- Specified by:
removeChildin interfaceNodeAdapter<GraphQLSchemaElement>
-