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 implements SDLExtensionDefinition
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInterfaceTypeExtensionDefinition.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 protectedInterfaceTypeExtensionDefinition(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 InterfaceTypeExtensionDefinitiondeepCopy()static InterfaceTypeExtensionDefinition.BuildernewInterfaceTypeExtensionDefinition()java.lang.StringtoString()InterfaceTypeExtensionDefinitiontransformExtension(java.util.function.Consumer<InterfaceTypeExtensionDefinition.Builder> builderConsumer)InterfaceTypeExtensionDefinitionwithNewChildren(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:
deepCopyin interfaceNode<InterfaceTypeDefinition>- Overrides:
deepCopyin classInterfaceTypeDefinition- Returns:
- a deep copy of this node
-
toString
public java.lang.String toString()
- Overrides:
toStringin classInterfaceTypeDefinition
-
newInterfaceTypeExtensionDefinition
public static InterfaceTypeExtensionDefinition.Builder newInterfaceTypeExtensionDefinition()
-
withNewChildren
public InterfaceTypeExtensionDefinition withNewChildren(NodeChildrenContainer newChildren)
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(java.util.function.Consumer<InterfaceTypeExtensionDefinition.Builder> builderConsumer)
-
-