@PublicApi public class ObjectTypeExtensionDefinition extends ObjectTypeDefinition
| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectTypeExtensionDefinition.Builder |
CHILD_DIRECTIVES, CHILD_FIELD_DEFINITIONS, CHILD_IMPLEMENTZdescription| Modifier | Constructor and Description |
|---|---|
|
ObjectTypeExtensionDefinition(java.lang.String name)
alternative to using a Builder for convenience
|
protected |
ObjectTypeExtensionDefinition(java.lang.String name,
java.util.List<Type> implementz,
java.util.List<Directive> directives,
java.util.List<FieldDefinition> fieldDefinitions,
Description description,
SourceLocation sourceLocation,
java.util.List<Comment> comments,
IgnoredChars ignoredChars,
java.util.Map<java.lang.String,java.lang.String> additionalData) |
| Modifier and Type | Method and Description |
|---|---|
ObjectTypeExtensionDefinition |
deepCopy() |
static ObjectTypeExtensionDefinition.Builder |
newObjectTypeExtensionDefinition() |
java.lang.String |
toString() |
ObjectTypeExtensionDefinition |
transformExtension(java.util.function.Consumer<ObjectTypeExtensionDefinition.Builder> builderConsumer) |
ObjectTypeExtensionDefinition |
withNewChildren(NodeChildrenContainer newChildren)
Replaces the specified children and returns a new Node.
|
accept, getChildren, getDirectives, getFieldDefinitions, getImplements, getName, getNamedChildren, isEqualTo, newObjectTypeDefinition, transformgetDescriptiondeepCopy, deepCopy, getAdditionalData, getComments, getIgnoredChars, getSourceLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAdditionalData, getComments, getIgnoredChars, getSourceLocationgetDirectives, getDirectivesByName, hasDirectiveprotected ObjectTypeExtensionDefinition(java.lang.String name,
java.util.List<Type> implementz,
java.util.List<Directive> directives,
java.util.List<FieldDefinition> fieldDefinitions,
Description description,
SourceLocation sourceLocation,
java.util.List<Comment> comments,
IgnoredChars ignoredChars,
java.util.Map<java.lang.String,java.lang.String> additionalData)
public ObjectTypeExtensionDefinition(java.lang.String name)
name - of the object type extensionpublic ObjectTypeExtensionDefinition deepCopy()
deepCopy in interface Node<ObjectTypeDefinition>deepCopy in class ObjectTypeDefinitionpublic ObjectTypeExtensionDefinition withNewChildren(NodeChildrenContainer newChildren)
NodewithNewChildren in interface Node<ObjectTypeDefinition>withNewChildren in class ObjectTypeDefinitionnewChildren - must be empty for Nodes without childrenpublic java.lang.String toString()
toString in class ObjectTypeDefinitionpublic static ObjectTypeExtensionDefinition.Builder newObjectTypeExtensionDefinition()
public ObjectTypeExtensionDefinition transformExtension(java.util.function.Consumer<ObjectTypeExtensionDefinition.Builder> builderConsumer)