Package graphql.language
Class SchemaExtensionDefinition
java.lang.Object
graphql.language.AbstractNode<SchemaDefinition>
graphql.language.AbstractDescribedNode<SchemaDefinition>
graphql.language.SchemaDefinition
graphql.language.SchemaExtensionDefinition
- All Implemented Interfaces:
- Definition<SchemaDefinition>,- DescribedNode<SchemaDefinition>,- DirectivesContainer<SchemaDefinition>,- Node<SchemaDefinition>,- SDLDefinition<SchemaDefinition>,- SDLExtensionDefinition,- Serializable
@PublicApi
public class SchemaExtensionDefinition
extends SchemaDefinition
implements SDLExtensionDefinition
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from class graphql.language.SchemaDefinitionCHILD_DIRECTIVES, CHILD_OPERATION_TYPE_DEFINITIONSFields inherited from class graphql.language.AbstractDescribedNodedescription
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedSchemaExtensionDefinition(List<Directive> directives, List<OperationTypeDefinition> operationTypeDefinitions, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) 
- 
Method SummaryModifier and TypeMethodDescriptiondeepCopy()toString()transformExtension(Consumer<SchemaExtensionDefinition.Builder> builderConsumer) withNewChildren(NodeChildrenContainer newChildren) Replaces the specified children and returns a new Node.Methods inherited from class graphql.language.SchemaDefinitionaccept, getChildren, getDescription, getDirectives, getDirectives, getDirectivesByName, getNamedChildren, getOperationTypeDefinitions, hasDirective, isEqualTo, newSchemaDefinition, transformMethods inherited from class graphql.language.AbstractNodedeepCopy, deepCopy, getAdditionalData, getComments, getIgnoredChars, getSourceLocationMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface graphql.language.NodegetAdditionalData, getComments, getIgnoredChars, getSourceLocation
- 
Constructor Details- 
SchemaExtensionDefinitionprotected SchemaExtensionDefinition(List<Directive> directives, List<OperationTypeDefinition> operationTypeDefinitions, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) 
 
- 
- 
Method Details- 
withNewChildrenDescription copied from interface:NodeReplaces the specified children and returns a new Node.- Specified by:
- withNewChildrenin interface- Node<SchemaDefinition>
- Overrides:
- withNewChildrenin class- SchemaDefinition
- Parameters:
- newChildren- must be empty for Nodes without children
- Returns:
- a new node
 
- 
deepCopy- Specified by:
- deepCopyin interface- Node<SchemaDefinition>
- Overrides:
- deepCopyin class- SchemaDefinition
- Returns:
- a deep copy of this node
 
- 
toString- Overrides:
- toStringin class- SchemaDefinition
 
- 
transformExtensionpublic SchemaExtensionDefinition transformExtension(Consumer<SchemaExtensionDefinition.Builder> builderConsumer) 
- 
newSchemaExtensionDefinition
 
-