@PublicApi public class ObjectTypeExtensionDefinition extends ObjectTypeDefinition
Modifier and Type | Class and Description |
---|---|
static class |
ObjectTypeExtensionDefinition.Builder |
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) |
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, isEqualTo, newObjectTypeDefinition, transform
deepCopy, deepCopy, getComments, getSourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComments, 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)
public ObjectTypeExtensionDefinition(java.lang.String name)
public 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)