@PublicApi public class InputObjectTypeExtensionDefinition extends InputObjectTypeDefinition implements SDLExtensionDefinition
Modifier and Type | Class and Description |
---|---|
static class |
InputObjectTypeExtensionDefinition.Builder |
CHILD_DIRECTIVES, CHILD_INPUT_VALUES_DEFINITIONS
description
Modifier | Constructor and 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) |
Modifier and Type | Method and 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.
|
accept, getChildren, getDirectives, getInputValueDefinitions, getName, getNamedChildren, isEqualTo, newInputObjectDefinition, transform
getDescription
deepCopy, deepCopy, getAdditionalData, getComments, getIgnoredChars, getSourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAdditionalData, getComments, getIgnoredChars, getSourceLocation
getDirectives, getDirectivesByName, hasDirective
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)
public InputObjectTypeExtensionDefinition deepCopy()
deepCopy
in interface Node<InputObjectTypeDefinition>
deepCopy
in class InputObjectTypeDefinition
public java.lang.String toString()
toString
in class InputObjectTypeDefinition
public static InputObjectTypeExtensionDefinition.Builder newInputObjectTypeExtensionDefinition()
public InputObjectTypeExtensionDefinition withNewChildren(NodeChildrenContainer newChildren)
Node
withNewChildren
in interface Node<InputObjectTypeDefinition>
withNewChildren
in class InputObjectTypeDefinition
newChildren
- must be empty for Nodes without childrenpublic InputObjectTypeExtensionDefinition transformExtension(java.util.function.Consumer<InputObjectTypeExtensionDefinition.Builder> builderConsumer)