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_IMPLEMENTZFields inherited from class graphql.language.AbstractDescribedNode
description -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInterfaceTypeExtensionDefinition(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, 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
-
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:
deepCopyin interfaceNode<InterfaceTypeDefinition>- Overrides:
deepCopyin classInterfaceTypeDefinition- Returns:
- a deep copy of this node
-
toString
- Overrides:
toStringin classInterfaceTypeDefinition
-
newInterfaceTypeExtensionDefinition
-
withNewChildren
Description copied from interface:NodeReplaces the specified children and returns a new Node.- Specified by:
withNewChildrenin interfaceNode<InterfaceTypeDefinition>- Overrides:
withNewChildrenin classInterfaceTypeDefinition- Parameters:
newChildren- must be empty for Nodes without children- Returns:
- a new node
-
transformExtension
public InterfaceTypeExtensionDefinition transformExtension(Consumer<InterfaceTypeExtensionDefinition.Builder> builderConsumer)
-