Package graphql.language
Class InterfaceTypeExtensionDefinition
- java.lang.Object
-
- graphql.language.AbstractNode<T>
-
- 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>
,java.io.Serializable
@PublicApi public class InterfaceTypeExtensionDefinition extends InterfaceTypeDefinition
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InterfaceTypeExtensionDefinition.Builder
-
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
Constructors Modifier Constructor Description protected
InterfaceTypeExtensionDefinition(java.lang.String name, java.util.List<Type> implementz, java.util.List<FieldDefinition> definitions, java.util.List<Directive> directives, 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 InterfaceTypeExtensionDefinition
deepCopy()
static InterfaceTypeExtensionDefinition.Builder
newInterfaceTypeExtensionDefinition()
java.lang.String
toString()
InterfaceTypeExtensionDefinition
transformExtension(java.util.function.Consumer<InterfaceTypeExtensionDefinition.Builder> builderConsumer)
InterfaceTypeExtensionDefinition
withNewChildren(NodeChildrenContainer newChildren)
Replaces the specified children and returns a new Node.-
Methods inherited from class graphql.language.InterfaceTypeDefinition
accept, getChildren, getDirectives, getFieldDefinitions, getImplements, getName, getNamedChildren, 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.DirectivesContainer
getDirectives, getDirectivesByName, hasDirective
-
Methods inherited from interface graphql.language.Node
getAdditionalData, getComments, getIgnoredChars, getSourceLocation
-
-
-
-
Constructor Detail
-
InterfaceTypeExtensionDefinition
protected InterfaceTypeExtensionDefinition(java.lang.String name, java.util.List<Type> implementz, java.util.List<FieldDefinition> definitions, java.util.List<Directive> directives, 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 InterfaceTypeExtensionDefinition deepCopy()
- Specified by:
deepCopy
in interfaceNode<InterfaceTypeDefinition>
- Overrides:
deepCopy
in classInterfaceTypeDefinition
- Returns:
- a deep copy of this node
-
toString
public java.lang.String toString()
- Overrides:
toString
in classInterfaceTypeDefinition
-
newInterfaceTypeExtensionDefinition
public static InterfaceTypeExtensionDefinition.Builder newInterfaceTypeExtensionDefinition()
-
withNewChildren
public InterfaceTypeExtensionDefinition withNewChildren(NodeChildrenContainer newChildren)
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(java.util.function.Consumer<InterfaceTypeExtensionDefinition.Builder> builderConsumer)
-
-