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_DEFINITIONS
Fields inherited from class graphql.language.AbstractDescribedNode
description
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
InputObjectTypeExtensionDefinition
(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, transform
Methods inherited from class graphql.language.AbstractDescribedNode
getDescription
Methods inherited from class graphql.language.AbstractNode
deepCopy, deepCopy, getAdditionalData, getComments, getIgnoredChars, getSourceLocation
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
deepCopy
in interfaceNode<InputObjectTypeDefinition>
- Overrides:
deepCopy
in classInputObjectTypeDefinition
- Returns:
- a deep copy of this node
-
toString
- Overrides:
toString
in classInputObjectTypeDefinition
-
newInputObjectTypeExtensionDefinition
-
withNewChildren
Description copied from interface:Node
Replaces the specified children and returns a new Node.- Specified by:
withNewChildren
in interfaceNode<InputObjectTypeDefinition>
- Overrides:
withNewChildren
in classInputObjectTypeDefinition
- Parameters:
newChildren
- must be empty for Nodes without children- Returns:
- a new node
-
transformExtension
public InputObjectTypeExtensionDefinition transformExtension(Consumer<InputObjectTypeExtensionDefinition.Builder> builderConsumer)
-