@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(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) |
accept, getChildren, getDescription, getDirectives, getFieldDefinitions, getImplements, getName, getNamedChildren, isEqualTo, newObjectTypeDefinition, transform, withNewChildren
deepCopy, deepCopy, getAdditionalData, getComments, getIgnoredChars, getSourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAdditionalData, getComments, getIgnoredChars, getSourceLocation
getDirective, getDirectivesByName
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)
public ObjectTypeExtensionDefinition(java.lang.String name)
name
- of the object type extensionpublic ObjectTypeExtensionDefinition deepCopy()
deepCopy
in interface Node<ObjectTypeDefinition>
deepCopy
in class ObjectTypeDefinition
public java.lang.String toString()
toString
in class ObjectTypeDefinition
public static ObjectTypeExtensionDefinition.Builder newObjectTypeExtensionDefinition()
public ObjectTypeExtensionDefinition transformExtension(java.util.function.Consumer<ObjectTypeExtensionDefinition.Builder> builderConsumer)