Package graphql.language
Class InterfaceTypeExtensionDefinition
java.lang.Object
graphql.language.AbstractNode<InterfaceTypeDefinition>
graphql.language.AbstractDescribedNode<InterfaceTypeDefinition>
graphql.language.InterfaceTypeDefinition
graphql.language.InterfaceTypeExtensionDefinition
- All Implemented Interfaces:
Definition<InterfaceTypeDefinition>
,DescribedNode<InterfaceTypeDefinition>
,DirectivesContainer<InterfaceTypeDefinition>
,ImplementingTypeDefinition<InterfaceTypeDefinition>
,NamedNode<InterfaceTypeDefinition>
,Node<InterfaceTypeDefinition>
,SDLDefinition<InterfaceTypeDefinition>
,SDLExtensionDefinition
,SDLNamedDefinition<InterfaceTypeDefinition>
,TypeDefinition<InterfaceTypeDefinition>
,Serializable
@PublicApi
public class InterfaceTypeExtensionDefinition
extends InterfaceTypeDefinition
implements SDLExtensionDefinition
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class graphql.language.InterfaceTypeDefinition
CHILD_DEFINITIONS, CHILD_DIRECTIVES, CHILD_IMPLEMENTZ
Fields inherited from class graphql.language.AbstractDescribedNode
description
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
InterfaceTypeExtensionDefinition
(String name, List<Type> implementz, List<FieldDefinition> definitions, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) -
Method Summary
Modifier and TypeMethodDescriptiondeepCopy()
toString()
transformExtension
(Consumer<InterfaceTypeExtensionDefinition.Builder> builderConsumer) withNewChildren
(NodeChildrenContainer newChildren) Replaces the specified children and returns a new Node.Methods inherited from class graphql.language.InterfaceTypeDefinition
accept, getChildren, getDirectives, getDirectives, getDirectivesByName, getFieldDefinitions, getImplements, getName, getNamedChildren, hasDirective, isEqualTo, newInterfaceTypeDefinition, 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
-
InterfaceTypeExtensionDefinition
protected InterfaceTypeExtensionDefinition(String name, List<Type> implementz, List<FieldDefinition> definitions, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData)
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceNode<InterfaceTypeDefinition>
- Overrides:
deepCopy
in classInterfaceTypeDefinition
- Returns:
- a deep copy of this node
-
toString
- Overrides:
toString
in classInterfaceTypeDefinition
-
newInterfaceTypeExtensionDefinition
-
withNewChildren
Description copied from interface:Node
Replaces the specified children and returns a new Node.- Specified by:
withNewChildren
in interfaceNode<InterfaceTypeDefinition>
- Overrides:
withNewChildren
in classInterfaceTypeDefinition
- Parameters:
newChildren
- must be empty for Nodes without children- Returns:
- a new node
-
transformExtension
public InterfaceTypeExtensionDefinition transformExtension(Consumer<InterfaceTypeExtensionDefinition.Builder> builderConsumer)
-