@PublicApi public class ObjectTypeExtensionDefinition extends ObjectTypeDefinition
Modifier and Type | Class and Description |
---|---|
static class |
ObjectTypeExtensionDefinition.Builder |
CHILD_DIRECTIVES, CHILD_FIELD_DEFINITIONS, CHILD_IMPLEMENTZ
Modifier | Constructor and Description |
---|---|
|
ObjectTypeExtensionDefinition(String name)
alternative to using a Builder for convenience
|
protected |
ObjectTypeExtensionDefinition(String name,
List<Type> implementz,
List<Directive> directives,
List<FieldDefinition> fieldDefinitions,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
Modifier and Type | Method and Description |
---|---|
ObjectTypeExtensionDefinition |
deepCopy() |
static ObjectTypeExtensionDefinition.Builder |
newObjectTypeExtensionDefinition() |
String |
toString() |
ObjectTypeExtensionDefinition |
transformExtension(Consumer<ObjectTypeExtensionDefinition.Builder> builderConsumer) |
accept, getChildren, getDescription, getDirectives, getFieldDefinitions, getImplements, getName, getNamedChildren, isEqualTo, newObjectTypeDefinition, transform, withNewChildren
deepCopy, deepCopy, getComments, getIgnoredChars, getSourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDirective, getDirectivesByName
getComments, getIgnoredChars, getSourceLocation
protected ObjectTypeExtensionDefinition(String name, List<Type> implementz, List<Directive> directives, List<FieldDefinition> fieldDefinitions, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars)
public ObjectTypeExtensionDefinition(String name)
name
- of the object type extensionpublic ObjectTypeExtensionDefinition deepCopy()
deepCopy
in interface Node<ObjectTypeDefinition>
deepCopy
in class ObjectTypeDefinition
public String toString()
toString
in class ObjectTypeDefinition
public static ObjectTypeExtensionDefinition.Builder newObjectTypeExtensionDefinition()
public ObjectTypeExtensionDefinition transformExtension(Consumer<ObjectTypeExtensionDefinition.Builder> builderConsumer)
Copyright © 2019. All rights reserved.