Package graphql.language
Class InputObjectTypeExtensionDefinition
java.lang.Object
graphql.language.AbstractNode<InputObjectTypeDefinition>
graphql.language.AbstractDescribedNode<InputObjectTypeDefinition>
graphql.language.InputObjectTypeDefinition
graphql.language.InputObjectTypeExtensionDefinition
- All Implemented Interfaces:
Definition<InputObjectTypeDefinition>,DescribedNode<InputObjectTypeDefinition>,DirectivesContainer<InputObjectTypeDefinition>,NamedNode<InputObjectTypeDefinition>,Node<InputObjectTypeDefinition>,SDLDefinition<InputObjectTypeDefinition>,SDLExtensionDefinition,SDLNamedDefinition<InputObjectTypeDefinition>,TypeDefinition<InputObjectTypeDefinition>,Serializable
@PublicApi
public class InputObjectTypeExtensionDefinition
extends InputObjectTypeDefinition
implements SDLExtensionDefinition
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class graphql.language.InputObjectTypeDefinition
CHILD_DIRECTIVES, CHILD_INPUT_VALUES_DEFINITIONSFields inherited from class graphql.language.AbstractDescribedNode
description -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInputObjectTypeExtensionDefinition(String name, List<Directive> directives, List<InputValueDefinition> inputValueDefinitions, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) -
Method Summary
Modifier and TypeMethodDescriptiondeepCopy()toString()transformExtension(Consumer<InputObjectTypeExtensionDefinition.Builder> builderConsumer) withNewChildren(NodeChildrenContainer newChildren) Replaces the specified children and returns a new Node.Methods inherited from class graphql.language.InputObjectTypeDefinition
accept, getChildren, getDirectives, getDirectives, getDirectivesByName, getInputValueDefinitions, getName, getNamedChildren, hasDirective, isEqualTo, newInputObjectDefinition, transformMethods inherited from class graphql.language.AbstractDescribedNode
getDescriptionMethods inherited from class graphql.language.AbstractNode
deepCopy, deepCopy, getAdditionalData, getComments, getIgnoredChars, getSourceLocationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface graphql.language.Node
getAdditionalData, getComments, getIgnoredChars, getSourceLocation
-
Constructor Details
-
InputObjectTypeExtensionDefinition
protected InputObjectTypeExtensionDefinition(String name, List<Directive> directives, List<InputValueDefinition> inputValueDefinitions, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData)
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceNode<InputObjectTypeDefinition>- Overrides:
deepCopyin classInputObjectTypeDefinition- Returns:
- a deep copy of this node
-
toString
- Overrides:
toStringin classInputObjectTypeDefinition
-
newInputObjectTypeExtensionDefinition
-
withNewChildren
Description copied from interface:NodeReplaces the specified children and returns a new Node.- Specified by:
withNewChildrenin interfaceNode<InputObjectTypeDefinition>- Overrides:
withNewChildrenin classInputObjectTypeDefinition- Parameters:
newChildren- must be empty for Nodes without children- Returns:
- a new node
-
transformExtension
public InputObjectTypeExtensionDefinition transformExtension(Consumer<InputObjectTypeExtensionDefinition.Builder> builderConsumer)
-