Package graphql.language
Class InputObjectTypeExtensionDefinition
- java.lang.Object
-
- graphql.language.AbstractNode<T>
-
- 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>
,java.io.Serializable
@PublicApi public class InputObjectTypeExtensionDefinition extends InputObjectTypeDefinition implements SDLExtensionDefinition
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InputObjectTypeExtensionDefinition.Builder
-
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
Constructors Modifier Constructor Description protected
InputObjectTypeExtensionDefinition(java.lang.String name, java.util.List<Directive> directives, java.util.List<InputValueDefinition> inputValueDefinitions, Description description, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InputObjectTypeExtensionDefinition
deepCopy()
static InputObjectTypeExtensionDefinition.Builder
newInputObjectTypeExtensionDefinition()
java.lang.String
toString()
InputObjectTypeExtensionDefinition
transformExtension(java.util.function.Consumer<InputObjectTypeExtensionDefinition.Builder> builderConsumer)
InputObjectTypeExtensionDefinition
withNewChildren(NodeChildrenContainer newChildren)
Replaces the specified children and returns a new Node.-
Methods inherited from class graphql.language.InputObjectTypeDefinition
accept, getChildren, getDirectives, getInputValueDefinitions, getName, getNamedChildren, 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.DirectivesContainer
getDirectives, getDirectivesByName, hasDirective
-
Methods inherited from interface graphql.language.Node
getAdditionalData, getComments, getIgnoredChars, getSourceLocation
-
-
-
-
Constructor Detail
-
InputObjectTypeExtensionDefinition
protected InputObjectTypeExtensionDefinition(java.lang.String name, java.util.List<Directive> directives, java.util.List<InputValueDefinition> inputValueDefinitions, Description description, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
-
-
Method Detail
-
deepCopy
public InputObjectTypeExtensionDefinition deepCopy()
- Specified by:
deepCopy
in interfaceNode<InputObjectTypeDefinition>
- Overrides:
deepCopy
in classInputObjectTypeDefinition
- Returns:
- a deep copy of this node
-
toString
public java.lang.String toString()
- Overrides:
toString
in classInputObjectTypeDefinition
-
newInputObjectTypeExtensionDefinition
public static InputObjectTypeExtensionDefinition.Builder newInputObjectTypeExtensionDefinition()
-
withNewChildren
public InputObjectTypeExtensionDefinition withNewChildren(NodeChildrenContainer newChildren)
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(java.util.function.Consumer<InputObjectTypeExtensionDefinition.Builder> builderConsumer)
-
-